Package editor
Interface IScriptEditor
- All Superinterfaces:
IEditorHost
- All Known Implementing Classes:
GosuEditor,GosuField
-
Method Summary
Modifier and TypeMethodDescriptiongetStatementAtLine(int iLine) getStatementAtLineOrExpression(int iLine) getText()voidvoidvoidvoidparse()voidread(IScriptPartId ctx, String strSource) Methods inherited from interface editor.IEditorHost
canAddBreakpoint, clipCopy, clipCut, clipPaste, getDocHandler, getDocument, getEditor, getFeedbackPanel, getIssues, getLineCommentDelimiter, getOffsetOfDeepestStatementLocationAtPos, getParsedClass, getTooltipMessage, getTypeAtLine, gotoDeclaration, gotoNextUsageHighlight, gotoPrevUsageHighlight, highlightLocations, parse, refresh, removeAllHighlights, setLabel, setScriptPart, setUndoableEditListener
-
Method Details
-
getComponent
JComponent getComponent() -
getSourceType
SourceType getSourceType() -
getText
String getText()- Specified by:
getTextin interfaceIEditorHost
-
read
- Specified by:
readin interfaceIEditorHost- Throws:
IOException
-
parse
void parse() -
getSymbolTable
ISymbolTable getSymbolTable() -
getScriptPart
IScriptPartId getScriptPart()- Specified by:
getScriptPartin interfaceIEditorHost
-
handleCompleteCode
void handleCompleteCode() -
gotoNextError
void gotoNextError() -
getDeepestLocationAtCaret
IParseTree getDeepestLocationAtCaret() -
getDeepestStatementLocationAtCaret
IParseTree getDeepestStatementLocationAtCaret() -
getStatementAtLineAtCaret
IParseTree getStatementAtLineAtCaret() -
getStatementAtLine
-
gotoDeclarationAtCursor
void gotoDeclarationAtCursor() -
getSelectedText
String getSelectedText() -
getStatementAtLineOrExpression
-
getStatementAtLineAtCaretOrExpression
IParseTree getStatementAtLineAtCaretOrExpression() -
getUndoManager
AtomicUndoManager getUndoManager()- Specified by:
getUndoManagerin interfaceIEditorHost
-
getScroller
EditorScrollPane getScroller()- Specified by:
getScrollerin interfaceIEditorHost
-