Package editor

Class EditorHost

    • Method Detail

      • parseAndWaitForParser

        public void parseAndWaitForParser()
      • waitForParser

        public void waitForParser()
      • addKeyHandlers

        protected void addKeyHandlers()
      • showFileInTree

        public void showFileInTree()
      • getLineNumberAtCaret

        public int getLineNumberAtCaret()
      • getLineOffset

        public int getLineOffset​(int iLine)
      • setUndoableEditListener

        public void setUndoableEditListener​(UndoableEditListener uel)
        Sets the one and only undoable edit listener for this editor section. The primary use case for this method is to establish an undo manager connection.
        Specified by:
        setUndoableEditListener in interface IEditorHost
        Parameters:
        uel - The UndoableEditListener to connect to this section's document.
      • addDocumentListener

        protected void addDocumentListener()
      • getCompletionPopup

        public JPopupMenu getCompletionPopup()
      • setCompletionPopup

        public void setCompletionPopup​(JPopupMenu completionPopup)
      • isCompletionPopupShowing

        public boolean isCompletionPopupShowing()
      • displayGotoLinePopup

        public void displayGotoLinePopup()
      • gotoLine

        public void gotoLine​(int iLine)
      • gotoLine

        public void gotoLine​(int iLine,
                             int iColumn)
      • gotoOffset

        public void gotoOffset​(int offset)
      • duplicate

        public void duplicate()
      • delete

        public void delete()
        delete the currently selected text, or the current line if nothing is selected
      • getExpandedSelection

        public String getExpandedSelection()
        Returns:
        the selected text in the editor, expanding to the entire current line if no selection exists
      • joinLines

        public void joinLines()
      • centerView

        public void centerView()
      • hideMiscPopups

        protected void hideMiscPopups()
      • parse

        public void parse()
      • parse

        protected void parse​(boolean forceCodeCompletion)
      • postTaskInParserThread

        public static void postTaskInParserThread​(Runnable task)
      • getParserTaskQueue

        public static TaskQueue getParserTaskQueue()
      • isParserSuspended

        public boolean isParserSuspended()
      • setParserSuspended

        public void setParserSuspended​(boolean bParserSuspended)
      • areAnyParserTasksPending

        public static boolean areAnyParserTasksPending()
      • areMoreThanOneParserTasksPendingForThisEditor

        protected boolean areMoreThanOneParserTasksPendingForThisEditor()
      • areMoreThanOneParserTasksGoingToUpdateContainingType

        protected boolean areMoreThanOneParserTasksGoingToUpdateContainingType()
      • isCompleteCode

        public boolean isCompleteCode()
      • setCompleteCode

        public void setCompleteCode​(boolean bCompleteCode)
      • handleDot

        public void handleDot()
      • handleColon

        public void handleColon()
      • handleCompleteCode

        public void handleCompleteCode()
      • handleDot

        protected abstract void handleDot​(ISymbolTable transientSymTable)
      • getSymbolTableAtCursor

        public abstract ISymbolTable getSymbolTableAtCursor()
      • waitOnParserThread

        public static void waitOnParserThread()
      • getTimerCount

        public int getTimerCount()
      • waitForIntellisenseTimers

        public static void waitForIntellisenseTimers()
      • isAltDown

        public boolean isAltDown()