Page 1 of 1

"Compare by content" - hotkeys for text selecting

Posted: 2018-05-13, 16:01 UTC
by Gral
In "Compare by content" window you can choose "Copy as text" for selection, but there is no working shortcut keys for select - doesn't works any standard combination: CTRL+A, Shift+Arrows, Shift+Page(Up/DowN), Shift+(HomeEnd)- only mouse drag. It's no problem for e.g. 30 lines but try this with 10000 lines or more!
Please allow these standard shortcut keys and context menu entry "Select All" for text selecting on "Compare by content" window.
May be especially useful with "Show only differences".

Posted: 2018-05-14, 09:47 UTC
by ghisler(Author)
You can use Ctrl+Shift+End and Shift+Arrows in edit mode.

Posted: 2018-05-14, 15:18 UTC
by petermad
You can mark one line in view mode by pressing Space.

If you want to mark a lot of lines in view mode, without mouse scrolling you can do this:

1. Mark the first line line (just click on it) in the source panel (first panel)
2. Click on the opposite panel (second panel)
3. Move down with PgDn, or End until you se the last line in the first panel
4. Shift+click on the last line in the first panel - this will mark everytning from the first to the last clicked line.

Posted: 2018-05-14, 22:25 UTC
by Gral
OMG :roll:
This is request/sugesting, not question thread "how can i do this".
I know how do this already.
Compare this:
1. Mark the first line line (just click on it) in the source panel (first panel)
2. Click on the opposite panel (second panel)
3. Move down with PgDn, or End until you se the last line in the first panel
4. Shift+click on the last line in the first panel - this will mark everytning from the first to the last clicked line.
With this

Code: Select all

CTRL+A, CTRL+C
Exactly same way as in Lister!
Make life easier, not more complicated!

Posted: 2018-05-16, 17:39 UTC
by Gral
"CTRL+A" works now in TC 9.20ß3
Thank you!

Posted: 2018-05-17, 10:16 UTC
by ghisler(Author)
There is just one problem: You cannot easily remove the selection while not in edit mode. Any suggestions?

Posted: 2018-05-17, 13:59 UTC
by MarcinW
Press Ctrl+A once again?

Posted: 2018-05-17, 14:37 UTC
by Stefan2
ghisler(Author) wrote:There is just one problem: You cannot easily remove the selection while not in edit mode. Any suggestions?
To "remove the selection" of a partly or a Ctrl+A selection, just left click at one of the lines.

Then that line only is selected (only in "not in edit mode").

Works at least for me on W7/64 with "tc920x32_64_b3_(2018-05-16)"




 

Posted: 2018-05-17, 14:54 UTC
by Gral
Stefan2 wrote:
ghisler(Author) wrote:There is just one problem: You cannot easily remove the selection while not in edit mode. Any suggestions?
To "remove the selection" of a partly or a Ctrl+A selection, just left click at one of the lines.

Then that line only is selected (only in "not in edit mode").

...
 
Exactly!
This is default in Windows programs, obvious and expected behaviour.
If you think about new additional hotkey for keyboard deselection it should be "CTRL+ Num -" as in files panels (cm_Clearall)

Posted: 2018-05-18, 09:44 UTC
by ghisler(Author)
Sorry, I prefer not to remove the selection on a single click. I would have to add many selection methods (Ctrl+Click, Shift+Click, etc) which would take many weeks to get right. Maybe in a later version.