Daniel Imms
8478aa7a51
Fix selection on bottom right char when mouse goes outside viewport
...
Part of #1029
2017-11-05 12:18:59 -08:00
Daniel Imms
3921457bf3
Merge pull request #1104 from Tyriar/902_scrollLines_api
...
Replace scrollDisp with the more descriptive scrollLines
2017-11-04 20:43:06 -07:00
Daniel Imms
05cbe41d39
scrollDisp -> scrollLines
...
Fixes #902
2017-11-04 03:20:24 -07:00
Daniel Imms
d81df46453
Don't send mouse events when selection is forced
...
Fixes #1090
2017-10-27 16:48:00 -07:00
Daniel Imms
29be4f6a92
Merge remote-tracking branch 'ups/v3' into 1015_fix_emoji_selection
2017-10-01 05:54:10 -07:00
Daniel Imms
da4e3e6e9f
Improve documentation on word selection
2017-09-30 09:45:11 -04:00
Daniel Imms
e0c28bc7d2
Fix selecting words containing ZWJ emojis
2017-09-30 09:32:33 -04:00
Daniel Imms
58259f8bd9
Fix select word on wide characters
2017-09-30 08:30:19 -04:00
Daniel Imms
4828c4a6fa
Clean up logs/comments
2017-09-30 08:02:03 -04:00
Daniel Imms
feb2b958a4
Mostly emoji selection
...
Selection is not aware of characters that have a size greater than 1.
When the emoji is at the start of the selection it still doesn't work.
Fixes #1015
2017-09-30 06:13:58 -04:00
Daniel Imms
a8174398f5
Calculate mouse coordinates using correct char dimensions
...
Previously the Mouse class was using raw CSS pixels, we need CSS pixels based
on the amount of space the cells take up on the canvas
See Microsoft/vscode#35114
2017-09-28 17:23:45 -04:00
Daniel Imms
73d3164426
Fix alt+selection while mouse events are enabled
...
Fixes #970
2017-09-12 20:00:25 -07:00
Daniel Imms
75b91c618e
Update license text
2017-09-08 10:16:42 -07:00
Daniel Imms
e123dd1849
Null check if clicking on scroll bar
2017-09-03 21:15:14 -07:00
Daniel Imms
24a98f2fa8
Remove rowContainer and children, disable Linkifier
2017-09-02 13:26:05 -07:00
Daniel Imms
c92a2f964a
Support lineHeight
2017-09-02 12:27:09 -07:00
Daniel Imms
d601f0aec2
Hang on to selection state to avoid redrawing
2017-08-31 00:13:49 -07:00
Daniel Imms
3d1bb2c60f
Support selection
2017-08-31 00:09:23 -07:00
Daniel Imms
b706383687
Allow mousedown even to propagate on right click
...
Fixes #913
2017-08-24 11:15:25 -07:00
Daniel Imms
0902b92f79
Revert "Disable selection override on Windows/Linux"
...
This reverts commit 3479614c73 .
2017-08-08 01:05:24 -07:00
Daniel Imms
fd61c8e874
Use a const for all refs to data char and width
...
Part of #791
2017-08-07 15:40:48 -07:00
Daniel Imms
c2bb507fe4
Move BufferLines.ts into Buffer.ts
...
Part of #791
2017-08-07 15:22:58 -07:00
Daniel Imms
ae3169e6ae
Add CharData and LineData
2017-08-05 21:11:16 -07:00
Daniel Imms
f9fce53cc4
Add typedef tslint rule
2017-08-05 13:56:38 -07:00
Daniel Imms
aee474b53e
Type InputHandler._terminal
2017-08-05 12:57:29 -07:00
Daniel Imms
3479614c73
Disable selection override on Windows/Linux
2017-07-28 14:06:55 -07:00
Joao Moreno
6a3b39b428
fix context menu in disabled state
2017-07-26 09:07:20 +02:00
Joao Moreno
0e0ecc2d6a
listen to shift when in Linux
2017-07-25 17:11:41 +02:00
Joao Moreno
80a83ff8d9
wip: alt forces selection
2017-07-24 18:08:11 +02:00
Daniel Imms
e56f710cd1
Make SelectionManager more resilient
...
Fixes #809
2017-07-21 05:45:53 -07:00
Daniel Imms
e3ded61122
Add null check when mouse coords are bad
...
This happens if the viewport is bad (which was fixed in another commit).
Fixes #801
2017-07-18 20:34:24 -07:00
Daniel Imms
59f75555bc
Add IBuffer, IBufferSet and fix CircularList type
2017-07-16 03:47:15 +03:00
Paris Kasidiaris
bbafdd3d06
Start isolating buffer attributes into Buffer class
2017-07-16 03:47:15 +03:00
mofux
2275601bf7
Removed unused constants from the selection manager
2017-07-14 14:22:30 +02:00
Daniel Imms
af58643ee7
Merge branch 'master' into 553_find_api
2017-07-13 08:37:04 -07:00
thomas
9bd52820e7
use evt.detail as mouse counter
2017-07-11 20:13:13 +02:00
Daniel Imms
11de0d0ca0
Merge remote-tracking branch 'ups/master' into 553_find_api
2017-07-08 23:07:57 -07:00
Daniel Imms
857d9bcf2a
Merge branch 'master' into 745_colon_word_sep
2017-07-02 12:30:45 -07:00
Daniel Imms
ca03f8928d
Remove colon from the word separators
...
Fixes #745
2017-06-30 17:07:52 -07:00
Daniel Imms
f071531494
Merge branch 'master' into 732_drop_selection_on_alt
2017-06-29 12:13:10 -07:00
Daniel Imms
cfe22e6fd2
Use crlf when copying on Windows
...
Fixes #737
2017-06-29 07:38:41 -07:00
Daniel Imms
645a5920da
Drop selection when the active buffer changes
...
Fixes #732
2017-06-27 10:13:16 -07:00
Daniel Imms
baccca843c
Merge branch 'master' into 553_find_api
2017-06-22 19:37:18 -07:00
Daniel Imms
f1252abbbe
Merge branch 'master' into 724_fix_hasSelection
2017-06-21 08:34:33 -07:00
Daniel Imms
f93b24acc7
Merge branch 'master' into 553_find_api
2017-06-20 17:44:43 -07:00
Daniel Imms
63d63c27e7
Ensure outside selection pastes are respected
...
We were resetting the selection on every auxclick, meaning outside
selections could not be pasted in when the terminal had a current
selection.
2017-06-20 11:17:12 -07:00
Daniel Imms
7b46940772
Have Terminal.hasSelection return false when no selection
...
Fixes #724
2017-06-20 10:38:33 -07:00
Daniel Imms
dc165175cf
Handle middle click to paste selection
...
This appears to work in Chrome but not Firefox
2017-06-20 10:18:29 -07:00
Daniel Imms
8811d96a8b
Fix selection going to clipboard
...
Part of #699
2017-06-19 15:45:18 -07:00
Daniel Imms
1c659841fa
Merge branch 'master' into 697_select_to_word
2017-06-19 07:47:40 -07:00