Commit Graph

136 Commits

Author SHA1 Message Date
Andreas Arvidsson
34c4ea88ba Added modifiers head and tail (#159)
* Added modifiers head and tail

* Include selection
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
8462eba875 Use built in action for copy and paste (#141)
* use built in action for copy and paste

* eshure single editotar

* Merge decorations for cut
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
c0008e79f2 Improve decorations for insert empty lines and copy lines (#140)
* updated copy lines decoration

* added better decorations for insert empty lines

* better handling of carriage return

* created base class for edit newline

* Compensate for paragraphs
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
72271ba517 Reworked token delimiters (#157)
* Reworked token delimiters

* Add additional new line when copying block

* Don't take empty block
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
7404d2b771 Added additional fixed tokens to tokenizer (#150)
* Added additional fixed tokens to tokenizer

* Added tests
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
492682c143 Use own implementation of is reversed (#156) 2021-08-02 09:57:48 -07:00
Andreas Arvidsson
0cf42a643f expand cursor to token when using selection type token (#142) 2021-08-02 09:57:48 -07:00
Andreas Arvidsson
26760793a7 Replace addendum (#158)
* Ensure single target on get text

* Generate numeric range
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
9446c41643 Added source mark (#163)
* Added source mark

* Added tests

* Added source mark

* Excluded keep board were not needed
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
aebca2174b Added action call (#164)
* Added action call

* Selection adjustment to keep cursor inside wrap

* Added tests
2021-08-02 09:57:47 -07:00
Andreas Arvidsson
a789b26b86 Added leading and trailing delimiters to subtoken (#167)
* Added leading and trailing delimiters to subtoken

* Added tests
2021-08-02 09:57:47 -07:00
Andreas Arvidsson
94be662ce8 Recorded tests (#170)
* Change line endings on tests

* Disable debug log for tests

* Added line endings test
2021-08-02 09:57:45 -07:00
Brock McElroy
cc7d4e73c6
Test on PR and push to master (#172) 2021-08-01 11:16:36 -07:00
Andreas Arvidsson
2552002fe6
Converted test recorder for bulk recordings (#169)
* Converted test recorded for bulk recordings

* File name in camel case

* Added spoken form to test suit

* Added test recordings for actions

* Innumerate test cases with same name

* Remove breakpoint test

* Added exception
2021-08-01 08:57:41 +02:00
Brock McElroy
3e617afb97
Test Case Recorder (#87) 2021-07-31 10:18:06 -07:00
Andreas Arvidsson
9dcf9c0528
Added action replace (#135) 2021-07-26 17:53:07 -07:00
Pokey Rule
563ed19392 Fix release notes 2021-07-24 18:26:51 -07:00
Pokey Rule
507f8fe2c5 Release 0.20.0 2021-07-24 18:19:47 -07:00
Pokey Rule
d449c5d399 Minor cleanup 2021-07-24 17:54:27 -07:00
Andreas Arvidsson
184ea2ae3a
Added action duplicate (#134)
* started working on action for line duplication

* unifi ranges

* added comments

* clean up

* clean up

* clean up

* calculate newmark

* Various cleanup

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:43:32 +01:00
Andreas Arvidsson
7b24e21d5d
Added support to exclude start or end token in ranges (#131)
* added support to exclude start or end token in ranges

* handle delimiters when excluding ranges

* Update src/inferFullTargets.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* added dock string

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:24:55 +02:00
Andreas Arvidsson
f102b62785
Added selection type paragraph (#125)
* added selection type paragraph

* include empty line for paragraph delimiter

* Update src/processTargets.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* expand the limited range four paragraph

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-25 01:15:41 +02:00
Andreas Arvidsson
f5775d29c5
added action set breakpoint (#130) 2021-07-24 23:23:25 +01:00
sterlind
2805bc76b0
C# support (#137)
* first try at getting sea sharp working

* got dictionary matcher working for c#

* stashing

* stashing for now

* tidying up a little
2021-07-24 22:44:59 +01:00
Andreas Arvidsson
56af51f1ce
Added function listenForDocumentChanges (#126)
* added file calculate changes

* started implementing calculated changes

* use new compute changes for all actions

* updated command action with calculate changes

* A possible approach (#136)

* A possible approach

* Update CalculateChanges.ts

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>

* More cleanup

* Fixes

* More cleanup

* Minor fix

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-24 23:41:07 +02:00
Andreas Arvidsson
85fc6bf8b1
improved error message (#133) 2021-07-23 08:59:39 -07:00
Andreas Arvidsson
d176211e55
implemented actions puff, float, drop (#122)
* implemented actions puff, float, drop

* remove unnecessary check for reversed selection

* renamed insert line actions

* Update Types.ts

* Update index.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-22 20:33:52 +01:00
Andreas Arvidsson
f0612d922e
Fix bug with two adjacent tokens (#129) 2021-07-21 07:23:11 -07:00
Andreas Arvidsson
0e307f4369
Subtokens support reversed order ordinals (#121)
* fixed small offset error on the negative end index

* Handle reverse order sub token

* excluding end index for negative index

* use anchor and active instead of start and end
2021-07-21 01:57:02 +01:00
Andreas Arvidsson
477681d2aa
added find all action (#120)
* added find all action

* Get text through graph

* use get text in copy action

* Cleanup

* More cleanup

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:55:09 +01:00
Andreas Arvidsson
a1722a3853
Infer missing end mark on ranges (#118)
* Infer same line as mark when using past end of line

* infere missing end mark for all selection types
2021-07-21 01:34:25 +01:00
Andreas Arvidsson
d95a990437
Added actions: indent, dedent, comment (#116)
* Added actions: indent, dedent, comment

* Renames indent classes

* Update Types.ts

* Update index.ts

* Update Comment.ts

* Update index.ts

* Update Types.ts

* Update CommandAction.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:33:12 +01:00
Andreas Arvidsson
63b330ab1c
implemented paste action (#115)
Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-21 01:21:34 +01:00
Pokey Rule
5eada65c0a Release 0.19.0 2021-07-16 21:36:07 -07:00
Andreas Arvidsson
681671b257
Pr/move/merged (#119)
* Merged with cleanup

* Append delimiter for eg "bring to after"

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-16 16:48:37 +02:00
Andreas Arvidsson
4cfd53274f
Move action (#108)
* implemented move action

* refactoring and clean up of move

* renamed use to bring

* performed actions suggested in PR

* small update to get that mark to work correctly

* perform move with outside modifier on source

* added support for space and new line delimiters

* Added outer selection to corrctly delete line

* Update src/performDocumentEdits.ts

Co-authored-by: Brock McElroy <28877984+brxck@users.noreply.github.com>

Co-authored-by: Brock McElroy <28877984+brxck@users.noreply.github.com>
2021-07-16 10:43:13 +02:00
Andreas Arvidsson
31ab1c820f
fixed take that on pre and post (#114) 2021-07-16 10:42:28 +02:00
Pokey Rule
63c17831bd Add CODEOWNERS 2021-07-15 18:40:40 -07:00
Pokey Rule
f25275d5e2 Release 0.18.0 2021-07-12 19:26:31 +01:00
Pokey Rule
9d81501c82
Add support for untrusted workspaces (#104) 2021-07-12 19:23:59 +01:00
Pokey Rule
ff120118c5 Fix badges 2021-07-11 21:16:27 +01:00
Pokey Rule
eb1903f128
Add README badges (#105)
* Improve README

* README update

* Fix README

* More README

* Release 0.17.3

* Remove broken svg badge
2021-07-11 21:07:36 +01:00
Pokey Rule
11dbf92c1a Release 0.17.2 2021-07-09 22:34:46 +01:00
Pokey Rule
f94357215d
Final cleanup before new user release (#102) 2021-07-09 22:33:05 +01:00
Pokey Rule
a27bad61d1 Fix changelog 2021-07-09 18:18:37 +01:00
Pokey Rule
6df78ab2fb Release 0.17.0 2021-07-09 18:00:50 +01:00
Pokey Rule
328884a2ef Release 0.16.0 2021-07-09 15:36:59 +01:00
Pokey Rule
1478b17662 Change hat size adjustment setting 2021-07-09 15:13:52 +01:00
Andreas Arvidsson
c0ad928810
Updated regular expression for sub word matcher and added additional tests (#88) 2021-07-09 12:04:17 +01:00
Andreas Arvidsson
dddb5cd970
Added actions to scroll target top/center (#58)
* added actions to scroll mark top/center

* updated name of scroll functions

* use command reveal line instead of api

* alphabetize action names

* Update src/actions/Scroll.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* general cleanup of scroll function

* remove line decoration after scroll is done

* Reuse focus editor

* fixed missing await

* Update src/actions/Scroll.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* improved call back name and added doc string

* replaced map with for loop to preserved sequence of the promises

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Update src/editDisplayUtils.ts

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>

* Clean up and tweaking

* re name callback

* Add setting for showing additional highlight

Co-authored-by: Andreas Arvidsson <andreas.arvidsson@redpill-linpro.com>
Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-07-08 16:50:48 +01:00