Daniel Imms
76d9d5a324
Bump all peer deps to v5
...
Fixes #3997
2022-08-03 09:45:23 -07:00
Daniel Imms
520a270afc
Update tests to use new getSelectionPosition API
2022-07-28 06:17:44 -07:00
Daniel Imms
d1f53e2b02
Replace ISelectionPosition with IBufferRange
...
Fixes #2480
2022-07-28 05:58:15 -07:00
Daniel Imms
0a0ebb68b5
v4.19.0
2022-06-29 09:40:07 -07:00
Megan Rogge
e77a0ec886
return 0 instead of -1 for no result find count ( #3874 )
2022-06-27 14:42:46 -04:00
Daniel Imms
0c0a34d888
Fix search when the search line contains a null character
...
Fixes #3834
2022-05-26 15:09:01 -07:00
Daniel Imms
b5f53b341d
Test search event, fix returning -1 for no results
...
Fixes #3830
2022-05-26 11:37:54 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
Megan Rogge
82a6144fd1
reset search result index when buffer changes/ terminal is resized ( #3793 )
2022-05-13 08:47:56 -07:00
Daniel Imms
77d5d52e71
Allow styling active result decoration via .xterm-find-active-result-decoration
...
Fixes #3801
2022-05-13 08:10:35 -07:00
Daniel Imms
f5223d30b8
Fix typo
2022-05-12 10:52:16 -07:00
Daniel Imms
7b4423819e
Support setting the layer of a decoration
...
Fixes #3778
2022-05-12 10:51:11 -07:00
Daniel Imms
f502f55ae1
Merge branch 'master' into bg_decorations
2022-05-10 11:50:01 -07:00
Daniel Imms
7c87f5b47a
Start to use new API in search addon
2022-05-10 05:31:49 -07:00
Megan Rogge
56c7c5c4ed
check if undefined instead of index directly to fix search addon issue ( #3767 )
2022-05-09 15:55:33 -07:00
Daniel Imms
95979c4a7d
Correct param names/jsdoc in SearchAddon
2022-05-09 10:34:40 -07:00
Megan Rogge
218745ab85
refine name for clearDecorations param ( #3757 )
2022-05-02 14:20:25 -07:00
Megan Rogge
656912c934
on data/ buffer change, update the match count ( #3752 )
2022-04-27 19:10:00 +00:00
Megan Rogge
7fa32af051
clear cachedSearchTerm when decorations are cleared ( #3750 )
2022-04-27 18:20:00 +00:00
Megan Rogge
fa92e6074d
search fixes ( #3748 )
2022-04-26 15:45:30 -07:00
Megan Rogge
239f669041
add max find result count for which to show decorations ( #3745 )
2022-04-21 16:04:08 -07:00
Megan Rogge
0785a1bf24
fix #3735 ( #3736 )
2022-04-19 08:25:17 -07:00
Megan Rogge
e98b6315e4
always update overview ruler decorations ( #3733 )
2022-04-13 18:19:22 +00:00
Megan Rogge
85b5161380
don't return if results are the same bc color might have changed ( #3731 )
2022-04-08 21:07:46 +00:00
Megan Rogge
842f4c2088
Add search result count to SearchAddon ( #3716 )
2022-03-30 20:08:55 -04:00
Daniel Imms
1f690c7703
Merge remote-tracking branch 'upstream/master' into 3705
2022-03-24 07:06:36 -07:00
Daniel Imms
24fb498757
Don't override decoration positions
...
This also fixes an exception that was throwing where we only allowed links
within the terminal's 'rows', which should have been buffer length
Fixes #3705
Part of microsoft/vscode#145808
2022-03-24 07:05:16 -07:00
meganrogge
86f80b344b
don't throw if row > terminal.rows
2022-03-23 19:20:16 -04:00
Daniel Imms
b55c7e342a
Improve setting names
2022-03-23 15:09:35 -07:00
Daniel Imms
23ed3327ce
Allow configuring search overview ruler and border color
...
Part of microsoft/vscode#145744
Part of microsoft/vscode#145742
Part of microsoft/vscode#145746
2022-03-23 15:04:13 -07:00
meganrogge
3a0f64545e
throw for invalid row or col
2022-03-23 14:01:56 -04:00
meganrogge
b9d10f1453
use correct start col/row
2022-03-23 13:54:01 -04:00
Daniel Imms
6ef1bdd7ce
Debounce onData listener
2022-03-21 16:37:46 -07:00
Daniel Imms
f9deb2f840
Don't set overview ruler width when using find
...
An embedder may not want to enable it
2022-03-21 16:34:48 -07:00
Daniel Imms
23076ba6cc
Fix duplicate decorations getting created
2022-03-21 16:24:34 -07:00
Daniel Imms
fe530d92ec
Ensure marker is disposed when decoration is
2022-03-21 16:11:31 -07:00
Daniel Imms
efda0e77a9
Fix indentation properly this time
2022-03-21 16:04:23 -07:00
Daniel Imms
ef3695f727
Move setting opacity into js
2022-03-21 16:03:10 -07:00
Daniel Imms
09d1a01126
Add ISearchDecorationOptions to the d.ts
2022-03-21 16:01:34 -07:00
Daniel Imms
7a70db709c
Fix API indentation
2022-03-21 15:51:51 -07:00
meganrogge
4645ef706e
refactor
2022-03-21 18:13:08 -04:00
meganrogge
866ee23df9
add disposeDecorations helper
2022-03-21 15:45:45 -04:00
meganrogge
fefdd8a4e9
clearDecorations
2022-03-21 15:44:17 -04:00
meganrogge
7a502c6b83
use const enum
2022-03-21 15:43:08 -04:00
meganrogge
90dca7d650
Merge branch 'findAll' of https://github.com/meganrogge/xterm.js into findAll
2022-03-21 15:37:45 -04:00
meganrogge
e8aa4eba75
IDecorationColor -> ISearchDecorationOptions
2022-03-21 15:36:39 -04:00
Megan Rogge and Daniel Imms
64d5af38f5
Update addons/xterm-addon-search/src/SearchAddon.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2022-03-21 15:35:01 -04:00
meganrogge
4cea6b3f41
revert a breaking change
2022-03-21 13:35:56 -04:00
meganrogge
97e4af3707
only highlight all matches when decorations are requested
2022-03-21 13:07:25 -04:00
meganrogge
1098173908
use set timeout
2022-03-21 11:45:45 -04:00