Package editor
Interface IScriptEditor
- All Superinterfaces:
IEditorHost
- All Known Implementing Classes:
GosuEditor
,GosuField
-
Method Summary
Modifier and TypeMethodDescriptiongetStatementAtLine
(int iLine) getStatementAtLineOrExpression
(int iLine) getText()
void
void
void
void
parse()
void
read
(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:
getText
in interfaceIEditorHost
-
read
- Specified by:
read
in interfaceIEditorHost
- Throws:
IOException
-
parse
void parse() -
getSymbolTable
ISymbolTable getSymbolTable() -
getScriptPart
IScriptPartId getScriptPart()- Specified by:
getScriptPart
in 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:
getUndoManager
in interfaceIEditorHost
-
getScroller
EditorScrollPane getScroller()- Specified by:
getScroller
in interfaceIEditorHost
-