- type some text/command into TC's command line
- press and hold Ctrl-Shift-cursor_left (to quickly word-by-word select some of the text for correction, copying, ...)
Expected behaviour (like using only Shift-cursor_left, without Ctrl-key):
cursor would
- move towards the beginning of the text,
- mark the text between the former cursor position and the new position
- stop at the beginning of the text, having marked all text from the beginning to the last cursor position
TC's behaviour:
- cursor first stays at its position
- marking range expands towards beginning of the text
- when marking range reaches beginning of the text, the cursor position is moved towards beginning of text, reducing marked range to zero characters
=> Cursor and both ends of marker end up on the beginning of the text.
If using only Shift-Cursor_left, everything works as expected.
Additionally pressing Ctrl-key to speed up the marking produces the above problem.
Probably related to this topic (german).
Text marking problem in command line with Ctrl-cursor
Moderators: Hacker, petermad, Stefan2, white
Text marking problem in command line with Ctrl-cursor
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This behaviour is as designed. Unfortunately it cannot be done better because it's not possible in edit controls to set both the selection and the cursor position.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Perhaps it can be turned around, thus moving the cursor position while leaving the (other) selection end where it is?
If not it would be very nice to have this edit method only optional...
If not it would be very nice to have this edit method only optional...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Duplicate thread.
http://ghisler.ch/board/viewtopic.php?t=14719
http://ghisler.ch/board/viewtopic.php?t=14719
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com