diff options
| author | Jules Aguillon | 2025-12-18 19:15:32 +0100 |
|---|---|---|
| committer | GitHub | 2025-12-18 19:15:32 +0100 |
| commit | 41777fdda61715a59be241f0be9a8e3385222888 (patch) | |
| tree | bcddb5a4a29af2caf37e1f565efcfbffdd6814be /srcs/juloo.keyboard2/Logs.java | |
| parent | be0aa07a2a728509b6244e00247bfe2fff5c66e0 (diff) | |
| download | unexpected-keyboard-41777fdda61715a59be241f0be9a8e3385222888.tar.gz unexpected-keyboard-41777fdda61715a59be241f0be9a8e3385222888.zip | |
Disable selection mode in text editors (#1141)
* Disable selection mode in text editors
Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.
* Refactor: Move EditorInfo related code to EditorConfig
Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.
This aims at reducing the length of already large classes and group the
code that was spread over several classes.
Diffstat (limited to 'srcs/juloo.keyboard2/Logs.java')
| -rw-r--r-- | srcs/juloo.keyboard2/Logs.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/Logs.java b/srcs/juloo.keyboard2/Logs.java index 8843052..1bef51c 100644 --- a/srcs/juloo.keyboard2/Logs.java +++ b/srcs/juloo.keyboard2/Logs.java @@ -23,8 +23,9 @@ public final class Logs info.dump(_debug_logs, ""); if (info.extras != null) _debug_logs.println("extras: "+info.extras.toString()); - _debug_logs.println("swapEnterActionKey: "+conf.swapEnterActionKey); - _debug_logs.println("actionLabel: "+conf.actionLabel); + _debug_logs.println("swapEnterActionKey: " + +conf.editor_config.swapEnterActionKey); + _debug_logs.println("actionLabel: "+conf.editor_config.actionLabel); } public static void debug_config_migration(int from_version, int to_version) |
