org.skunk.swing.text.syntax
Interface SyntaxTokenizer

All Known Implementing Classes:
Flexicizer

public interface SyntaxTokenizer


Method Summary
 void tokenize(SyntaxDocument doc, int offset, int nInserted, int nRemoved)
          updates the document's style buffer.
 

Method Detail

tokenize

public void tokenize(SyntaxDocument doc,
                     int offset,
                     int nInserted,
                     int nRemoved)
updates the document's style buffer. The tokenizer determines the correct parse context from the int parameters.
Parameters:
doc - the SyntaxDocument upon which to operate
offset - the offset of a change to the document
nInserted - the number of inserted characters
nRemoved - the number of removed characters