Skip to content

Commit 180a80e

Browse files
committed
Also remove automatic close curly braces if editor.indent == false
1 parent 75ca5de commit 180a80e

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
@@ -148,6 +148,7 @@ private SketchTextArea createTextArea(RSyntaxDocument document)
148148
textArea.setMarginLineEnabled(false);
149149
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
150150
textArea.setAutoIndentEnabled(PreferencesData.getBoolean("editor.indent"));
151+
textArea.setCloseCurlyBraces(PreferencesData.getBoolean("editor.indent"));
151152
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
152153
textArea.setTabsEmulated(PreferencesData.getBoolean("editor.tabs.expand"));
153154
textArea.setTabSize(PreferencesData.getInteger("editor.tabs.size"));

0 commit comments

Comments
 (0)