- findLineNumber
For given document and an offset, find the line number.
- findLineOffset
Finds offset of the beginning of a line.
- findLineColumn
Finds column number given an offset.
- findLineRootElement
Find the root element of all lines. All conforming NetBeans documents should
return a valid element.
- runAtomic
Locks the document to have exclusive access to it. Documents implementing
Lockable can specify exact
- createPosition
Creates position with a bias. If the bias is
javax.swing.text.Position.Bias#Backwardthen if an inser
- findRecentEditorPane
Gets recently selected editor pane opened by editor cookie Can be called from
AWT event thread only.
- addAnnotation
Add annotation to the document. For annotation of whole line the length
parameter can be ignored (sp
- removeAnnotation
Removal of added annotation.
Note: since 6.35 the requests (delegated to document) are no longer rep
- checkDocParameter
Helper method for checking document parameter validity.
- findPageable
Find a way to print a given document. If the document implements the correct
interface(s) then the d
- getDocument
Get the document associated with a file.Method will throw
org.openide.util.UserQuestionExceptionexce