Skip to content

Commit f17cc83

Browse files
author
Federico Fissore
committed
Code folding is disabled by default. Fixes #3105
1 parent 5bc6cee commit f17cc83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: app/src/processing/app/Editor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ protected SketchTextArea createTextArea() throws IOException {
961961
textArea.requestFocusInWindow();
962962
textArea.setMarkOccurrences(true);
963963
textArea.setMarginLineEnabled(false);
964-
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.codefolding"));
964+
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
965965
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
966966
textArea.setTabsEmulated(PreferencesData.getBoolean("editor.tabs.expand"));
967967
textArea.setTabSize(PreferencesData.getInteger("editor.tabs.size"));

Diff for: build/shared/lib/preferences.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ editor.window.height.min = 290
8787
#editor.window.height.min.windows = 530
8888

8989
# Enable code folding
90-
editor.code_folding=true
90+
editor.code_folding=false
9191

9292
# font size for editor
9393
editor.font=Monospaced,plain,12

0 commit comments

Comments
 (0)