mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
New editor: mark occurrences enable when "editor.advanced" (hidden pref) is true. Fixes #3102
This commit is contained in:
parent
02e94f1879
commit
2d24d074e3
@ -959,7 +959,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
protected SketchTextArea createTextArea() throws IOException {
|
||||
SketchTextArea textArea = new SketchTextArea(base.getPdeKeywords());
|
||||
textArea.requestFocusInWindow();
|
||||
textArea.setMarkOccurrences(true);
|
||||
textArea.setMarkOccurrences(PreferencesData.getBoolean("editor.advanced"));
|
||||
textArea.setMarginLineEnabled(false);
|
||||
textArea.setCodeFoldingEnabled(PreferencesData.getBoolean("editor.code_folding"));
|
||||
textArea.setAntiAliasingEnabled(PreferencesData.getBoolean("editor.antialias"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user