Expand the use of the CtrlArrow parameter

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Expand the use of the CtrlArrow parameter

Post by *petermad »

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.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Expand the use of the CtrlArrow parameter

Post by *funkymonk »

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.
Eugensyl2
Junior Member
Junior Member
Posts: 43
Joined: 2023-05-20, 15:12 UTC

Re: Expand the use of the CtrlArrow parameter

Post by *Eugensyl2 »

Support++
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Expand the use of the CtrlArrow parameter

Post by *petermad »

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++ if it is feasible for CamelCase (maybe just for English characters)
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.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Fla$her
Power Member
Power Member
Posts: 2254
Joined: 2020-01-18, 04:03 UTC

Re: Expand the use of the CtrlArrow parameter

Post by *Fla$her »

Support for character enumeration and caret navigation relative to uppercase letters (no language restrictions).
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Expand the use of the CtrlArrow parameter

Post by *ghisler(Author) »

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
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Expand the use of the CtrlArrow parameter

Post by *petermad »

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.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Expand the use of the CtrlArrow parameter

Post by *funkymonk »

For me it also works quite well in TC11.00b4 -- I would highly appreciate the feature extension...
Post Reply