Commit Graph

347 Commits

Author SHA1 Message Date
Grégoire Geis
a3213bdb37 api: remove all circular dependencies 2021-11-06 01:04:36 +01:00
Stuart Hinson
d17c6cdebd
doc: tweak conf section language (#208)
* Tweak conf section language

Switching to `js` for the config sample causes the comment to render as a comment. Bit unfortunate, but probably a net improvement :)

* Updated to jsonc formatting in README
2021-10-28 22:22:54 +02:00
Grégoire Geis
f22f60363e modes: allow setting textStyle 2021-10-19 22:26:49 +02: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
8ed6c65076 commands: fix type error for edit and newLine 2021-10-15 18:38:21 +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
6c6354266a commands: use run instead of commands by default in dance.run 2021-10-15 18:23:02 +02:00
Grégoire Geis
1625ca763a commands: fix doc for history.repeat 2021-10-15 18:22:11 +02:00
Grégoire Geis
26629d75c4 package.json: bump version to 0.5.7 2021-10-11 17:46:27 +02:00
Grégoire Geis
5a57186926 modes: allow input mode configuration (fixes #205) 2021-10-11 14:43:13 +02:00
Grégoire Geis
7245ecaaf1 settings: mark dance.modes.*.lineHighlight as deprecated 2021-10-05 11:11:08 +02:00
Grégoire Geis
03fe2cc66b commands: expose count, repetitions, register to .run 2021-09-25 21:45:09 +02:00
Grégoire Geis
f7d21114d1 test: add tests for newLine.* 2021-09-25 18:13:21 +02:00
Grégoire Geis
3cf5a427db commands: respect count in newLine.* 2021-09-25 18:11:22 +02:00
Grégoire Geis
fb99377852 api: use standard setTimeout(f, 0) instead of setImmediate(f) 2021-09-25 16:46:28 +02:00
Grégoire Geis
d2c2852c63 commands: use register when prompting for search (fixes #197) 2021-09-12 19:16:19 +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
187d4904be web: bump vsce version to publish as web extension (fixes #198) 2021-09-11 00:35:13 +02:00
Grégoire Geis
9a377a0080 web: support running as a web extension 2021-09-11 00:10:29 +02:00
Delapouite
48bf08f92e doc: add section about status bar segments 2021-09-06 18:52:11 +02:00
Avi Dessauer
e885b40cb8 Make dance.selections.clear.secondary take a selection index
Matches kak's behavior for space
Add equivalent for alt+space
2021-08-22 11:35:57 +02:00
Grégoire Geis
1e27f2a73a recipes: add 'disable Dance' recipe 2021-08-14 15:21:17 +02:00
Grégoire Geis
de683e82c2 package.json: bump version to 0.5.4 2021-08-11 21:06:02 +02:00
Grégoire Geis
0286173783 api: fix toMode not switching back to previous mode (fixes #188) 2021-08-11 21:05:17 +02:00
Grégoire Geis
02cfc97436 state/editors: fix EditorState missing for new files with changed languages (fixes #186) 2021-08-09 20:37:19 +02:00
Grégoire Geis
76549a1a35 package.json: bump version to 0.5.3 2021-07-23 06:12:38 +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
08199c526e Allow the hidden selections indicator to be disabled (fixes #184). 2021-07-17 12:56:47 +02:00
Grégoire Geis
5c93cbe258 commands: fix access to disposed editor in .selections.save 2021-07-15 19:17:21 +02:00
Grégoire Geis
e873bdefc9 package.json: bump version to 0.5.2 2021-07-15 19:06:13 +02:00
Grégoire Geis
c9cc5835d0 package.json: move untrustedWorkspaces from contributes to capabilities. 2021-07-15 19:04:43 +02:00
Grégoire Geis
8d53e0d563 Add ability to only show a menu after a delay has elapsed (fixes #180). 2021-06-24 19:46:58 +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
Tom Short
b1bf0b8550 Expose search/range in the API 2021-06-20 15:22:23 +02:00
Grégoire Geis
7ad1146c65 Fix code generation for src/commands/README.md. 2021-06-18 20:22:40 +02:00
Grégoire Geis
451a5107d0 Add better documentation for dance.run. 2021-06-18 20:07:43 +02:00
Grégoire Geis
c1b33ba301 Implicitly convert menu item args to arrays in dance.openMenu (fixes #177). 2021-06-18 19:41:14 +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
4aa31dd7c1 Fix select.lineEnd selecting lineBreak in character selection mode (#169). 2021-06-06 12:04:24 +02:00
Grégoire Geis
a4c72a7045 Fix selections.restore not working every other call (#169). 2021-06-06 11:42:14 +02:00
Grégoire Geis
bb3d73ff5c Allow empty selections when reducing to cursor (fixes #172). 2021-06-04 22:24:59 +02:00
Grégoire Geis
da58c0f814 Expose wordBoundary in API. 2021-06-04 19:16:54 +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
170033d384 Hide suggest widget when switching to insert mode (fixes #167). 2021-06-03 09:21:41 +02:00
Grégoire Geis
a83bffde8e Edit description for 0.5.1. 2021-06-02 23:15:38 +02:00
Jan-Jaap Korpershoek
1fedcd947d
Return result of shell as string (#166) 2021-06-02 23:10:19 +02:00
Grégoire Geis
86afe9bd0a Let users customize hidden selections indicators. 2021-06-02 18:41:49 +02:00
Grégoire Geis
7d3dbb1dbf Display indicators in editor when selections are hidden (fixes #164). 2021-05-30 14:07:47 +02:00
Grégoire Geis
9bdec8f748 Add prompt history for some commands (fixes #161). 2021-05-26 16:44:06 +02:00