Page 1 of 1

Expand the use of the CtrlArrow parameter

Posted: 2023-05-27, 03:05 UTC
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.

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-27, 05:26 UTC
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.

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-27, 18:11 UTC
by Eugensyl2
Support++

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-27, 20:42 UTC
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)

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-28, 08:41 UTC
by Fla$her
Support for character enumeration and caret navigation relative to uppercase letters (no language restrictions).

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-29, 08:42 UTC
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. :(

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-29, 10:54 UTC
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.

Re: Expand the use of the CtrlArrow parameter

Posted: 2023-05-29, 18:50 UTC
by funkymonk
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

Posted: 2025-04-24, 08:20 UTC
by janm399
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.