bobbylight / RSyntaxTextArea

A syntax highlighting, code folding text editor for Java Swing applications.
BSD 3-Clause "New" or "Revised" License
1.12k stars 259 forks source link

CTRL + / does not toggle comments for LaTeX and Java #495

Closed proteusGIT closed 5 months ago

proteusGIT commented 1 year ago

Description Even for the example, CTRL + / does not add line comments

Expected behavior Adding and removing of // at beginning of line for java. Adding and removing of % at end of line for LaTeX.

Actual behavior Nothing. I am on windows right now.

Apparently, the InputMap contains the key-combination and the ActionMap contains the corresponding action but the action is never executed. The action is executed when associating e.g. the key-combination CTRL-K to it. So maybe there is an issue with CTRL-/ as a key combination?

bobbylight commented 1 year ago

Hmm, it works for me. Is your keyboard QWERTY or a different layout? We've had issues with non-US users having issues in the past around this keystroke, which is why it's disabled OOTB for Linux

bobbylight commented 5 months ago

Closing due to lack of activity. Please reopen if you can provide a working example or environment!