Skip to content

Commit 39da3f0

Browse files
facchinmcmaglie
authored andcommitted
Apply editor.indent preference
Solves #6128
1 parent bd49219 commit 39da3f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/processing/app/EditorTab.java

+1
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ private SketchTextArea createTextArea(RSyntaxDocument document)
147147
textArea.setMarkOccurrences(PreferencesData.getBoolean("editor.advanced"));
148148
textArea.setMarginLineEnabled(false);
149149
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
150+
textArea.setAutoIndentEnabled(PreferencesData.getBoolean("editor.indent"));
150151
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
151152
textArea.setTabsEmulated(PreferencesData.getBoolean("editor.tabs.expand"));
152153
textArea.setTabSize(PreferencesData.getInteger("editor.tabs.size"));

0 commit comments

Comments
 (0)