mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-13 12:46:16 +03:00
Make auto-indent configurable (none, preserve, smart).
This commit is contained in:
@@ -2956,6 +2956,7 @@ void App::onCodeEditorCreated( UICodeEditor* editor, TextDocument& doc ) {
|
||||
: TextDocument::IndentType::IndentTabs );
|
||||
doc.setIndentWidth( docc.indentWidth );
|
||||
doc.setAutoDetectIndentType( docc.autoDetectIndentType );
|
||||
doc.setAutoIndent( docc.autoIndent );
|
||||
doc.setBOM( docc.writeUnicodeBOM );
|
||||
|
||||
doc.getFoldRangeService().setEnabled( config.codeFoldingEnabled );
|
||||
|
||||
Reference in New Issue
Block a user