Interface CodeSupport

    • Method Detail

      • install

        void install​(CodeEditorBase editor)
        Adds support for a code type to the editor.
      • uninstall

        void uninstall​(CodeEditorBase editor)
        Removes the previously added support.
      • createNavigator

        Navigator createNavigator​(NavigationHost host)
        Creates a suitable navigator panel for the specified code editor.
        Returns:
        the new navigator suited to the supported code type, or null if none is supported.
      • createFormatter

        Formatter createFormatter()
        Creates a suitable code formatter for the specified code type.
        Returns:
        a formatter that tidies source code, or null if none is available
      • fileChanged

        void fileChanged​(java.io.File file)
        Called when the file associated with the editor changes.
        Parameters:
        file - the file now associated with the editor