Daniel Imms
362152004b
Move files not in ui project back to root
2019-04-28 02:28:20 +00:00
Daniel Imms
f4c7e3fd7d
Remove extends EventEmitter from Linkifier
2019-04-09 20:43:42 -07:00
Daniel Imms
5c8c680dac
Fix feedback
2019-04-01 00:01:41 -07:00
Jörg Breitbart
62dfa84d5d
remove get CharData calls from codebase (beside tests)
2019-01-05 01:01:10 +01:00
Jörg Breitbart
6552a023c1
remove get from linkifier
2019-01-04 18:46:45 +01:00
Jörg Breitbart
5460068d52
fix invalid string and buffer index
2018-12-17 23:59:48 +01:00
Jörg Breitbart
fefc6c6a34
fix typo
2018-09-26 22:07:02 +02:00
Jörg Breitbart
a30bb22c7a
fix comments to <80
2018-09-22 15:20:31 +02:00
Jörg Breitbart
10687b138d
range checks for buffer iterator
2018-09-21 20:23:41 +02:00
Jörg Breitbart
1108d0746e
Merge branch 'master' into fix_1691
2018-09-21 19:23:49 +02:00
Daniel Imms
2c62c3a8c3
Fix tests
2018-09-19 20:06:09 -07:00
Daniel Imms
4463f8d810
Speculative fix for NPE
...
Fixes #1702
2018-09-19 19:47:16 -07:00
Jörg Breitbart
842ee6c164
change overscan limit to 2k chars
2018-09-15 00:22:00 +02:00
Jörg Breitbart
d0dc387921
fix overscan issue and enable linkify of partial shown matches
2018-09-14 23:16:24 +02:00
Daniel Imms
2f66ec452c
💄
2018-09-14 08:35:14 -07:00
Jörg Breitbart
4b68976dfb
hide regex error behind debug flag
2018-09-14 15:43:29 +02:00
Jörg Breitbart
57bbbda7e8
rename stringWidth; add some comments
2018-09-14 14:15:27 +02:00
Jörg Breitbart
8664f54a76
rename contents to iterator
2018-09-14 13:22:02 +02:00
Jörg Breitbart
9ce2894353
remove toArray; interface type for iterator result
2018-09-14 12:59:56 +02:00
Jörg Breitbart
2708a76501
fix next() invocation; handle wild matches
2018-09-13 15:44:26 +02:00
Jörg Breitbart
7e69c5d0db
apply linkifier only to rows in viewport
2018-09-12 15:37:05 +02:00
Jörg Breitbart
c35306aaa6
handle unicode within a match; test cases
2018-09-10 17:47:29 +02:00
Jörg Breitbart
3289eed2a2
merge master
2018-09-10 16:17:41 +02:00
Jörg Breitbart
a76d4a6055
fix multiple row linkifier attempts; tests for unicode before a match
2018-09-10 16:10:41 +02:00
Jörg Breitbart
08af72be1a
linter errors
2018-09-10 01:13:21 +02:00
Jörg Breitbart
daa6fa0a66
change Linkifier._doLinkifyRow
2018-09-10 00:40:29 +02:00
Daniel Imms
f9717bc635
Merge pull request #1670 from Tyriar/1669_linkifier_exception
...
Fallback on default color when linkifier can't find the character
2018-09-09 07:00:45 -07:00
Daniel Imms
f4bb4a22d4
Fallback on default color when linkifier can't find the character
...
This probably doesn't fix the underlying problem, but it will make it
obvious by using the white background color and more easily help identify
the problem case.
Fixes #1669
2018-09-08 13:01:59 -07:00
Daniel Imms
443b2dbc28
Have common only reference within common
...
Part of #1337
2018-09-04 08:01:04 -07:00
Jörg Breitbart
59fc4af9a0
IBufferLine interface
2018-08-30 17:52:45 +02:00
Jörg Breitbart
77cb697990
remove <any> casts for .isWrapped
2018-08-26 16:04:52 +02:00
Jörg Breitbart
a99cac45f7
fix import errors
2018-08-25 22:56:15 +02:00
Jörg Breitbart
0340d91150
first step to buffer redesign: class TerminalLine; discourage low level index access to cells
2018-08-25 22:41:42 +02:00
peacefullatom
6601133912
#957 Link underline should be the same as FG color
2018-08-23 04:24:10 +05:00
Bruno Ribeito
f2e5ea5783
Remove unnecessary get line
2018-07-16 21:11:35 +01:00
Bruno Ribeito
cb888c343e
break instead of returning
2018-07-15 19:48:16 +01:00
Bruno Ribeito
18f37440dc
Prevent Uncaught TypeError
...
- Cannot read property 'isWrapped' on Linkifier
2018-07-15 19:36:49 +01:00
Daniel Imms
cc41fefe31
Move MouseZoneManager into ui/
2018-06-23 17:25:07 +10:00
Daniel Imms
2aff2eb710
Merge branch 'master' into more_naming_conventions
2018-06-03 07:23:14 -07:00
Lukas Geiger
8989a09853
Prefer const vs let for variables that are only declared once
...
Requires that variable declarations use `const` instead of `let` and `var` if possible.
This is mostly for code readability, performance wins are debatable.
2018-05-30 19:47:28 +02:00
Daniel Imms
aaaec75d73
Add remaining naming conventions into tslint
2018-04-26 13:54:20 -07:00
Daniel Imms
97f592ce8b
Merge remote-tracking branch 'origin/master' into 24_multi_line_links
2018-03-21 07:32:32 -07:00
Marek Libra
b67b65cd1e
Replace inline-styles by external CSS
...
Selected inline-styles were externalized to xterm.css.
The `Terminal._charSizeStyleElement` is removed since it
was not used anymore.
Fixes: https://github.com/xtermjs/xterm.js/issues/1335
2018-03-20 13:45:08 +01:00
Daniel Imms
3716aad202
Backtrack row to be linkified if the first row is wrapped
2018-03-16 07:21:14 -07:00
Daniel Imms
c8ab687fa0
Add tests
2018-03-11 12:34:27 -07:00
Daniel Imms
e5f5c2baf2
Fix links that start on wrapped lines
2018-03-10 16:08:50 -08:00
Daniel Imms
dd41ab38bb
Fix imports after noUnusedLocals was merged in
2018-03-09 10:58:57 -08:00
Daniel Imms
255cb5de3a
Merge branch 'master' into 24_multi_line_links
2018-03-09 10:57:04 -08:00
Daniel Imms
b44a11c42e
Remove TODOs, polish
2018-03-09 10:56:54 -08:00
Daniel Imms
59be054ca1
Fix exception for links on bottom line
2018-03-08 11:12:59 -08:00