|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface WSTextEditorPage
Text editor page access.
Method Summary | |
---|---|
void |
beginCompoundUndoableEdit()
Begin a compound undoable edit operation. |
void |
endCompoundUndoableEdit()
End a compound undoable edit operation. |
javax.swing.text.Document |
getDocument()
Get the edited document. |
java.lang.Object |
getTextComponent()
Get the internal text component which is currently used for editing. |
WSTextXMLSchemaManager |
getXMLSchemaManager()
Get the schema manager used to ask useful information about allowed elements and the context of the current offset. |
Methods inherited from interface ro.sync.exml.workspace.api.editor.page.WSTextBasedEditorPage |
---|
deleteSelection, getCaretOffset, getLocationOnScreenAsPoint, getSelectedText, getSelectionEnd, getSelectionStart, getWordAtCaret, hasSelection, modelToViewRectangle, select, selectWord, setCaretPosition, setEditable, viewToModelOffset |
Method Detail |
---|
javax.swing.text.Document getDocument()
java.lang.Object getTextComponent()
WSTextXMLSchemaManager getXMLSchemaManager()
void beginCompoundUndoableEdit()
try{ beginCompoundUndoableEdit(); //YOUR CODE HERE } finally{ endCompoundUndoableEdit(); }
void endCompoundUndoableEdit()
try{ beginCompoundUndoableEdit(); //YOUR CODE HERE } finally{ endCompoundUndoableEdit(); }
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |