Class IndentTextEditorProvider

  • public class IndentTextEditorProvider
    extends Object
    Special provider for getting indent by text editor preferences
    • Constructor Detail

      • IndentTextEditorProvider

        public IndentTextEditorProvider()
    • Method Detail

      • getIndent

        public String getIndent()
        Gets indent by text editor preferences
        indent, never null
      • convertToIndent

        public String convertToIndent​(String line)
        Convert given line to whitespace indent with same length
        indent, never null
      • getPreferenceStore

        protected org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
        Gets text editor preferences store
        text editor preferences store, never null