Expand the use of the CtrlArrow parameter
Moderators: Hacker, petermad, Stefan2, white
Expand the use of the CtrlArrow parameter
Currently in TC 11.00b4 the wincmd.ini parameter CtrlArrow takes two values 0 or 1.
I suggest that CtrlArrow could also be used to set user-defined set of separators - like:
CtrlArrow=\/(),.;=''^+-%&!_[ ]{}|:@
Equal to the parameter:
CompareResyncSeparators=., ;:_+-*/\?!()[]{}"'@
CtrlArrow=0 should still disable the function, and CtrlArrow=1 should enable it with the predefined separators.
I suggest that CtrlArrow could also be used to set user-defined set of separators - like:
CtrlArrow=\/(),.;=''^+-%&!_[ ]{}|:@
Equal to the parameter:
CompareResyncSeparators=., ;:_+-*/\?!()[]{}"'@
CtrlArrow=0 should still disable the function, and CtrlArrow=1 should enable it with the predefined separators.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Expand the use of the CtrlArrow parameter
Great idea!
Support++
Another idea: For CamelCase in filenames (e.g., "ThisIsAQuiteLongCamelCaseFilename.txt") it would be great if TC would detect the camel case and Ctrl+Arrow would stop at the end/begin of each word.
How about
CtrlArrowSeparators = As list of chars as described by *petermad
CtrlArrow = 0 + 1 + 2
Where 1 still activates the internal Ctrl+Arrow key movement method and 2 activates CamelCase detection in addition.
Support++
Another idea: For CamelCase in filenames (e.g., "ThisIsAQuiteLongCamelCaseFilename.txt") it would be great if TC would detect the camel case and Ctrl+Arrow would stop at the end/begin of each word.
How about
CtrlArrowSeparators = As list of chars as described by *petermad
CtrlArrow = 0 + 1 + 2
Where 1 still activates the internal Ctrl+Arrow key movement method and 2 activates CamelCase detection in addition.
Re: Expand the use of the CtrlArrow parameter
Support++ if it is feasible for CamelCase (maybe just for English characters)How about
CtrlArrowSeparators = As list of chars as described by *petermad
CtrlArrow = 0 + 1 + 2
Where 1 still activates the internal Ctrl+Arrow key movement method and 2 activates CamelCase detection in addition.
Last edited by petermad on 2023-05-28, 11:28 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Expand the use of the CtrlArrow parameter
Support for character enumeration and caret navigation relative to uppercase letters (no language restrictions).
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Expand the use of the CtrlArrow parameter
Now that the function has been disabled by default because of the lacking windows functions to set the cursor, I see little incentive to work on this. 

Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Expand the use of the CtrlArrow parameter
Hmm, It works reasonably well in TC 11.00b4 - but I am using a Western locale, if seems that there are ploblems with other locales.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Expand the use of the CtrlArrow parameter
For me it also works quite well in TC11.00b4 -- I would highly appreciate the feature extension...
Re: Expand the use of the CtrlArrow parameter
I'd love to have this; from all the other IDEs, I often find myself doing [ctrl]+[left]/[right]; similarly, it would be awesome for [ctrl]+[backspace] to remove all content in text inputs.