Package | Description |
---|---|
oracle.ide.ceditor |
The
Code Editor package contains the code editing implementation of the JDeveloper IDE. |
oracle.javatools.editor |
The
Editor package is a basic framework for an editor component with syntax highlighting capabilities, built on top of the Swing text framework. |
oracle.javatools.editor.language |
The Language package is a subset of the Editor package, and is the framework for extending the editor with color syntax highlighting, brace matching, and other language or content-specific editing features.
|
oracle.javatools.editor.plugins |
The Plugins package is a subset of the Editor package, and is one way to extend the functionality of an editor pane.
|
Modifier and Type | Method and Description |
---|---|
protected abstract NumberRange |
AbstractBrowseClickPlugin.getIdentifierAtOffset(int offset)
Utility routine to determine the identifier at the given offset, or null if there is none.
|
protected abstract NumberRange |
AbstractEditorHoverPlugin.getRectangleOffsets(BasicEditorPane editor, java.util.List<oracle.ide.hover.HoverFlavor> flavors, int offset)
Get the offsets in the code editor for which a rectangle needs to be shown, when a Ctrl is pressed during a mouse hover.
|
protected NumberRange |
AbstractBrowseClickPlugin.getRegionFor(int offset, int actionType)
Fetch the
NumberRange instance for the underlinable region that includes the given offset. |
Modifier and Type | Method and Description |
---|---|
protected NumberRange |
BasicDocument.getComposedTextRange()
Fetch the current range of composed text input - this is generally uncommitted text.
|
Modifier and Type | Method and Description |
---|---|
void |
LexerDocumentRenderer.calculateDamage(javax.swing.event.DocumentEvent changes, NumberRange damageRange)
Calculates what range of the document is "damaged" or needs to be repainted based on a given insert or removal of text.
|
void |
DocumentRenderer.calculateDamage(javax.swing.event.DocumentEvent changes, NumberRange damageRange)
Calculates what range of the document is "damaged" or needs to be repainted based on a given insert or removal of text.
|
void |
AbstractDocumentRenderer.calculateDamage(javax.swing.event.DocumentEvent changes, NumberRange damageRange)
Calculates what range of the document is "damaged" or needs to be repainted based on a given insert or removal of text.
|
int |
ExtendedBraceProvider.findClosestBrace(int offset, NumberRange braceLocation)
Finds the brace that is closest to the specified offset, but which occurs before the specified offset.
|
int |
BraceProvider.findMatchingBrace(int tokenType, NumberRange braceLocation, NumberRange matchingLocation)
Finds the brace matching the given brace identified by isPartOfBrace().
|
int |
AbstractBraceProvider.findMatchingBrace(int braceType, NumberRange braceLocation, NumberRange matchingLocation)
Finds the brace matching the given brace identified by isPartOfBrace().
|
int |
ExtendedBraceProvider.getBraceType(int tokenType, NumberRange braceLocation)
Fetch the brace type represented by the given language-specific token type, such as BRACE_TYPE_PARENTHETICAL.
|
int |
BraceProvider.isPartOfBrace(int offset, NumberRange braceLocation)
Determines whether the character at the given offset is considered a brace (such as '(', '[', or '{' in Java) or part of a brace in this language.
|
int |
AbstractBraceProvider.isPartOfBrace(int offset, NumberRange braceLocation)
Determines whether the character at the given offset is considered a brace or part of a brace in this language.
|
Constructor and Description |
---|
NumberRange(NumberRange range)
Copies an existing instance.
|
Modifier and Type | Method and Description |
---|---|
protected abstract NumberRange |
AbstractClickPlugin.getRegionFor(int offset, int actionType)
Fetch the
NumberRange instance for the underlinable region that includes the given offset. |