mirror of https://github.com/noisymime/Arduino.git
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…
Reference in New Issue