| java.lang.Object org.skunk.swing.text.syntax.Flexicizer
Inner Class :public static class Test extends JPanel | |
Method Summary | |
public int | getReparseDistance() how many characters around the insertion point should be reparsed. | final protected static FlexScanner | getScanner(FileMode fileMode, Reader r) obtain a scanner from the pool which matches the given file mode, installing the given reader. | public void | tokenize(SyntaxDocument document, int offset, int nInserted, int nRemoved) callback to tokenizer, which then tokenizes the necessary area around the indicated change. |
DEFAULT_REPARSE_DISTANCE | final public static int DEFAULT_REPARSE_DISTANCE(Code) | | |
THIS_PACKAGE_PREFIX | final static String THIS_PACKAGE_PREFIX(Code) | | |
Flexicizer | public Flexicizer()(Code) | | |
getReparseDistance | public int getReparseDistance()(Code) | | how many characters around the insertion point should be reparsed.
|
getScanner | final protected static FlexScanner getScanner(FileMode fileMode, Reader r)(Code) | | obtain a scanner from the pool which matches the given file mode, installing the given reader.
Parameters: fileMode - the FileMode of the scanner Parameters: r - the Reader which gives access to the text to be lexed the scanner, or null if no scanner can be found for the file mode. |
tokenize | public void tokenize(SyntaxDocument document, int offset, int nInserted, int nRemoved)(Code) | | callback to tokenizer, which then tokenizes the necessary area around the indicated change.
Parameters: document - the document Parameters: offset - the offset of the change to the document Parameters: nInserted - the numbers of characters inserted Parameters: nRemoved - the number of characters removed |
|
|