Class IndentTextEditorProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.lcore.ui.texteditor.IndentTextEditorProvider
-
public class IndentTextEditorProvider extends Object
Special provider for getting indent by text editor preferences
-
-
Constructor Summary
Constructors Constructor Description IndentTextEditorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convertToIndent(String line)
Convert given line to whitespace indent with same lengthString
getIndent()
Gets indent by text editor preferencesprotected org.eclipse.jface.preference.IPreferenceStore
getPreferenceStore()
Gets text editor preferences store
-
-
-
Method Detail
-
getIndent
public String getIndent()
Gets indent by text editor preferences- Returns:
- indent, never
null
-
convertToIndent
public String convertToIndent(String line)
Convert given line to whitespace indent with same length- Returns:
- indent, never
null
-
getPreferenceStore
protected org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
Gets text editor preferences store- Returns:
- text editor preferences store, never
null
-
-