Daniel Imms
ace4c3663f
Bump other addons for v5.1 release
...
Fixes #4336
2022-12-21 08:27:01 -08:00
Daniel Imms
9f1a71485c
Fix invalid jsdoc tags
2022-10-15 08:41:49 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
f61d8c91a3
Properly register disposables in SearchAddon
2022-10-08 08:30:39 -07:00
Daniel Imms
4d97729010
Revert "Merge pull request #4166 from Tyriar/event_with_emitter"
...
This reverts commit d22f7c9edd , reversing
changes made to 1f8e6f0952 .
2022-10-06 09:48:54 -07:00
Daniel Imms
ed15a8e170
Create new event with emitter object to simplify code
2022-10-01 08:45:40 -07:00
Daniel Imms
c23f4313fb
Release v5, including addon version bumps
2022-09-15 12:22:32 -07:00
Svante Boberg
4f46f8e123
Merge branch 'xtermjs:master' into master
2022-08-04 22:05:07 +02:00
Daniel Imms
76d9d5a324
Bump all peer deps to v5
...
Fixes #3997
2022-08-03 09:45:23 -07:00
Svante Boberg
14b02b9ad5
Bump minimum target to es2015
...
Now that we no longer support IE we can raise the minimum ES target a
bit. Changing to es2015 shaves off ~17% from the main bundle size, also
it prevents generators from being transpiled into regular functions etc.
so I would guess it has the potential to give some general performance
improvements too.
For fun I also tried to raise it to es2022, this gave a slightly bigger
bundle than es2015 so I think es2015 could be an ok target unless we
need something newer for some reason.
2022-08-01 10:17:10 +02: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