Hi,
I experience the following behavior with tc7b1 and tc7b2.
I'm not able to reproduce it with 6.55.
1/ Put the cursor into command line textbox
2/ Enter text (just a sample, any text will work) "123 456 789"
3/ Put cursor right behind the 6
4/ Press shift+ctrl and hold them
5/ Mark text to the left by pressing left cursor key till beginning of text
Result: Text 123 456 is marked / high-lighted
6/ Press right cursor key, while still holding shift+ctrl
Expected behavior: Only 456 is marked
Actual behavior: The space behind 456 gets marked
Error: Cursor gets stuck behind the 6 and is not moved with the marking
Well, could be a feature as well. But none any other tool in know has.
Regards,
Thomas
Marking text in textbox
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have added a new feature to select words with Ctrl+Shift+Arrows, and jump from word to word limiter with Ctrl+Arrows. This uses EM_SETSEL and CB_SETEDITSEL for edit boxes and combo boxes. The problem is that these messages do not allow to set the position of the cursor, only of the selection. It seems that there is no function to set both the cursor location and selection in an edit box! This is causing the wrong selection in the above case.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com