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
|
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 |
|
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
|
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 |
|
Daniel Imms
|
f7d6ab5f2a
|
Move the selection model to its own module
|
2017-05-25 13:20:57 -07:00 |
|
Daniel Imms
|
0716cffd7d
|
Tidy up _areSelectionValuesReversed
|
2017-05-25 12:46:54 -07:00 |
|
Daniel Imms
|
e29ab29441
|
Fix drag when selectioning via double/triple click
|
2017-05-25 12:46:08 -07:00 |
|
Daniel Imms
|
9f271de803
|
Implement triple click to select line
|
2017-05-25 12:27:47 -07:00 |
|
Daniel Imms
|
43c796a781
|
Support copying of select all text
|
2017-05-25 11:35:22 -07:00 |
|
Daniel Imms
|
25152e4441
|
Add select all API
|
2017-05-25 10:14:40 -07:00 |
|
Daniel Imms
|
3846fe0a7d
|
Add null checks to fix trim related crash
|
2017-05-25 09:55:08 -07:00 |
|
Daniel Imms
|
b3b2bd1faf
|
Don't flag user scrolling if no scrolling happens
|
2017-05-25 09:51:13 -07:00 |
|
Daniel Imms
|
2c3d98abc8
|
Fix bug with parser state when using vtop
Fixes #662
|
2017-05-25 09:36:59 -07:00 |
|
Daniel Imms
|
0dc3dd0336
|
Initial scroll drag implementation
|
2017-05-23 11:20:55 -07:00 |
|
Daniel Imms
|
c4762e7228
|
Merge remote-tracking branch 'ups/master' into 207_selection_manager
|
2017-05-22 19:51:42 -07:00 |
|
Daniel Imms
|
d2b0d514f8
|
Add missing semi-colons
|
2017-05-21 13:51:02 -07:00 |
|
Daniel Imms
|
ab40908fa4
|
Disable selection manager in mouse mode
This allows the application to take full control of the selection
|
2017-05-21 12:35:07 -07:00 |
|
Daniel Imms
|
a5c48c891e
|
Temp fix until mouse getCoords PR merged
|
2017-05-21 12:16:36 -07:00 |
|
Daniel Imms
|
70e35de56b
|
Polish comments and cap code
|
2017-05-21 12:05:30 -07:00 |
|
Daniel Imms
|
c323e0ad4a
|
jsdoc
|
2017-05-21 11:57:24 -07:00 |
|
Daniel Imms
|
4d32826891
|
Pull getCoords into a Mouse util module
This is part of the work to prepare for the upcoing selection changes
Related #207
|
2017-05-21 11:50:01 -07:00 |
|
Daniel Imms
|
13088f55a0
|
Declare pt and valid vars in correct spot
|
2017-05-21 11:27:57 -07:00 |
|
Daniel Imms
|
ea008411e4
|
Add missing EventEmitter.emit args/types
|
2017-05-21 11:25:18 -07:00 |
|
Daniel Imms
|
e63fdf580b
|
Clean up
|
2017-05-20 15:21:12 -07:00 |
|
Daniel Imms
|
597c6939c8
|
Handle basic double click select
|
2017-05-20 00:17:23 -07:00 |
|
Daniel Imms
|
293ae18a11
|
Fix copy after scroll
|
2017-05-20 00:01:55 -07:00 |
|
Daniel Imms
|
32b34cbe4c
|
Handle copy
|
2017-05-19 23:53:20 -07:00 |
|
Daniel Imms
|
2f6d05f99d
|
Handle scrolling of selection
|
2017-05-19 23:32:26 -07:00 |
|
Daniel Imms
|
ad3ae67e70
|
Get selection partially rendering
|
2017-05-19 23:29:51 -07:00 |
|
Daniel Imms
|
b594407cd5
|
Tell renderer to draw selection
|
2017-05-19 20:06:05 -07:00 |
|
Daniel Imms
|
207c4cf961
|
More work on SelectionManager
|
2017-05-19 19:57:52 -07:00 |
|
Daniel Imms
|
fe11837a61
|
Create new entries when shifting
|
2017-05-19 19:11:28 -07:00 |
|
Daniel Imms
|
fee912023f
|
Merge remote-tracking branch 'ups/master' into 207_selection_manager
|
2017-05-19 18:38:24 -07:00 |
|
Daniel Imms
|
aad8439542
|
Fix lint errors
|
2017-05-16 10:07:55 -07:00 |
|
Daniel Imms
|
1a777edffe
|
Add missing return type
|
2017-05-16 10:04:12 -07:00 |
|
Daniel Imms
|
537018f71f
|
DomElementObjectPool jsdoc
|
2017-05-16 10:03:56 -07:00 |
|
Daniel Imms
|
67ca3a9334
|
More string interpolation
|
2017-05-16 09:57:50 -07:00 |
|
Daniel Imms
|
5fb30979c1
|
Add jsdoc back, was lost in merge
|
2017-05-14 14:28:06 -07:00 |
|
Daniel Imms
|
cf863d4849
|
Use string interpolation
|
2017-05-14 14:26:45 -07:00 |
|
Daniel Imms
|
47814847f9
|
Remove var usages
|
2017-05-14 12:47:17 -07:00 |
|
Daniel Imms
|
9ec8974545
|
More clean up
|
2017-05-14 12:40:45 -07:00 |
|
Daniel Imms
|
c887c6e0f6
|
Clean up
|
2017-05-14 12:27:06 -07:00 |
|
Daniel Imms
|
6c8949bba1
|
Only wrap single width unicode chars
|
2017-05-14 12:20:01 -07:00 |
|
Daniel Imms
|
508d3ab68c
|
Merge remote-tracking branch 'ups/master' into 449_keep_span_pool
|
2017-05-14 12:09:47 -07:00 |
|
Daniel Imms
|
3baa6b9237
|
Wrap all characters temporarily in spans to force fixed with
Fixes #467
|
2017-05-07 16:08:01 -07:00 |
|
Daniel Imms
|
23e6a475ee
|
Merge remote-tracking branch 'origin/master' into 449_keep_span_pool
|
2017-05-07 15:49:40 -07:00 |
|
Daniel Imms
|
46d62f4972
|
Support cursorStyle selection in demo
|
2017-04-19 18:16:48 -07:00 |
|
Daniel Imms
|
5cafcdb695
|
Keep cursor blink interval after a reset
Fixes #638
|
2017-04-19 11:22:18 -07:00 |
|
Daniel Imms
|
584ec681af
|
Merge remote-tracking branch 'ups/master' into 591_element_on_validation
|
2017-04-04 09:50:04 -07:00 |
|
Daniel Imms
|
64663bf4a8
|
Fix tests
|
2017-04-04 09:35:52 -07:00 |
|
Daniel Imms
|
fe8334a873
|
Merge remote-tracking branch 'ups/master' into 612_multiple_links_in_row
|
2017-04-04 09:33:53 -07:00 |
|
Daniel Imms
|
0c4ba9fd67
|
Clear cursor blink interval on blur
|
2017-04-03 15:09:38 -07:00 |
|
Daniel Imms
|
aca81c764a
|
Use setInterval over animation for cursor blink
Fixes #625
|
2017-04-03 14:49:21 -07:00 |
|
Daniel Imms
|
8c2db8ddb8
|
More tests
|
2017-03-31 02:10:07 -07:00 |
|
Daniel Imms
|
5546baa927
|
Fix edge case
|
2017-03-31 01:54:21 -07:00 |
|
Daniel Imms
|
d814009721
|
Add tests
|
2017-03-31 01:48:51 -07:00 |
|
Daniel Imms
|
08fd050c3f
|
Support multiple link matches in a single row
Fixes #612
|
2017-03-31 01:48:35 -07:00 |
|
Daniel Imms
|
b0624cadb7
|
Allow links to be registered before terminal is attached to DOM
Fixes #618
|
2017-03-24 11:04:04 -07:00 |
|
Daniel Imms
|
adde8ab2c3
|
Ensure terminal links are not draggable
|
2017-03-16 12:07:25 -07:00 |
|
Daniel Imms
|
b68180b97b
|
Allow ~ char in linkify path and query fragments
|
2017-03-15 13:55:57 -07:00 |
|
Daniel Imms
|
bef7137c92
|
Fix bug
|
2017-03-09 10:47:09 -08:00 |
|
Daniel Imms
|
11f62bab34
|
Expose setHypertextValidationCallback
|
2017-03-09 10:39:08 -08:00 |
|
Daniel Imms
|
b66776a047
|
Include element in validationCallback
Fixes #591
|
2017-03-09 10:23:59 -08:00 |
|
Daniel Imms
|
008d1df106
|
Merge remote-tracking branch 'up/master' into cleanUpTsConfig
|
2017-03-08 11:47:56 -08:00 |
|
Daniel Imms
|
0bbd8f0a16
|
Implement CSI 3 J - Erase saved lines
Fixes #587
|
2017-03-07 14:01:42 -08:00 |
|
Daniel Imms
|
235ae2fbb9
|
Fix http link handler logic
|
2017-03-04 15:02:08 -08:00 |
|
Daniel Imms
|
1f518b0b45
|
Allow http link handler to fallback to standard handler
|
2017-03-04 14:44:11 -08:00 |
|
Daniel Imms
|
ab34d53d6b
|
Remove unused import
|
2017-03-04 14:09:13 -08:00 |
|
Daniel Imms
|
aafb5333b9
|
Give event to handler
|
2017-03-04 14:08:05 -08:00 |
|
Daniel Imms
|
5e2791f981
|
Revert "Add fail handler"
This reverts commit 1ecc5674ac.
|
2017-03-04 14:01:40 -08:00 |
|
Daniel Imms
|
1ecc5674ac
|
Add fail handler
|
2017-03-04 14:01:34 -08:00 |
|
Daniel Imms
|
15a867d2b7
|
Support cmd+click on mac
|
2017-03-03 12:37:34 -08:00 |
|
Daniel Imms
|
012051c1db
|
Fix matchIndex on http
|
2017-03-02 17:35:10 -08:00 |
|
Daniel Imms
|
b5483898da
|
Merge remote-tracking branch 'upstream/master' into 578_ctrl_click_links
|
2017-03-02 17:34:30 -08:00 |
|