程序包 | 说明 |
---|---|
com.fr.design.data.datapane.sqlpane | |
com.fr.design.gui.syntax.ui.rsyntaxtextarea |
A syntax-highlighting text editor.
|
com.fr.design.gui.syntax.ui.rsyntaxtextarea.folding |
Code folding functionality.
|
com.fr.design.gui.syntax.ui.rsyntaxtextarea.parser |
Interfaces for parsing text in RSyntaxTextAreas and identifying errors,
warnings, etc.
|
com.fr.design.gui.syntax.ui.rsyntaxtextarea.templates |
Facilitates adding code templates to an
RSyntaxTextArea . |
限定符和类型 | 类和说明 |
---|---|
class |
SQLEditPane
Created by IntelliJ IDEA.
|
限定符和类型 | 类和说明 |
---|---|
class |
TextEditorPane
An extension of
RSyntaxTextArea
that adds information about the file being edited, such as:
Its name and location. |
限定符和类型 | 方法和说明 |
---|---|
java.lang.StringBuilder |
TokenImpl.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily) |
java.lang.StringBuilder |
Token.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily)
Appends HTML code for painting this token, using the given text area's
color scheme.
|
java.lang.StringBuilder |
TokenImpl.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily,
boolean tabsToSpaces) |
java.lang.StringBuilder |
Token.appendHTMLRepresentation(java.lang.StringBuilder sb,
RSyntaxTextArea textArea,
boolean fontFamily,
boolean tabsToSpaces)
Appends HTML code for painting this token, using the given text area's
color scheme.
|
void |
Theme.apply(RSyntaxTextArea textArea)
Applies this theme to a text area.
|
static java.awt.Color |
RSyntaxUtilities.getFoldedLineBottomColor(RSyntaxTextArea textArea)
Returns the color to use for the line underneath a folded region line.
|
java.lang.String |
TokenImpl.getHTMLRepresentation(RSyntaxTextArea textArea) |
java.lang.String |
Token.getHTMLRepresentation(RSyntaxTextArea textArea)
Returns a
String containing HTML code for painting this
token, using the given text area's color scheme. |
static java.awt.Rectangle |
RSyntaxUtilities.getLineWidthUpTo(RSyntaxTextArea textArea,
javax.swing.text.Segment s,
int p0,
int p1,
javax.swing.text.TabExpander e,
java.awt.Rectangle rect,
int x0)
Returns the bounding box (in the current view) of a specified position
in the model.
|
int |
TokenImpl.getListOffset(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0,
float x) |
int |
Token.getListOffset(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0,
float x)
Determines the offset into this token list (i.e., into the
document) that covers pixel location
x if the token list
starts at pixel location x0 . |
static java.awt.Point |
RSyntaxUtilities.getMatchingBracketPosition(RSyntaxTextArea textArea,
java.awt.Point input)
Returns the location of the bracket paired with the one at the current
caret position.
|
static Token |
RSyntaxUtilities.getNextImportantToken(Token t,
RSyntaxTextArea textArea,
int line)
Returns the next non-whitespace, non-comment token in a text area.
|
int |
TokenImpl.getOffsetBeforeX(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float startX,
float endBeforeX) |
int |
Token.getOffsetBeforeX(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float startX,
float endBeforeX)
Returns the position in the document that represents the last character
in the token that will fit into
endBeforeX-startX pixels. |
static int |
RSyntaxUtilities.getPositionAbove(RSyntaxTextArea c,
int offs,
float x,
javax.swing.text.TabExpander e)
Determines the position in the model that is closest to the given
view location in the row above.
|
static int |
RSyntaxUtilities.getPositionBelow(RSyntaxTextArea c,
int offs,
float x,
javax.swing.text.TabExpander e)
Determines the position in the model that is closest to the given
view location in the row below.
|
static Token |
RSyntaxUtilities.getPreviousImportantToken(RSyntaxTextArea textArea,
int line)
Returns the last non-whitespace, non-comment token, starting with the
specified line.
|
static TokenUtils.TokenSubList |
TokenUtils.getSubTokenList(Token tokenList,
int pos,
javax.swing.text.TabExpander e,
RSyntaxTextArea textArea,
float x0)
Modifies the passed-in token list to start at the specified offset.
|
static TokenUtils.TokenSubList |
TokenUtils.getSubTokenList(Token tokenList,
int pos,
javax.swing.text.TabExpander e,
RSyntaxTextArea textArea,
float x0,
TokenImpl tempToken)
Modifies the passed-in token list to start at the specified offset.
|
CodeTemplate |
CodeTemplateManager.getTemplate(RSyntaxTextArea textArea)
Returns the template that should be inserted at the current caret
position, assuming the trigger character was pressed.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e)
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.getTokenListWidth(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0)
Determines the width of the given token list taking tabs
into consideration.
|
static float |
RSyntaxUtilities.getTokenListWidthUpTo(Token tokenList,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0,
int upTo)
Determines the width of the given token list taking tabs into
consideration and only up to the given index in the document
(exclusive).
|
float |
TokenImpl.getWidth(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
float |
Token.getWidth(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0)
Returns the width of this token given the specified parameters.
|
float |
TokenImpl.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0) |
float |
Token.getWidthUpTo(int numChars,
RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
float x0)
Returns the width of a specified number of characters in this token.
|
static int |
RSyntaxUtilities.getWordEnd(RSyntaxTextArea textArea,
int offs)
Returns the end of the word at the given offset.
|
static int |
RSyntaxUtilities.getWordStart(RSyntaxTextArea textArea,
int offs)
Returns the start of the word at the given offset.
|
protected void |
RSyntaxTextAreaEditorKit.InsertBreakAction.handleInsertBreak(RSyntaxTextArea textArea,
boolean noSelection)
Actually inserts the newline into the document, and auto-indents
if appropriate.
|
LinkGeneratorResult |
LinkGenerator.isLinkAtOffset(RSyntaxTextArea textArea,
int offs)
If a region of text under the mouse position should be considered a
hyperlink, a result object is returned.
|
java.awt.Rectangle |
TokenImpl.listOffsetToView(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
int pos,
int x0,
java.awt.Rectangle rect) |
java.awt.Rectangle |
Token.listOffsetToView(RSyntaxTextArea textArea,
javax.swing.text.TabExpander e,
int pos,
int x0,
java.awt.Rectangle rect)
Returns the bounding box for the specified document location.
|
构造器和说明 |
---|
ActiveLineRangeEvent(RSyntaxTextArea source,
int min,
int max)
Constructor.
|
ErrorStrip(RSyntaxTextArea textArea)
Constructor.
|
FoldingAwareIconRowHeader(RSyntaxTextArea textArea)
Constructor.
|
SelectRegionLinkGeneratorResult(RSyntaxTextArea textArea,
int sourceOffset,
int selStart,
int selEnd) |
Theme(RSyntaxTextArea textArea)
Creates a theme from an RSyntaxTextArea.
|
限定符和类型 | 方法和说明 |
---|---|
java.util.List<Fold> |
XmlFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
NsisFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
LatexFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
JsonFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
HtmlFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
FoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
java.util.List<Fold> |
CurlyFoldParser.getFolds(RSyntaxTextArea textArea)
Returns a list of all folds in the text area.
|
构造器和说明 |
---|
Fold(int type,
RSyntaxTextArea textArea,
int startOffs) |
FoldManager(RSyntaxTextArea textArea)
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
ExtendedHyperlinkListener.linkClicked(RSyntaxTextArea textArea,
javax.swing.event.HyperlinkEvent e)
Called when a link in a
FocusableTip is clicked. |
限定符和类型 | 方法和说明 |
---|---|
void |
StaticCodeTemplate.invoke(RSyntaxTextArea textArea)
Invokes this code template.
|
void |
CodeTemplate.invoke(RSyntaxTextArea textArea)
Invokes this code template.
|