terminal/src/cascadia/TerminalControl
Don-Vito efc92de19f
Fix selection on multi-click with no shift (#9455)
When working on #9403 I completely forgot that
double-click and triple-click should work even without shift.
Fixed it by allowing multi-selection even if not shift is pressed.

Closes #9453

## Validation Steps Performed
* [x] single click = no selection
* [x] single click and drag = selection starting from first point
* [x] single click in unfocused pane and drag = focus pane, selection starting from first point
* [x] double-click = selects a whole word
* [x] triple-click = selects a whole line
* [x] double-click and drag = selects a whole word, drag selects whole words
* [x] triple-click and drag = selects a whole line, drag selects whole lines
* [x] Shift single-click = defines start point
* [x] second Shift single-click = defines end point
* [x] Shift double-click = selects entire word
* [x] Shift triple-click = selects entire line
* [x] Shift double-click and drag = selects entire word, drag selects whole words
* [x] Mouse mode: Shift single-click = defines start point
* [x] Mouse mode: second Shift single-click = defines end point
* [x] Mouse mode: Shift double-click = selects entire word
* [x] Mouse mode: Shift triple-click = selects entire line
* [x] Mouse mode: Shift double-click and drag = selects entire word, drag selects whole words
2021-03-12 03:37:57 +00:00
..
Resources/en-US Introduce read-only panes (#8867) 2021-02-08 18:03:55 +00:00
IControlSettings.idl Add support for "focus follows mouse" mode (#8965) 2021-02-09 22:18:20 +00:00
IKeyBindings.idl Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
IMouseWheelListener.idl Pass mouse button state into HandleMouse instead of asking win32 (#6765) 2020-08-07 16:21:09 -07:00
init.cpp Hook up the WIL fallback error tracer in Terminal (#7864) 2020-10-09 22:20:12 +00:00
KeyChord.cpp Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
KeyChord.h Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
KeyChord.idl Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
packages.config Update C++/WinRT to 2.0.210309.3 (#9437) 2021-03-10 16:04:59 -06:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Exclude more rarely-used stuff from Windows headers (#8513) 2020-12-11 19:35:23 +00:00
SearchBoxControl.cpp Teach Find command to populate the search box with selected text (#8521) 2020-12-10 01:24:16 +00:00
SearchBoxControl.h Teach Find command to populate the search box with selected text (#8521) 2020-12-10 01:24:16 +00:00
SearchBoxControl.idl Teach Find command to populate the search box with selected text (#8521) 2020-12-10 01:24:16 +00:00
SearchBoxControl.xaml Make Terminal look great in High Contrast (#6833) 2020-07-08 12:08:08 -07:00
TermControl.cpp Fix selection on multi-click with no shift (#9455) 2021-03-12 03:37:57 +00:00
TermControl.h Fix selection logic with shift on multi-click (#9403) 2021-03-08 19:15:46 +00:00
TermControl.idl Add findNext, findPrev actions (#8917) 2021-02-18 19:21:35 +00:00
TermControl.xaml Ensure hyperlinks de-underline when pointer leaves terminal (#9195) 2021-02-17 13:33:53 -08:00
TermControlAutomationPeer.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
TermControlAutomationPeer.h Define Automation Properties for TermControl (#4732) 2020-02-27 16:37:56 -08:00
TermControlAutomationPeer.idl Attach UiaRenderer and Fire Selection Changed Events (#2989) 2019-12-11 13:52:49 -08:00
TerminalControl.def Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
TerminalControl.vcxproj Remove all our path antics; force native projects to bin/, obj/ (#8062) 2020-10-27 15:00:41 -07:00
TerminalControl.vcxproj.filters Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
ThrottledFunc.cpp Set memory order on slow atomics (#6920) 2020-07-17 17:11:45 +00:00
ThrottledFunc.h Update _TerminalCursorPositionChanged to use ThrottledFunc (#6492) 2020-06-23 14:05:40 -07:00
TSFInputControl.cpp Move ICore/ControlSettings to TerminalControl project (#7167) 2020-08-07 14:46:52 +00:00
TSFInputControl.h Replace some of our macros to reduce confusion, increase success (#9376) 2021-03-04 11:27:03 -08:00
TSFInputControl.idl Add font weight options (#6048) 2020-05-20 20:17:17 +00:00
TSFInputControl.xaml Allow IME Text Wrapping (#5005) 2020-03-19 19:15:13 +00:00
XamlUiaTextRange.cpp hook up UIA tree to WPF control (#4548) 2020-02-24 23:17:55 +00:00
XamlUiaTextRange.h hook up UIA tree to WPF control (#4548) 2020-02-24 23:17:55 +00:00