Package editor
Interface IEditorHost
-
- All Known Subinterfaces:
IScriptEditor
- All Known Implementing Classes:
EditorHost
,GosuEditor
,GosuField
,StandardEditor
public interface IEditorHost
-
-
Method Summary
-
-
-
Method Detail
-
getEditor
EditorHostTextPane getEditor()
-
read
void read(IScriptPartId partId, String strSource) throws IOException
- Throws:
IOException
-
refresh
void refresh(String content)
-
parse
void parse(String strText, boolean forceCodeCompletion, boolean changed)
-
getUndoManager
AtomicUndoManager getUndoManager()
-
getDocHandler
DocumentListener getDocHandler()
-
setUndoableEditListener
void setUndoableEditListener(UndoableEditListener uel)
-
getParsedClass
IType getParsedClass()
-
getScriptPart
IScriptPartId getScriptPart()
-
setScriptPart
void setScriptPart(IScriptPartId partId)
-
getText
String getText()
-
setLabel
void setLabel(String label)
-
getDocument
AbstractDocument getDocument()
-
getScroller
EditorScrollPane getScroller()
-
getFeedbackPanel
JComponent getFeedbackPanel()
-
highlightLocations
void highlightLocations(List<SearchLocation> locations)
-
getLineCommentDelimiter
String getLineCommentDelimiter()
-
getOffsetOfDeepestStatementLocationAtPos
int getOffsetOfDeepestStatementLocationAtPos(int caretPosition, boolean strict)
-
getTypeAtLine
String getTypeAtLine(int line)
-
getTooltipMessage
String getTooltipMessage(MouseEvent event)
-
getIssues
IIssueContainer getIssues()
-
canAddBreakpoint
boolean canAddBreakpoint(int line)
-
gotoDeclaration
void gotoDeclaration()
-
gotoNextUsageHighlight
void gotoNextUsageHighlight()
-
gotoPrevUsageHighlight
void gotoPrevUsageHighlight()
-
removeAllHighlights
void removeAllHighlights()
-
clipCut
void clipCut(Clipboard clipboard)
-
clipCopy
void clipCopy(Clipboard clipboard)
-
clipPaste
void clipPaste(Clipboard clipboard, boolean asGosu)
-
-