Enhanced editor alters cursor position too often

Enhanced editor alters cursor position too often

I've been practically almost away from translatewiki.net and translating for almost 3 months until about a week ago. During that time, several enhancements were made to the code, and I updated my browsers, JavScript engine and operating system to newer versions.

So there are several possible reasons for the annoying fact, that every so often the enhanced JavScript editor looses its cursor position in the midst of editing and makes me append charaters to the very end of the input field. This happens always:

  • when the input fields on-screen-size is altered, which may be
    • after a new line wrap was introduced somewhere in the field
    • when the 1st character is typed, and the pre-existing message is longer than one line
  • when parameter usage and/or bracket matches are altered
  • when parameter usage and/or bracket match errors are detected the 1st time

It may happen on other occasions, too. Unfortunately, the cursor placement lags some 4 to 12 characters worth of typing time behind. That makes it even harder to cope with.

This is of rather little impact for me, though, since I more often use standard editing, because I need the editools and my personal edit buttons.

Purodha Blissenbach (talk)00:49, 9 June 2012