Daniel Imms
6480933861
Skip failing tests of macOS and add to CI
...
Fixes #687
2017-06-09 16:27:47 -07:00
Daniel Imms
a889fef752
Merge pull request #670 from Tyriar/207_selection_manager
...
Reimplement selection in the terminal
2017-06-09 13:41:34 -07:00
Daniel Imms
6075498c24
Add class header comments
2017-06-09 12:47:16 -07:00
Daniel Imms
ee1da73a69
Add regression test
2017-06-09 11:59:18 -07:00
Daniel Imms
29ac6a153e
Fix issue with strings in wrapped spans being duplicated
...
This was happening because the linkifier assumed that top-level spans
in the terminal would only contain single text nodes
Fixes #642
2017-06-09 11:48:12 -07:00
Daniel Imms
264757e964
Use user-select supported by other browsers
2017-06-07 19:23:46 -07:00
Daniel Imms
e88a9ffd89
Fix bug when selection end is less than start
2017-06-07 19:17:38 -07:00
Daniel Imms
d56a611a19
Add .gitattributes file
...
Makes working on Windows less bothersome.
2017-06-07 19:16:59 -07:00
Daniel Imms
28ed7772c6
Select last character in bottom right in select all
2017-06-07 14:44:16 -07:00
Daniel Imms
a047359f81
Add more selection manager/model tests
2017-06-07 14:37:09 -07:00
Daniel Imms
b81c165bea
Add SelectionModel tests
2017-06-07 14:15:18 -07:00
Daniel Imms
4405f5e163
Fix clearSelection in select all mode
2017-06-07 13:48:12 -07:00
Daniel Imms
2012c8c91d
Move prepareTextForClipboard logic into SelectionManager
2017-06-07 13:42:08 -07:00
Daniel Imms
f719a4e91b
Fix tests
2017-06-07 13:20:44 -07:00
Daniel Imms
5d33727ae4
Add clearSelection API
2017-06-07 13:07:34 -07:00
Daniel Imms
1343b83fc3
Add hasSelection public API
2017-06-07 12:40:48 -07:00
Daniel Imms
9e47ec9af2
Add getSelectionText API
...
This allows consumers to implement their own copy functionality/keybindings
2017-06-07 11:59:28 -07:00
Daniel Imms
9c459aacc7
Explicitly size selectionContainer to allow for more flexible layouts
2017-06-07 11:48:31 -07:00
Daniel Imms
72724abac8
Ensure host program handles copy if mouseevents are active
2017-06-07 11:20:03 -07:00
Daniel Imms
9a86eeb333
Support copying in the alt buffer
2017-06-07 11:10:05 -07:00
Daniel Imms
46f6fd18b0
Merge remote-tracking branch 'ups/master' into set_row_height_explicitly
2017-06-06 14:34:07 -07:00
Daniel Imms
603f22a7bb
Set row height when char size is changed
...
When zoomed in line-height and actual rendered row height differs. This
can be seen in the viewport being too large when zoomed in right now
but also has additional impacts in the new selection model #207
2017-06-06 14:31:57 -07:00
Daniel Imms
13c401cbaa
Only refresh the selection on an animation frame
2017-06-06 10:52:42 -07:00
Daniel Imms
b812991072
Fix multiple drag scroll intervals being registered
2017-06-06 10:40:22 -07:00
Daniel Imms
2b2431824f
Fix select all with no start and include content below viewport
2017-06-06 23:13:50 -07:00
Daniel Imms
7147787441
Undo CiruclarList id changes, fix null check, lint
2017-06-06 22:59:16 -07:00
Daniel Imms
ec3bf1139d
Resolve TODOs
2017-06-06 22:33:32 -07:00
Daniel Imms
d0b603d033
jsdoc all of SelectionManager
2017-06-06 21:55:52 -07:00
Daniel Imms
2621be819e
Resolve more TODOs, add jsdoc
2017-06-06 21:43:19 -07:00
Daniel Imms
f380153f42
Resolve some TODOs
2017-06-06 21:29:30 -07:00
Daniel Imms
fd91c5e1a8
Add _selectLineAt test
2017-06-06 15:22:35 -07:00
Daniel Imms
f61d852f3c
Don't allow double click selection on empty row going out of viewport
2017-06-06 15:05:22 -07:00
Daniel Imms
5bc1112151
Select lines when dragging a triple click
2017-06-06 15:02:52 -07:00
Daniel Imms
59cc0b675e
Merge remote-tracking branch 'ups/master' into 207_selection_manager
2017-06-06 14:35:06 -07:00
Daniel Imms
db8ded2a02
Implement shift+click
2017-06-06 14:19:12 -07:00
Paris Kasidiaris
4b7279146a
Bump version to 2.7.0
...
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com >
2.7.0
2017-06-06 15:04:59 +00:00
Paris Kasidiaris
c4a2f7911d
Merge pull request #674 from sourcelair/issue-#671-restore-paste-event
...
Restore the "paste" terminal event
2017-06-06 11:23:18 +03:00
Paris Kasidiaris
db9fe53af3
Merge branch 'master' into issue-#671-restore-paste-event
2017-06-06 11:16:16 +03:00
Daniel Imms
d3865ad23f
Add some SelectionManager selectWorkAt tests, fix lint
2017-06-01 17:36:47 -07:00
Daniel Imms
8b1067d180
Remove no longer valid clipboard test and add new one
2017-06-01 17:11:07 -07:00
Daniel Imms
a53a0acd65
Fix issue with trimming whitespace
2017-06-01 17:04:59 -07:00
Daniel Imms
42724c7f42
Merge pull request #672 from Tyriar/662_parser_state_hack
...
Fix bug with parser state when using vtop
2017-05-27 15:07:52 -07:00
Paris Kasidiaris
616f069538
Fix #671 - Restore paste event
2017-05-27 15:30:26 +03:00
Daniel Imms
11cec31da6
Clean up wide char select word code
2017-05-25 21:12:44 -07:00
Daniel Imms
d9991b25a4
Support wide char double click
2017-05-25 20:48:48 -07:00
Daniel Imms
cb6533f3a6
Get double click selection for wide chars mostly working
2017-05-25 20:22:43 -07:00
Daniel Imms
54e7f65d4e
Support selecting wide characters
2017-05-25 19:34:32 -07:00
Daniel Imms
ec61f3acf0
Only trim the right whitespace from selection
...
Fixes #673
2017-05-25 18:52:06 -07:00
Daniel Imms
910aa1ad7f
Properly prepare text for clipboard for context menu
...
This makes the context menu in macOS embed the right text
2017-05-25 18:12:03 -07:00
Daniel Imms
24bed01fa4
Support copy and paste via context menu
2017-05-25 16:17:43 -07:00