| javax.swing.text.DefaultStyledDocument org.netbeans.modules.sql.framework.ui.output.SyntaxDocument
Constructor Summary | |
public | SyntaxDocument(String[] syntax) | public | SyntaxDocument(JEditorPane field, String[] aDictionary) | public | SyntaxDocument(SQLEditorPanel sqlPane) | public | SyntaxDocument(String[] syntax, Color normal) | public | SyntaxDocument(String[] syntax, Color normal, Color comments) | public | SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword) | public | SyntaxDocument(String[] syntax, Color normal, Color comments, Color keyword, Color quote) |
addDictionaryEntry | public void addDictionaryEntry(String item)(Code) | | |
getSingleLineDelimiter | protected String getSingleLineDelimiter()(Code) | | |
isDelimiter | protected boolean isDelimiter(String character)(Code) | | |
isQuoteDelimiter | protected boolean isQuoteDelimiter(String character)(Code) | | |
processChangedLines | public void processChangedLines(int offset, int length) throws BadLocationException(Code) | | Determine how many lines have been changed,
then apply highlighting to each line
|
remove | public void remove(int offset, int length) throws BadLocationException(Code) | | Override to apply syntax highlighting after the document has been updated
|
Fields inherited from javax.swing.text.DefaultStyledDocument | final public static int BUFFER_SIZE_DEFAULT(Code)(Java Doc) protected ElementBuffer buffer(Code)(Java Doc)
|
Methods inherited from javax.swing.text.DefaultStyledDocument | public void addDocumentListener(DocumentListener listener)(Code)(Java Doc) public Style addStyle(String nm, Style parent)(Code)(Java Doc) protected void create(ElementSpec[] data)(Code)(Java Doc) protected AbstractElement createDefaultRoot()(Code)(Java Doc) public Color getBackground(AttributeSet attr)(Code)(Java Doc) public Element getCharacterElement(int pos)(Code)(Java Doc) public Element getDefaultRootElement()(Code)(Java Doc) public Font getFont(AttributeSet attr)(Code)(Java Doc) public Color getForeground(AttributeSet attr)(Code)(Java Doc) public Style getLogicalStyle(int p)(Code)(Java Doc) public Element getParagraphElement(int pos)(Code)(Java Doc) public Style getStyle(String nm)(Code)(Java Doc) public Enumeration> getStyleNames()(Code)(Java Doc) protected void insert(int offset, ElementSpec[] data) throws BadLocationException(Code)(Java Doc) protected void insertUpdate(DefaultDocumentEvent chng, AttributeSet attr)(Code)(Java Doc) public void removeDocumentListener(DocumentListener listener)(Code)(Java Doc) public void removeElement(Element elem)(Code)(Java Doc) public void removeStyle(String nm)(Code)(Java Doc) protected void removeUpdate(DefaultDocumentEvent chng)(Code)(Java Doc) public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)(Code)(Java Doc) public void setLogicalStyle(int pos, Style s)(Code)(Java Doc) public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace)(Code)(Java Doc) protected void styleChanged(Style style)(Code)(Java Doc)
|
|
|