Package | Description |
---|---|
org.netbeans.editor | |
org.netbeans.editor.ext |
Completion Design View
|
Modifier and Type | Class and Description |
---|---|
class |
GuardedDocument
Extension to the guarded document that implements
StyledDocument interface
|
Modifier and Type | Field and Description |
---|---|
protected BaseDocument |
BaseElement.doc
Reference to document this element is part of
|
protected BaseDocument |
MarkBlock.doc |
protected BaseDocument |
MarkBlockChain.doc
Document for this block
|
Modifier and Type | Method and Description |
---|---|
BaseDocument |
EditorUI.getDocument()
Get the document to work on.
|
BaseDocument |
SyntaxSupport.getDocument()
Getter for the document that this support is associated to.
|
static BaseDocument |
Utilities.getDocument(JTextComponent target)
Helper method to obtain instance of BaseDocument from JTextComponent.
|
static BaseDocument |
Registry.getLeastActiveDocument()
Deprecated.
|
static BaseDocument |
Registry.getMostActiveDocument()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
AdjustFinder.adjustLimitPos(BaseDocument doc,
int limitPos)
Adjust the limit position of the search
(it's the position where the search will end) to be either the same or greater.
|
int |
AdjustFinder.adjustStartPos(BaseDocument doc,
int startPos)
Adjust start position of the search to be either the same or lower.
|
protected void |
BaseKit.InsertBreakAction.afterBreak(JTextComponent target,
BaseDocument doc,
Caret caret,
Object data)
Deprecated.
Please use Typing Hooks instead, for details see
Editor Library 2.
|
protected Object |
BaseKit.InsertBreakAction.beforeBreak(JTextComponent target,
BaseDocument doc,
Caret caret)
Deprecated.
Please use Typing Hooks instead, for details see
Editor Library 2.
|
static boolean |
Utilities.changeCase(BaseDocument doc,
int offset,
int len,
int type)
Change the case for specified part of document
|
protected void |
BaseKit.DeleteCharAction.charBackspaced(BaseDocument doc,
int dotPos,
Caret caret,
char ch)
Deprecated.
Please use Typing Hooks instead, for details see
Editor Library 2.
|
protected void |
BaseKit.DeleteCharAction.charDeleted(BaseDocument doc,
int dotPos,
Caret caret,
char ch)
Deprecated.
Please use Typing Hooks instead, for details see
Editor Library 2.
|
protected EditorUI |
BaseKit.createPrintEditorUI(BaseDocument doc)
Deprecated.
this method is no longer being called by
EditorUI .
BaseKit.createPrintEditorUI(BaseDocument, boolean, boolean) is being
called instead. |
protected EditorUI |
BaseKit.createPrintEditorUI(BaseDocument doc,
boolean usePrintColoringMap,
boolean lineNumberEnabled)
Create extended UI for printing a document.
|
SyntaxSupport |
BaseKit.createSyntaxSupport(BaseDocument doc)
Deprecated.
Please use Lexer instead, for details see
Lexer.
|
static String |
EditorDebug.debugBlocks(BaseDocument doc,
int[] blocks)
Deprecated.
|
static String |
Utilities.debugPosition(BaseDocument doc,
int offset) |
static String |
Utilities.debugPosition(BaseDocument doc,
int offset,
String separator) |
static void |
EditorDebug.dumpPlanes(BaseDocument doc)
Deprecated.
|
static void |
EditorDebug.dumpSyntaxMarks(BaseDocument doc)
Deprecated.
|
static int |
Utilities.getFirstNonEmptyRow(BaseDocument doc,
int offset,
boolean downDir)
Deprecated.
|
static int |
Utilities.getFirstNonWhiteBwd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getFirstNonWhiteBwd(BaseDocument doc,
int offset,
int limitPos)
Deprecated.
|
static int |
Utilities.getFirstNonWhiteFwd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getFirstNonWhiteFwd(BaseDocument doc,
int offset,
int limitPos)
Deprecated.
|
static int |
Utilities.getFirstNonWhiteRow(BaseDocument doc,
int offset,
boolean downDir)
Deprecated.
|
static int |
Utilities.getFirstWhiteBwd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getFirstWhiteBwd(BaseDocument doc,
int offset,
int limitPos)
Deprecated.
|
static int |
Utilities.getFirstWhiteFwd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getFirstWhiteFwd(BaseDocument doc,
int offset,
int limitPos)
Deprecated.
|
static String |
Utilities.getIdentifier(BaseDocument doc,
int offset)
Get the identifier around the given position or null if there's no identifier
|
static String |
Utilities.getIdentifierBefore(BaseDocument doc,
int offset)
Get the identifier before the given position (ending at given offset)
or null if there's no identifier
|
static int[] |
Utilities.getIdentifierBlock(BaseDocument doc,
int offset)
Get the identifier around the given position or null if there's no identifier
around the given position.
|
static int |
Utilities.getLineOffset(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getNextTabColumn(BaseDocument doc,
int offset)
Get the visual column corresponding to the position after pressing
the TAB key.
|
static int |
Utilities.getNextWord(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getPreviousWord(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getRowCount(BaseDocument doc)
Deprecated.
|
static int |
Utilities.getRowCount(BaseDocument doc,
int startPos,
int endPos)
Deprecated.
|
static int |
Utilities.getRowEnd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getRowFirstNonWhite(BaseDocument doc,
int offset)
Get the first non-white character on the line.
|
static int |
Utilities.getRowIndent(BaseDocument doc,
int offset)
Get indentation on the current line.
|
static int |
Utilities.getRowIndent(BaseDocument doc,
int offset,
boolean downDir)
Get indentation on the current line.
|
static int |
Utilities.getRowLastNonWhite(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getRowStart(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getRowStart(BaseDocument doc,
int offset,
int lineShift)
Deprecated.
Deprecated without replacement
|
static int |
Utilities.getRowStartFromLineOffset(BaseDocument doc,
int lineIndex)
Deprecated.
|
static String |
Utilities.getTabInsertString(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getVisualColumn(BaseDocument doc,
int offset)
Return visual column (with expanded tabs) on the line.
|
static String |
Utilities.getWord(BaseDocument doc,
int offset)
Get the word at given position.
|
static int |
Utilities.getWordEnd(BaseDocument doc,
int offset)
Deprecated.
|
static int |
Utilities.getWordStart(BaseDocument doc,
int offset)
Deprecated.
|
protected void |
BaseKit.initDocument(BaseDocument doc)
Initialize document by adding the draw-layers for example.
|
static void |
Analyzer.initialRead(BaseDocument doc,
Reader reader,
boolean testLS)
Do initial reading of document.
|
static void |
Utilities.insertMark(BaseDocument doc,
Mark mark,
int offset) |
protected void |
BaseKit.DefaultKeyTypedAction.insertString(BaseDocument doc,
int dotPos,
Caret caret,
String str,
boolean overwrite)
Deprecated.
Please use Typing Hooks instead, for details see
Editor Library 2.
|
static boolean |
Utilities.isRowEmpty(BaseDocument doc,
int offset)
Deprecated.
use
LineDocumentUtils.isLineEmpty(org.netbeans.api.editor.document.LineDocument, int) . |
static boolean |
Utilities.isRowWhite(BaseDocument doc,
int offset)
Deprecated.
|
protected void |
EditorUI.modelChanged(BaseDocument oldDoc,
BaseDocument newDoc) |
protected void |
BaseCaret.modelChanged(BaseDocument oldDoc,
BaseDocument newDoc) |
static void |
Utilities.moveMark(BaseDocument doc,
Mark mark,
int newOffset) |
static String |
Utilities.offsetToLineColumnString(BaseDocument doc,
int offset) |
int |
TextBatchProcessor.processTextBatch(BaseDocument doc,
int startPos,
int endPos,
boolean lastBatch)
Process one batch of the text.
|
static int |
Utilities.reformat(BaseDocument doc,
int startOffset,
int endOffset)
Reformat a block of code.
|
static void |
Utilities.reformatLine(BaseDocument doc,
int pos)
Reformat the line around the given position.
|
Constructor and Description |
---|
Annotations(BaseDocument doc) |
BaseDocumentEvent(BaseDocument doc,
int offset,
int length,
DocumentEvent.EventType type)
Construct document event instance.
|
BaseElement(BaseDocument doc,
BaseElement parent,
AttributeSet attrs) |
EditorUI(BaseDocument printDoc)
Construct extended UI for printing the given document
|
EditorUI(BaseDocument printDoc,
boolean usePrintColoringMap,
boolean lineNumberEnabled)
Construct extended UI for printing the given document
and specify which set of colors should be used.
|
LeafElement(BaseDocument doc,
BaseElement parent,
AttributeSet attrs,
int startOffset,
int endOffset,
boolean bol,
boolean eol)
Create new document instance
|
MarkBlock(BaseDocument doc,
int startPos,
int endPos)
Construct block with given marks
|
MarkBlock(BaseDocument doc,
Mark startMark,
Mark endMark) |
MarkBlock(BaseDocument doc,
Mark startMark,
Mark endMark,
int startPos,
int endPos)
Construct block from positions on some document
|
MarkBlockChain(BaseDocument doc)
Construct chain using regular base marks
|
NextWordFwdFinder(BaseDocument doc,
boolean stopOnEOL,
boolean stopOnWhitespace) |
NonWhiteBwdFinder(BaseDocument doc) |
NonWhiteFwdFinder(BaseDocument doc) |
PreviousWordBwdFinder(BaseDocument doc,
boolean stopOnEOL,
boolean stopOnWhitespace) |
SyntaxSupport(BaseDocument doc) |
WhiteBwdFinder(BaseDocument doc) |
WhiteFwdFinder(BaseDocument doc) |
WholeWordsBlocksFinder(BaseDocument doc,
String s,
boolean matchCase) |
WholeWordsBwdFinder(BaseDocument doc,
String s,
boolean matchCase) |
WholeWordsFwdFinder(BaseDocument doc,
String s,
boolean matchCase) |
Modifier and Type | Method and Description |
---|---|
int |
ExtFinderFactory.LineFwdFinder.adjustLimitPos(BaseDocument doc,
int limitPos) |
int |
ExtFinderFactory.LineBwdFinder.adjustLimitPos(BaseDocument doc,
int limitPos) |
int |
ExtFinderFactory.LineBlocksFinder.adjustLimitPos(BaseDocument doc,
int limitPos) |
int |
ExtFinderFactory.LineFwdFinder.adjustStartPos(BaseDocument doc,
int startPos) |
int |
ExtFinderFactory.LineBwdFinder.adjustStartPos(BaseDocument doc,
int startPos) |
int |
ExtFinderFactory.LineBlocksFinder.adjustStartPos(BaseDocument doc,
int startPos) |
SyntaxSupport |
ExtKit.createSyntaxSupport(BaseDocument doc) |
protected int |
ExtKit.GotoAction.getOffsetFromLine(BaseDocument doc,
int lineOffset)
This method is called by the dialog support
to translate the line offset to the document position.
|
Constructor and Description |
---|
ExtSyntaxSupport(BaseDocument doc) |
Built on May 31 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.