Commit Graph

326 Commits

Author SHA1 Message Date
Andreas Arvidsson
e85e5f1b5b
Put identifier before repeatable symbols (#278) 2021-09-20 07:04:37 +01:00
Andreas Arvidsson
57d4ac1a57
Added support for unicode characters in regular expression (#275)
* Added support for unicode characters in regular expression

* Cleanup
2021-09-14 09:47:02 +02:00
Andreas Arvidsson
4bf5e8f542
Added triple quote to regular expression (#274) 2021-09-13 17:36:34 +01:00
Pokey Rule
c1aa52c753
Tweak default colors (#267)
* Tweak default colors

* Try to fix extension dependencies

* Updated settings color

Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
2021-09-11 21:08:23 +02:00
Pokey Rule
18488370f0
Fix SVG alignment and click box (#273)
* Fix SVG alignment and click box

* Adjust measurements to compensate for math fix
2021-09-11 19:35:01 +02:00
Pokey Rule
5ce3c2f756
Fix color tokens (#268) 2021-09-09 10:50:39 +02:00
Pokey Rule
2ad4abef21
Rename purple to pink (#263)
* Rename purple to pink

* Cleanup
2021-09-06 18:11:05 +01:00
Pokey Rule
8488e917d0
Add suffixedMatcher; use for keys (#260)
* Add suffixedMatcher; use for keys

* Fix whitespace

* Fix tests
2021-09-06 17:58:53 +01:00
Pokey Rule
4a5b5501bf
master => main (#262) 2021-09-06 18:53:06 +02:00
Pokey Rule
cd8258f8d7
Fix "take every value" in python (#258)
* Fix "clear every value" in python

* Add type negation

* Fix bug with "chuck type"
2021-09-05 16:29:14 +02:00
Pokey Rule
538ac6039c
Add a bunch of new hats (#256)
* Initial many shapes

* Random thing

* Hacked multi-color bulls eye hat

* New set of shapes

* Some cleanup

* Tweak hat measurements

* Remove unused hats

* Switch to utf-8 for uri-encoding svg

* Make hat enablement / penalties configurable

* Disable a few hat shapes by default

* Update README

* Fix readme

* Arrange settings more compactly
2021-09-03 15:42:45 +02:00
Pokey Rule
3d53c8708d
Multiple hat styles (#253)
* Triangle hats

* Initial triangle hat

* Lots of hats

* Initial support for multiple hat glyphs

* Tweak comment

* Remove debug statements

* "glyph" => "shape"; "ninja" => "star"

* Remove unused hats

* Add a hat; cleanup

* Some renaming

* "valley" => "chevron"

* Fixed chevron
2021-09-01 16:01:35 +02:00
Pokey Rule
870e20f845
Fix copy when focus is not on editor (#255)
* Fix copy when focus is not on editor

* Fix bug
2021-09-01 13:55:45 +02:00
Pokey Rule
fac32ad5e3
Fix anonymous functions (#232)
* Fix anonymous functions

* Add tests for anonymous functions
2021-08-31 19:07:17 +02:00
Pokey Rule
e15bf2e0f0
Renames for csv overrides PR (#248)
* Throw error for sub token exclusions

* Add action name canonicalization

* switch to exclude for subtokens

* Lots of renaming

* Change many names

* Use canonicalization for all deprecations

* Better exceptions

* Improve rename script

* Docstring

* Normalized test case yml

* Add a note

* Fix unit tests

* Changes

* More fixes

* Fixes

* Fixes

* Remove extraneous files
2021-08-31 08:19:07 +02:00
Pokey Rule
518683ff2a
Add cell selection type (#246)
* Initial work

* Add support for "drink" / "pour" cell

* Add docstring

* Add jupyter dependency

* Add comments
2021-08-23 16:23:10 +01:00
Pokey Rule
dfc8f4ac85
Improve badges (#245)
* Add tests badge

* Update version badge

* Changed color

* Clean up badges
2021-08-20 08:49:08 +02:00
Andreas Arvidsson
2bcb516c57
General cleanup (#235)
* Removed inference context

* Unify inference of partial range and list targets

* Capitalize all action names

* Starting to clean up process targets

* Added selection type to action preference

* Updated variable names

* Move modifiers to own process file

* Moved process selection type to own file

* Moved process mark to own file

* Moved process position to own file

* Moved files into folders

* Rename start and end to anchor and active

* Filter duplicate selections

* cleanup

* move cursor token out of navigational map

* Reworked inference

* Some minor tweaks

* Small tweaks

* Move some files

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-19 17:05:03 +01:00
Pokey Rule
91c391284b
Retry tests and remove sleep (#239) 2021-08-19 15:20:19 +01:00
Pokey Rule
4aaa12e6db Release 0.21.0 2021-08-17 17:02:07 +01:00
Andreas Arvidsson
0e67a27548
Fixed bug with array in pair value (#241) 2021-08-16 14:27:07 +01:00
Andreas Arvidsson
7a107192d0
Bugfixes: past token, past end of, subtoken out of range, sort tokens (#229)
* Support take token past

* Support take past token

* Added more tests

* Better error message for sub token index out of range

* No delimiters on start and end of positions

* Sort multiple match tokens

* Sort tokens on length

* Sort tokens on length

* Sort on alphanumeric as well

* Added additional tests

* Change directory

* Add directory to a message

* Changed inference on end

* Added tests

* find tokens by range

* Renamed attributes

* Add docstring

* Fix multi-editor bug

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-15 13:28:25 +02:00
Pokey Rule
0ad7888dd5
Fix cross-split selections (#233) 2021-08-15 12:43:46 +02:00
Andreas Arvidsson
33445988aa
Check ancestors for every (#227) 2021-08-13 22:30:21 +01:00
Pokey Rule
165153b8a1
Add newlines to end of yaml test cases (#226) 2021-08-13 18:05:08 +02:00
Andreas Arvidsson
38857a0ab9
Added matching backtick quotes (#211) 2021-08-10 13:50:51 +01:00
Daniel Grunwald
698f45cfe5
Add support for C++ (#186)
* Add support for C++.

* Match RHS of assignments in `value` matcher

* Tests + bugfixes for C++ node matchers.

* Support c by using cpp

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-09 19:27:43 +01:00
maciejklimek
87ebee8ca7
Add surrounding pair modifier (#3) (#168)
* Add surrounding pair modifier (#3)

* delimeter => delimiter

* Clean up

* Tweak

* More tweak

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-09 19:17:17 +01:00
Pokey Rule
7ded70a27d
Improve parse tree errors (#207) 2021-08-08 22:00:51 +02:00
Andreas Arvidsson
a73ff8744c
Updated how line decorations are shown (#194) 2021-08-07 05:48:27 -07:00
Pokey Rule
7b3db14f26
Add docs for adding a new language (#187) 2021-08-05 12:01:15 -07:00
Andreas Arvidsson
76cff68f40
Treat line numbers as proper marks (#180) 2021-08-05 19:39:31 +01:00
Pokey Rule
54aa161f54
docs cleanup (#179) 2021-08-04 21:38:41 +01:00
Andreas Arvidsson
21ac9b4d4b
Added documentation for test recorder (#177)
* Added documentation for test recorder

* Moved documentation to docs folder

* Tweak README

Co-authored-by: Pokey Rule <pokey.rule@gmail.com>
2021-08-04 21:29:54 +01:00
Andreas Arvidsson
88d596ef17
Added modified tests for head tail and line numbers (#178) 2021-08-04 21:25:13 +01:00
Andreas Arvidsson
959646ee1c
Declarative language definition (#151)
* Unified types for array and map items

* Support deconstruct pattern

* Support deconstructed array

* Support arguments for plain javascript

* Added modifier regex

* Started working on new language matcher

* Improved matcher

* Enable strings

* Support empty strings

* Added support for fields

* Pours function and class names

* Added wildcard type

* Added optional types

* Added support for important node

* cleanup

* cleanup

* Clean up pojo matchers

* Added pattern documentation

* Added object pattern

* Support argument identifier for scope modifier name

* Added argument matcher

* , delimiter adjustment

* Implement argument matcher for other languages

* Added value to java

* Added support for multiple field names

* cleanup

* Use dot operator for sequential field names

* Updated java

* Better error message

* Added support for matcher to return multiple selections

* Added scope type attribute

* Added attribute keys

* cleanup finders

* cleanup

* Added attribute values

* cleanup

* Added comments to json

* Added field names to debug

* Sequential field names in own square brackets

* Adding tests

* More tests

* Updated tests

* Added more tests

* Added until and tween tests

* Added tests for jsx

* Fixed bug when changing language too fast

* Added tests for json

* Move sleep before selections

* Try catch in debug

* Increased sleep time

* Reworked every modifier

* tests cleanup

* Added tests for java

* Added tests for python

* More tests

* cleanup

* cleanup

* cleanup
2021-08-03 23:10:10 +01:00
Andreas Arvidsson
9f0405d5b4
Don't do inference from end to start (#143)
* don't do inference from end to start

* Added tests

* Added tests
2021-08-03 22:57:22 +01:00
Andreas Arvidsson
6b054ff88e Various fixes and improvements to frankenbranch 2
Disable check for modifications outside of viewport

Make return values optional

Updated that mark

Updated mark selection for bring move swap

Added tests

Added more tests

Added more tests

Updated delimiters

Added more tests

Removed duplicate folder names

Added positions test

Added more tests

Only sleep for mac

Only sleep on ci

Add sleep for linux ci

cleanup

Fixed selection bug with wrap command

Retry in record test
2021-08-02 09:58:11 -07:00
Andreas Arvidsson
bed41c9843 Added modifier line number (#165)
* Added modifier line number

* Added event that checks for edits outside of viewport

* Improved warning message

* Support ranges in line modifier
2021-08-02 09:57:48 -07:00
Andreas Arvidsson
d20482c274 Added actions sort and reverse (#162)
* Added actions sort and reverse

* cleanup
2021-08-02 09:57:48 -07:00
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