Grégoire Geis
ec90111ffa
commands: select with {p,s-p}, fix {p,s-p,a-p,s-a-p} ( fixes #276 , #281 )
2022-11-11 10:49:38 +01:00
Grégoire Geis
1341210097
commands: prepare support for multiple layouts and locales
2022-10-05 22:01:41 +09:00
Grégoire Geis
8c9f9c2745
test: disable last (flaky) history test
2022-05-14 12:11:42 +02:00
Grégoire Geis
12c78774fa
misc: upgrade dependencies
2022-05-14 12:10:29 +02:00
Grégoire Geis
d8e1553a51
test: disable other flaky history test
2022-05-14 01:44:50 +02:00
Grégoire Geis
3430afbfa4
misc: rename input to more accurate identifiers
2022-05-14 01:32:55 +02:00
Grégoire Geis
6ae428812e
commands: add .selections.changeOrder, .selections.sort
2022-05-14 01:14:41 +02:00
Grégoire Geis
1bd3a7cf5d
misc: support escape sequences in regexp replacement strings ( fixes #252 )
2022-05-04 09:26:26 +02:00
Grégoire Geis
e5a821ebb9
api: use search in moveTo ( fixes #251 )
2022-04-30 13:59:45 +02:00
Grégoire Geis
3230c2320e
test: disable flaky history test
2022-03-17 13:32:46 +01:00
Grégoire Geis
6611fe68ff
misc: upgrade dependencies and fix packaging issues
2022-03-17 13:25:51 +01:00
Grégoire Geis
55dde9df8d
misc: enable noImplicitOverride and noPropertyAccessFromIndexSignature in tsconfig
2022-02-07 13:27:41 +01:00
Grégoire Geis
2389a77c99
api: use expect instead of assert in tests
2022-01-05 19:23:30 +01:00
Grégoire Geis
ffe1db9f31
api: no longer use namespaces
...
Namespaces are no longer being used, so APIs such as
`replace.byIndex` are now `replaceByIndex`. This slightly improves
the generated code and the editing experience.
2022-01-05 18:49:49 +01:00
Grégoire Geis
29f4ab91a4
api: fix Selections.endsWithEntireLine ( fixes #218 )
2021-12-13 22:05:43 +01:00
Grégoire Geis
56d4e6b8b0
tests: fix typing error
2021-12-12 21:10:56 +01:00
Grégoire Geis
d0a60473c3
api: export Selections, Positions and Lines as modules instead of namespaces
2021-11-06 01:04:46 +01:00
Grégoire Geis
a3213bdb37
api: remove all circular dependencies
2021-11-06 01:04:36 +01:00
Grégoire Geis
a844ede39b
history: add utils and initial tests for history replaying
2021-10-19 22:07:58 +02:00
Grégoire Geis
e5d775252f
commands: improve .edit.insert: add text argument and use shift instead of select
2021-10-15 18:24:18 +02:00
Grégoire Geis
f7d21114d1
test: add tests for newLine.*
2021-09-25 18:13:21 +02:00
Grégoire Geis
3a97a16c5e
commands: .search.{next,previous} now only operates on the main selection
2021-09-12 18:21:49 +02:00
Grégoire Geis
700fdebe11
misc: improve internal dependencies
...
this allows, after merging the api into a single file, the import of Dance without cyclic dependencies
2021-07-20 18:35:37 +02:00
Grégoire Geis
938fcb2873
Fix search.selection for punctuation and non-ASCII words ( fixes #179 ).
2021-06-23 22:43:23 +02:00
Grégoire Geis
597be1e3d5
Remove tests that passed due to bug fixed in a4c72a7045
.
2021-06-06 12:08:43 +02:00
Grégoire Geis
6693d68a7c
Export selections.text, Direction, Shift in API.
2021-06-04 19:01:02 +02:00
Grégoire Geis
8423b0c257
Fix some issues related to going up/down ( fixes #168 ).
2021-06-03 23:03:05 +02:00
Grégoire Geis
1cb014c078
Seeking paragraph start can be repeated ( fixes #159 ).
2021-05-22 18:16:47 +02:00
Emmanuel Odongo
66fb04d607
Fix typos
2021-05-20 15:58:04 +02:00
Grégoire Geis
9deae6adb6
Misc fixes for character selection mode.
2021-05-18 19:56:00 +02:00
Grégoire Geis
7cebe0bed5
Improve behavior with tabs ( fixes #155 ); misc fixes.
2021-05-16 23:38:06 +02:00
Grégoire Geis
bd0ca15838
Select edges in reduce ( fixes #154 ); improvements to history.
2021-05-15 17:09:15 +02:00
Grégoire Geis
6212743f6a
.edit.paste.select now behaves like Kakoune ( fixes #81 ).
2021-05-09 01:17:11 +02:00
Grégoire Geis
8b77f87c24
Handle repetitions in .edit.insert ( fixes #139 ).
2021-05-08 23:04:31 +02:00
Grégoire Geis
80b8258da5
Fix issues with select ( fixes #149 ) and splitLines ( fixes #150 ).
2021-05-08 14:51:52 +02:00
Grégoire Geis
9cb8947556
Fix object selection bug with pairs ( fixes #146 ).
2021-05-06 21:02:58 +02:00
Grégoire Geis
da7d4771b4
Misc improvements; fix bugs related to delete in character-mode.
2021-05-06 19:39:32 +02:00
Grégoire Geis
cdfa9c8c05
Fix typing error.
2021-05-06 00:40:39 +02:00
Grégoire Geis
0d994c6f83
Fix invalid handling of global RegExps ( fixes #143 ).
2021-05-06 00:34:31 +02:00
Grégoire Geis
eeb6fa4835
Fix gg not jumping not first line.
2021-05-05 23:30:12 +02:00
Grégoire Geis
5bfbd1c104
Force tab size to be 2 to avoid flaky tests.
2021-05-04 23:56:12 +02:00
Grégoire Geis
de6e5a24a2
Fix error messages not showing when running tests via command line.
2021-05-04 23:34:58 +02:00
Grégoire Geis
4cb9519f14
Fix tests when running with yarn run test
.
2021-05-04 23:23:02 +02:00
Grégoire Geis
2d38438e15
Rewrite Dance for v0.5.0.
2021-05-04 22:10:37 +02:00
Grégoire Geis
c6ea85dbfc
Fix count issue; make test debugging slightly easier for error cases.
2021-03-20 19:21:59 +01:00
Grégoire Geis
1b3e222a3a
Update code style for repository.
2021-03-19 20:01:01 +01:00
Grégoire Geis
79ecbbc469
Use prettier.
2020-10-13 14:35:08 +02:00
Grégoire Geis
8b6278140a
Add test related to #107 (does not pass yet).
2020-10-13 13:06:48 +02:00
Grégoire Geis
72bba1d9fd
Fix some lints.
2020-08-20 19:28:27 +02:00
Yuchen Shi
aa1a32a6a3
Fix indent/deindent when selections end on line breaks.
2020-06-16 22:25:39 +02:00