Daniel Imms
b5f53b341d
Test search event, fix returning -1 for no results
...
Fixes #3830
2022-05-26 11:37:54 -07:00
Daniel Imms
53f05de3e7
Add selectionForeground webgl unit test
2022-05-17 12:12:01 -07:00
Daniel Imms
59e1bddb6e
Merge branch 'master' into 3810
2022-05-17 11:43:06 -07:00
Daniel Imms
f9bd0b8fed
Fix setting selection foreground on webgl
2022-05-17 11:39:14 -07:00
Megan Rogge
a5f2ea336e
update search results onBufferContentsChange ( #3811 )
2022-05-17 10:00:55 -07:00
Daniel Imms
c502272373
Support selection foreground in webgl
...
Part of #3810
2022-05-16 09:40:07 -07:00
Daniel Imms
d7fb0141d2
Whitespace change to trigger build
...
The fix for #3720 didn't touch any file in the webgl addon so it didn't end
up releasing.
2022-05-13 12:32:17 -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
5a9f2635d3
Merge branch 'master' into scrollbar-impro
2022-05-13 05:29:57 -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
181fb1cfe5
Remove selection-specific render pass, use bg overrides instead
...
Part of #3778
2022-05-11 11:46:44 -07:00
Daniel Imms
999f255893
Fix sorted list edge case
2022-05-11 09:49:23 -07:00
Daniel Imms
c0b4edaf31
Reduce duplicate with getDecorationsAtCell method
2022-05-11 08:37:42 -07:00
Daniel Imms
abdce874db
Fix cases where only one override was with tests
2022-05-11 08:31:09 -07:00
Daniel Imms
6b4df216d3
Remove unneeded code
2022-05-10 12:08:42 -07:00
Daniel Imms
f502f55ae1
Merge branch 'master' into bg_decorations
2022-05-10 11:50:01 -07:00
Daniel Imms
afe1d7ed6f
Fix webgl contrast tests since a bug in luminance was fixed
2022-05-10 11:48:37 -07:00
Daniel Imms
1628795557
Fix fg/bg flags being set by negative ints
2022-05-10 09:42:12 -07:00
Daniel Imms
a67e7286d3
Use correct row for override in webgl renderer
2022-05-10 06:16:32 -07:00
Daniel Imms
7c87f5b47a
Start to use new API in search addon
2022-05-10 05:31:49 -07:00
Daniel Imms
0a26cee08b
Pull override color logic into a function
2022-05-10 05:06:20 -07:00
Daniel Imms
40716b8ca5
Consolidate override logic into model/WebglRenderer
2022-05-10 05:00:52 -07:00
Daniel Imms
d29388394c
Get Webgl rendering fg/bg overrides
2022-05-10 04:53:31 -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
0c6877f46f
Move color to common, work with IColor
...
IColor is needed for the minimum contrast ratio function currently.
2022-05-09 14:00:39 -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
da33543ffb
align isPowerlineGlyph across renderers ( #3743 )
2022-04-20 14:25:46 -07:00
Megan Rogge
38f0dd9be2
apply to dom and webgl too ( #3742 )
2022-04-19 18:46:39 -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
Daniel Imms
1d728f7f87
Merge branch 'master' into fixweblink
2022-03-31 09:12:15 -07:00
Daniel Imms
51d18e533f
Merge branch 'master' into dev_wlw
2022-03-31 09:00:09 -07:00
Megan Rogge
842f4c2088
Add search result count to SearchAddon ( #3716 )
2022-03-30 20:08:55 -04:00
Pavel Sychev
c8b0ddbc72
Merge branch 'master' into fixweblink
2022-03-30 17:10:29 +02:00
Daniel Imms
bd3bd7fda8
Remove duplicate interface
2022-03-30 07:58:35 -07:00
Pavel Sychev
7f87b46328
Expose urlRegex in the public .d.ts file.
2022-03-30 14:30:56 +02:00
Pavel Sychev
32ae29be37
Fix WebLinkProvider to handle wrapped lines properly.
2022-03-30 14:27:02 +02:00
Daniel Imms
89af5b1098
Merge pull request #3713 from CommanderRoot/refactor/rm-deprecated-substr
...
refactor: replace deprecated String.prototype.substr()
2022-03-28 06:58:38 -07:00
dependabot[bot]
4337326169
Bump minimist from 1.2.5 to 1.2.6 in /addons/xterm-addon-ligatures
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-26 15:33:57 +00:00
Tobias Speicher
28dcd38a53
refactor: replace deprecated String.prototype.substr()
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com >
2022-03-25 20:41:06 +01: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