|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for a parser for content in an RSyntaxTextArea.
A Parser returns a list of issues it finds in the text area's
content, which the text area can flag (e.g. squiggle underline). It can
also return descriptions of the issues, to be used in tool tips.
AbstractParser| Method Summary | |
ExtendedHyperlinkListener |
getHyperlinkListener()
Returns the listener for hyperlink events from FocusableTips,
or null if none. |
java.net.URL |
getImageBase()
Returns the base URL for any images displayed in returned ParserNotice HTML text. |
ParseResult |
parse(RSyntaxDocument doc,
java.lang.String style)
Parses input from the specified document. |
| Method Detail |
public ExtendedHyperlinkListener getHyperlinkListener()
FocusableTips,
or null if none.
public java.net.URL getImageBase()
ParserNotice HTML text. Note that if a parser notice's text
is not HTML, this URL is not used.
null.
public ParseResult parse(RSyntaxDocument doc,
java.lang.String style)
doc - The document to parse. This document is in a read lock,
so it cannot be modified while parsing is occurring.style - The language being rendered, such as
SyntaxConstants.SYNTAX_STYLE_JAVA.
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||