mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +01:00
Code folding can show up even on code blocks
This commit is contained in:
parent
a60e4158b6
commit
1d8fbd4b5d
@ -479,6 +479,7 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
saveAsMenuItem.setEnabled(!external);
|
saveAsMenuItem.setEnabled(!external);
|
||||||
|
|
||||||
textarea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
textarea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
||||||
|
scrollPane.setFoldIndicatorEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
||||||
scrollPane.setLineNumbersEnabled(PreferencesData.getBoolean("editor.linenumbers"));
|
scrollPane.setLineNumbersEnabled(PreferencesData.getBoolean("editor.linenumbers"));
|
||||||
|
|
||||||
if (external) {
|
if (external) {
|
||||||
|
Loading…
Reference in New Issue
Block a user