#24 Regression: Can't enter Slash ("/") in RSyntaxTextArea,RText

closed-fixed
5
2013-01-23
2012-12-13
rrae
No

I updated RSyntaxTextArea in a project, tried version 2.05 and svn-trunc.
Slashes cannot be used anymore, at least in linux but a coworker had the same problem (using windows afaik)

Problem seems to be within this file:
/org/fife/ui/rsyntaxtextarea/RSyntaxTextAreaDefaultInputMap.java

... around this line (the whole file changed a lot since last stable release):
put(KeyStroke.getKeyStroke(\'/\'), \"DoNothing\");

I\'m now using version 2.0.4.1 again which works like a charm.
I just tried RText (2.0.5) which has the same issue.

Discussion

  • Robert Futrell
    Robert Futrell
    2013-01-23

    This was fixed in 2.0.5.1.

    Due to different keyboard layouts, it is impossible to come up with a standard input map that works well for all locales. One could make educated guesses based on the input method's locale, but it's bound to be wrong some of the time on some OS. For this reason, RSTA will ship with an input map that works for QWERTY keyboards; applications hosting RSTA can configure the InputMap for other keyboard layouts, if they desire. Other applications, such as IntelliJ seem to behave this same way, so we're not alone in this :)

     
  • Robert Futrell
    Robert Futrell
    2013-01-23

    • status: open --> closed-fixed