Interface IHtmlDocumentTextGranularEditorPage

    • Method Detail

      • getSelectionProvider

        ISelectionProvider getSelectionProvider()
        Returns this text editor's selection provider
        Returns:
        the selection provider, or null if none
      • getDocument

        org.eclipse.jface.text.IDocument getDocument()
        Returns the document for editor input of this text editor.
        Returns:
        the document, or null if none
      • changeEditingLanguage

        void changeEditingLanguage​(String newLanguageCode)
        Force change editing language on this editor
        Parameters:
        newLanguageCode - the code of new editing language, cannot be null
      • getEditorInputFile

        org.eclipse.core.resources.IFile getEditorInputFile()
        Returns handle of active file from editor input
        Returns:
        IFile from editor input, or null if none