I noticed this problem in npp 5.0.3 but it also shows in the v5.1RC
If I select a piece of text from right to left (not left to right) and then press CTRL+X to cut the text, then the cursor is moved from the current position N characters to the left where N is the length of the text.
This does not happen if I use the menu Edit->Cut to cut instead of the shortcut CTRL+X.
This does not happen if I select the text from left to right.
For example, start an empty tab and type "123 456 789"
Move the cursor to the position just after the 6, press shift and click left 3 times to reach just before the 4.
Now 456 is highlighted.
Press CTRL+X.
There cursor should be between the 2 spaces left between 3 and 7 but instead it's between 2 and 3.
Franco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed this problem in npp 5.0.3 but it also shows in the v5.1RC
If I select a piece of text from right to left (not left to right) and then press CTRL+X to cut the text, then the cursor is moved from the current position N characters to the left where N is the length of the text.
This does not happen if I use the menu Edit->Cut to cut instead of the shortcut CTRL+X.
This does not happen if I select the text from left to right.
For example, start an empty tab and type "123 456 789"
Move the cursor to the position just after the 6, press shift and click left 3 times to reach just before the 4.
Now 456 is highlighted.
Press CTRL+X.
There cursor should be between the 2 spaces left between 3 and 7 but instead it's between 2 and 3.
Franco
Do you have any autoclose feature enabled or something like that?
I just tried what you said and works OK (v5.0.3)
SOLVED:
I have had the same problem with v5.0.x, just look over there: http://sourceforge.net/forum/message.php?msg_id=5083559
Greetings from Germany
Dominik
Does the problem disappear if you unzip v5.1 RC into a clean folder?
If yes, then it's due to one of your plugins.
Don