mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 01:50:44 +01:00
Simplify conditional branch
Checking `editor.tabs.expand` is done just before the block, so this condition is always met.
This commit is contained in:
@@ -160,7 +160,7 @@ public class JavaInputHandler extends PdeInputHandler {
|
||||
textarea.setSelectedText(spaces(tabSize));
|
||||
event.consume();
|
||||
|
||||
} else if (!Preferences.getBoolean("editor.tabs.expand")) {
|
||||
} else { // !Preferences.getBoolean("editor.tabs.expand")
|
||||
textarea.setSelectedText("\t");
|
||||
event.consume();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user