Daniel Imms
50fc84f7d7
Support ILink.dispose
...
When displaying hovers/overlays using the link provider API currently
it's not possible to know when unused links are no longer cached in
xterm.js which can result in leaked event listeners.
2020-09-04 21:57:51 -07:00
Daniel Imms
27af770068
Remove intersecting lower priority links
...
Fixes #2848
2020-05-06 06:16:36 -07:00
Daniel Imms
f886698dc3
Workaround for hover firing multiple times
...
Fixes #2911
2020-05-06 04:53:25 -07:00
Daniel Imms
0707398a5b
Remove logs
2020-05-05 18:27:11 -07:00
Daniel Imms
484883f442
Fix Linkifier2 tests
2020-05-05 18:24:45 -07:00
Daniel Imms
d488b49fc4
Change link provider API to return all links for the line
...
Fixes #2848
2020-05-05 18:19:57 -07:00
Daniel Imms
06b8d36cf0
Fix other leaking listeners
2020-05-03 14:37:20 -07:00
Daniel Imms
b75e42a56c
Fix terminal object leaking
2020-05-03 12:46:37 -07:00
Daniel Imms
bdb438972f
Fix errors in Terminal and elsewhere
...
This was mostly ! to compel TS, we should actually fix this down the road
but that can come later.
2020-04-26 10:44:44 -07:00
Daniel Imms
e3c81048af
Use DI with Linkifier2
2020-04-25 07:29:07 -07:00
Daniel Imms
22aaf0471a
Invalidate all links above when the terminal scrolls
...
See microsoft/vscode#95556
2020-04-25 06:41:25 -07:00
Daniel Imms
d0519d6c25
Fix tests
2020-04-19 04:20:10 -07:00
Daniel Imms
2ce435f98d
Allow embedders to customize link decorations independently
...
See microsoft/vscode#95631
2020-04-19 04:07:22 -07:00
Daniel Imms
1282c060fc
Prevent hover callbacks firing if the mouse is outside the viewport
...
Fixes #2849
2020-04-18 18:02:51 -07:00
Daniel Imms
88ff19383b
Allow embedders to designate link hover elements
2020-04-18 09:13:09 -07:00
Daniel Imms
832312e095
Change hideUnderline to hideDecorations
...
Also track cursor style
2020-04-18 06:23:46 -07:00
Daniel Imms
f2ed01993d
Track changes to hideUnderline
2020-04-18 06:18:01 -07:00
Daniel Imms
ccf869e671
Merge pull request #2854 from Tyriar/hide_underline
...
Allow hiding of link underlines
2020-04-17 19:01:22 -07:00
Daniel Imms
48f579977e
Allow hiding of link underlines
...
See microsoft/vscode#95080
2020-04-17 18:46:01 -07:00
Daniel Imms
0cd2b78425
Clear link when leaving xterm link
...
Fixes #2851
2020-04-17 17:30:53 -07:00
Daniel Imms
309bdf3d70
Rename onRender
2020-04-11 09:53:32 -07:00
Daniel Imms
55f9203f60
Only fire IRenderService.onRender when buffer changes occurred
...
Fixes #2836
2020-04-11 09:51:28 -07:00
Jon Bockhorst
e817a7b6c6
Add Linkifier2 tests
2020-02-13 00:43:24 -06:00
Jon Bockhorst
901adb38ae
Fix linkProvider end positions
2020-02-10 12:39:16 -06:00
Daniel Imms
54743eda16
Make link matcher API the default for web links addon
2020-02-08 10:52:36 -08:00
Daniel Imms
0103c689f7
Start registerLinkProvider tests
...
Bugs fixed:
- Not breaking on first link match for multiple providers
- Hover event wasn't fired when on last character of link
2020-02-07 11:16:41 -08:00
Daniel Imms
f4a31251cb
handle -> activate
2020-02-07 09:59:25 -08:00
Daniel Imms
b18ded0e2d
Rename tooltip to hover/leave
2020-02-07 09:55:06 -08:00
Daniel Imms
c327116e7f
url -> text
2020-02-07 09:39:26 -08:00
Jon Bockhorst
a1906347b0
Only clear link if it was in the range of onRender and fix tests
2019-11-08 12:10:00 -06:00
Jon Bockhorst
8924aa736e
Use onRender() instead of onData() and onScroll()
2019-11-08 11:08:50 -06:00
Jon Bockhorst
700c4acf75
Rework link parser to use a single cached link and make other requested changes
2019-11-08 02:14:53 -06:00
Jon Bockhorst
f18a6fe1eb
Fixed bug in link detection for wrapped links
2019-11-06 22:52:09 -06:00
Jon Bockhorst
ac6c8a5bd3
Support multiline links in the WebLinksAddon
2019-11-05 23:35:20 -06:00
Jon Bockhorst
28c43ac2bf
Remove link caching
2019-11-05 13:01:53 -06:00
Jon Bockhorst
fdfadfefbc
Fixed link caching errors
2019-11-04 23:37:05 -06:00
Jon Bockhorst
e57cb8bf7e
Use regex parser for web links
2019-11-01 17:38:08 -05:00
Jon Bockhorst
ec78fc7e7c
Remove usage of ! operator
2019-11-01 13:42:02 -05:00
Jon Bockhorst
cf082cca04
Fix links when viewport is scrolled
2019-11-01 11:24:21 -05:00
Jon Bockhorst
3e2e4ace48
Removed file detection from WebLinkProvider
2019-11-01 01:05:18 -05:00
Jon Bockhorst
0c5962c538
Added support for a basic link parser
2019-11-01 00:54:31 -05:00