File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ private SketchTextArea createTextArea(RSyntaxDocument document)
148
148
textArea .setMarginLineEnabled (false );
149
149
textArea .setCodeFoldingEnabled (PreferencesData .getBoolean ("editor.code_folding" ));
150
150
textArea .setAutoIndentEnabled (PreferencesData .getBoolean ("editor.indent" ));
151
+ textArea .setCloseCurlyBraces (PreferencesData .getBoolean ("editor.autocomplete" ));
151
152
textArea .setAntiAliasingEnabled (PreferencesData .getBoolean ("editor.antialias" ));
152
153
textArea .setTabsEmulated (PreferencesData .getBoolean ("editor.tabs.expand" ));
153
154
textArea .setTabSize (PreferencesData .getInteger ("editor.tabs.size" ));
@@ -599,4 +600,4 @@ public boolean requestFocusInWindow() {
599
600
return textarea .requestFocusInWindow ();
600
601
}
601
602
602
- }
603
+ }
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ editor.tabs.size = 2
146
146
# automatically indent each line
147
147
editor.indent = true
148
148
149
+ # enable/disable any 'autocomplete' features
150
+ # this currently includes 'auto curly brace'
151
+ editor.autocomplete = true
152
+
149
153
# size of divider between editing area and the console
150
154
editor.divider.size = 0
151
155
# the larger divider on windows is ugly with the little arrows
You can’t perform that action at this time.
0 commit comments