#1275 Scite, Window(XP), Language(Win), AutoSwitching (?)

closed-works-for-me
SciTE (627)
3
2012-01-20
2012-01-02
MvGulik
No

Just something that recurs from time to time. But for which I have no clue what the trigger might be.
Not even to sure if its Scite that's to blame here. (although I did look for it on other apps, but never saw it happen in other apps so far.)

When working in Scite, Scite sometimes seems to switch to the other windows-language setting.
- I'm running a XP, NL-language version, But work normally with a English language setting I added.
Reason/Case:
- With the ENG Lang setting I just get a ["] character directly when I type that character.
- With the NL Lang setting I need to type a additional character after the ["] to finalize the character process.
-- Sometimes Scite switches from case 1 to case 2.
Switching the win-Language on Scite after this will have no effect anymore.

A quick Scite restart puts things back to normal again.

[Win.XP.Pro.32bits,Scite 2.28] (don't know about this in relation to newer Scite versions.)

Discussion

  • Neil Hodgson

    Neil Hodgson - 2012-01-02

    The standard key binding for switching languages is Left Alt + Shift. SciTE contains bindings that include Alt + Shift. If you start pressing the keys for a chord that includes Alt + Shift (say you were planning on making a rectangular selection) then stop before pressing another key then that will trigger the language switch.

     
  • Neil Hodgson

    Neil Hodgson - 2012-01-02
    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 3
    • status: open --> open-works-for-me
     
  • MvGulik

    MvGulik - 2012-01-02

    Aha, did not know that.
    Giving it a quick little test ... all seems ok. No language lock when using this key binding. And the language bar on the windows taskbar is also switching to the active used language. (which did not happen in my case as far I remember.)

    Will wait until it happens again, and I can re-confirm the language lockup. (as indirect proof I did not just accidentally activated the Left Alt + Shift binding.) I tested that part some time ago, and after that defaulted to just restarting Scite when is happened.

    But that still would leave the reproduction part open ...

     
  • MvGulik

    MvGulik - 2012-01-05

    Run into it again.

    Notes about this case. (in case someone thinks of something in relation to this.)
    - Scite was up for around a full day, if not longer. (mmm, Scite4AutoIt that it.)
    - was working on some python code. (also had it with other code languages however.)
    - running some python code with some string-typo error.
    - before code line: result = name.replace('-, '')
    - after code line: result = name.replace('-', '')
    + after fixing the typo, and rerunning it ... I also noted that I ended up with NL-language typing behavior again.
    - language bar setting was still on ENG, and switching it between NL and ENG had no effect on the language typing behavior in Scite.
    - also no change when using LEFT-Alt+Shits.
    + did try to duplicate it by redoing what I remembered. But without luck.

    Ergo: not reproducible yet.

    mmm, giving a second though. That typo error probably was the result of Scite already being switched to NL language behavior ... so that renders this info kinda useless for the reproduction purpose. :-/

     
  • MvGulik

    MvGulik - 2012-01-18

    Run into the exact same thing in Google chrome.
    So that declassifies this as a Scite issue.

    (leaving setting change to you.)

     
  • Neil Hodgson

    Neil Hodgson - 2012-01-20
    • status: open-works-for-me --> closed-works-for-me
     

Log in to post a comment.