Commit Graph
47 Commits
Author SHA1 Message Date
meganrogge e7bbc4151a start at cursor position and mandate a width gt 0 2022-03-11 13:10:26 -05:00
meganrogge 453cb00807 use a class 2022-03-11 12:43:09 -05:00
meganrogge da2c59d1d0 remove unused variable 2022-03-11 12:24:36 -05:00
meganrogge 372b6b633b set incremental search to false 2022-03-11 12:13:43 -05:00
meganrogge fa4479c797 use decoration width, find all and select next 2022-03-11 12:01:19 -05:00
meganrogge 96574425c7 get it to sort of work 2022-03-11 00:39:18 -05:00
meganrogge 60c11e87f6 start work 2022-03-10 23:40:00 -05:00
Daniel Imms f685360707 Add docs to line cache entry items 2021-12-22 09:29:32 -08:00
Daniel Imms 0fcd87085b Name line cache entry type 2021-12-22 09:26:19 -08:00
Daniel Imms 6bca6bdc1a Merge branch 'master' into master 2021-08-31 07:31:02 -07:00
Erik Welander 4c4160ae03 Add missing escape
Previously the \ was unnecessarily escaping the ';'.
2021-08-04 11:31:32 -07:00
coderaiser d046e2a77f chore: lint using putout 2021-05-15 01:17:17 +03:00
coderaiser de791cfb35 chore: lint using putout 2021-03-28 15:27:03 +03:00
Gerald db42dcfae2 fix: translate string offset to buffer index in wrapped line 2021-03-02 11:31:26 +08:00
Gerald ae037bdac0 fix: translate buffer col to string offset 2021-02-22 16:23:08 +08:00
Gerald 6f6378aaf2 fix length calculation of wide unicode chars 2021-02-22 16:06:57 +08:00
Daniel ImmsandMegan Rogge 519e44d30e Clean up, improve comments
Co-authored-by: Megan Rogge <merogge@microsoft.com>
2021-01-11 09:19:53 -08:00
Ken Aoki d3d8ec3b20 Fix search not expanding selection to left when appropriate (revenge) 2020-10-13 09:55:10 +00:00
Ken Aoki b6074df4bf Revert "Fix search not expanding selection to left when appropriate"
This reverts commit a9d2b8a55c.
2020-10-13 06:44:01 +00:00
Ken Aoki a9d2b8a55c Fix search not expanding selection to left when appropriate 2020-10-10 04:04:52 +00:00
rishab 08f8f51ade handle wrap back with find previous
wrap back search selection to last selected result when we hit top
2020-04-25 17:33:48 -07:00
rishab 45ff3ee637 Update SearchAddon.ts 2020-04-25 03:13:32 -07:00
rishab 50ba6bfa1b Wrap search back if there exists a result in search
Search must wrap back as it does when there are multiple lines.
2020-04-25 03:13:19 -07:00
javacs3 44ff7b0f5f change buffer interface from IBuffer to IBufferNamespace 2020-03-22 12:13:52 +08:00
javacs3 56f4c3d6ae remove BufferCellApiView 2020-01-09 21:15:30 +08:00
Daniel Imms fce7a67c8e Remove type jsdoc 2019-11-07 13:39:42 -08:00
Geraldo Neto 9358718b5f 2444: Fix no-else-return lint 2019-11-02 19:33:21 -03:00
Geraldo Neto 8667237525 Merge branch '2444' of https://github.com/glneto/xterm.js into 2444 2019-11-02 19:22:09 -03:00
Geraldo Neto 9d50d106e3 2444: Return after calculating startCol in reverse search 2019-11-02 19:21:58 -03:00
Geraldo Neto d53215480a Merge branch 'master' into 2444 2019-11-02 19:14:01 -03:00
Geraldo Neto 1f4780a71a #2444: Fix wrapped lines search 2019-11-02 18:58:04 -03:00
Daniel Imms 616d341e8c Avoid initializing to undefined 2019-10-22 07:17:37 -07:00
Miguel Roncancio 5d547bffb0 change return value, import ISelectionPosition 2019-10-21 23:49:28 -04:00
miguel 449ede1d57 Prevent search result from being deselected if it is the only result
remove leading whitespace
prevent single search term deselection in findPrevious
2019-10-21 15:58:44 -04:00
Daniel Imms 6f5e5215f2 Reveal search results in line just below viewport
Fixes #2445
2019-10-07 14:27:29 -07:00
Logan Ramos f3d8e74d6f Remove forgotten console .log 2019-08-16 10:55:16 -04:00
Logan Ramos 85444def9f Don't scroll terminal search result if within viewport 2019-08-16 10:50:44 -04:00
Logan Ramos a1be1f0b35 Code cleanup 2019-07-25 09:02:32 -07:00
Logan Ramos ea72a3b594 Fix incremental search bug 2019-07-25 08:50:37 -07:00
Logan Ramos d104f39a9d Incremental previous search 2019-07-24 16:01:07 -07:00
Logan Ramos f3f52e6920 Changed default Search Addon behavior 2019-07-24 15:30:09 -07:00
Logan Ramos cae3d59e23 Change search addon behavior 2019-07-24 15:09:59 -07:00
Logan Ramos 345bf11389 Remove extra import 2019-07-02 15:57:23 -07:00
Logan Ramos 60c2248cb4 Centers scroll in viewport 2019-07-02 15:09:30 -07:00
Daniel Imms 031fbde580 Turn on TS strict in search addon
Fixes #2163
2019-06-04 23:37:12 -07:00
Daniel Imms be2c29c95a Remove old redeclared xterm types in search addon 2019-06-04 23:19:26 -07:00
Daniel Imms d4be839d8d Remove @xtermjs package scope
Too big of a change for now, I think we should do this when/if we
move to GH package registry (we would have to I think).
2019-06-04 11:07:11 -07:00