xml
Class JEdit5Support

java.lang.Object
  extended by xml.JEdit5Support

public class JEdit5Support
extends java.lang.Object

methods making use of the new jEdit 5 APIs


Constructor Summary
JEdit5Support()
           
 
Method Summary
static void setShortcut(java.lang.String name, java.lang.String shortcut)
          use the org.jedit.keymap API to set a shortcut programatically.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JEdit5Support

public JEdit5Support()
Method Detail

setShortcut

public static void setShortcut(java.lang.String name,
                               java.lang.String shortcut)
use the org.jedit.keymap API to set a shortcut programatically. Used to implement "Insert closing tag" when opening tag is typed.

Parameters:
name - the action name (e.g. "xml-insert-closing-tag"), or null to delete a shortcut
shortcut - shortcut to activate the action
See Also:
Keymap.setShortcut(String, String)