Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#610 Multi Cursor for paredit #1606

Open
wants to merge 54 commits into
base: dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
a482351
fixes #1607 selection api cleanup
riotrah Mar 20, 2022
815e4bf
reformat + undo auto import organize
riotrah Mar 26, 2022
87c6d49
Multi Cursor for paredit Expand selection and shrink selection
riotrah Mar 19, 2022
4616405
2nd attempt multi cursor paredit start
riotrah Mar 20, 2022
b090921
Make most multi cursor work, tons of tests changes
riotrah Mar 28, 2022
5f12aea
Experiment with mixing native delete/backspace with paredit per-cursor
riotrah Apr 1, 2022
0b377a8
Fix spelling mistake
riotrah Apr 1, 2022
d00a3c2
prettier format files
riotrah Apr 1, 2022
5594bc4
prettier format (again lol)
riotrah Apr 2, 2022
5c8a408
Post forward or up commands rebase fixes; multi cursor seems to work!
riotrah Apr 2, 2022
57a1d9a
Add more cspell exceptions
riotrah Apr 2, 2022
2bcc6e7
Double each example in test-date/paredit-sandbox for multi cursor tests
riotrah Apr 2, 2022
40f2612
Format
riotrah Apr 2, 2022
46d4fce
Fix unit test watcher not capturing changes
riotrah Apr 7, 2022
6f8a758
Add whole-project format step before compile
riotrah Apr 7, 2022
8fd9345
Update text notations utils for new syntax; cleanup
riotrah Apr 7, 2022
49f77e8
Add textNotationFromDoc debug unit test util + test for it
riotrah Apr 7, 2022
230dff6
Add distance/isSelection/isCursor utility props to ModelEditSelection
riotrah Apr 7, 2022
2242e08
Remove naive EditableDocument .delete() .backspace() single cursor args
riotrah Apr 7, 2022
4f77f77
Make ModelEdit generic with edit fn as type param + utils, fix dead code
riotrah Apr 7, 2022
071b4d2
Simplify overloaded paredit funcs
riotrah Apr 7, 2022
6c5a74a
Create exported functions for killForward/BackwardList/Sexp, fix multi
riotrah Apr 7, 2022
308d3e7
Merge branch 'dev' into rayat-amperity/issue610
riotrah Apr 7, 2022
c79490c
Update changelog. Fixes #610
riotrah Apr 7, 2022
bcf8838
Merge branch 'rayat-amperity/issue610' of https://github.com/rayat-am…
PEZ Apr 8, 2022
e991540
Add command for getting textnotation from doc
PEZ Apr 8, 2022
464f041
Merge pull request #1 from BetterThanTomorrow/rayat-amperity-rayat-am…
rayat-amperity Apr 8, 2022
61087b5
Remove cursor when-contexts. Let's hope no one's mad !
riotrah Apr 7, 2022
1e44247
Fix Expand Selection selects only open parens bug
riotrah Apr 8, 2022
0877a1e
Merge branch 'dev' into rayat-amperity/issue610
PEZ Apr 9, 2022
43f67f3
Change newline text-notation `•` -> `§`
PEZ Apr 9, 2022
dfed45e
Add link to text-notation video
PEZ Apr 9, 2022
7c7a926
Add some multi-cursor tests
PEZ Apr 9, 2022
fc51d29
Add command for creating doc from text-notation
PEZ Apr 9, 2022
7a06377
Update changelog [skip ci]
PEZ Apr 9, 2022
0d37220
Add failing test for docFromTextNotation
PEZ Apr 9, 2022
f5651f3
Update changelog
PEZ Apr 9, 2022
ace972e
Add tests exposing docFromTextNotation bug
PEZ Apr 9, 2022
62a922f
Fix tNToDoc regressions
riotrah Apr 10, 2022
7f133a2
Add a selection smorgasboard test
PEZ Apr 10, 2022
ac76eb1
Add more tests barf and splice
PEZ Apr 10, 2022
5d5c1e4
Add some tests for Wrap Sexp
PEZ Apr 10, 2022
180c757
Add some tests for kill-right
PEZ Apr 10, 2022
bccbafb
Merge branch 'dev' into rayat-amperity/issue610
riotrah Apr 14, 2022
29da58e
Simplify tasks.json
riotrah Apr 14, 2022
98750bd
Add some paredit related utils
riotrah Apr 14, 2022
394c9fe
Start experimental multi cursor copy-paste paredit
riotrah Apr 14, 2022
cd90fa9
Some cleanup, spelling
riotrah Apr 14, 2022
345e8cd
Decouple textNotationFromDoc into textNotationFromTextAndSelection
riotrah Apr 14, 2022
d33bedd
Make 'Multi-cursors maintain balanced delimiters" pass
riotrah Apr 14, 2022
ead4af0
Latest multi cursor tests pass
riotrah Apr 15, 2022
a095c45
Add test for one-line text-notation w trailing cursor
PEZ Apr 18, 2022
86dff85
Remove funny precompile command
PEZ Apr 18, 2022
5975c48
Use dev tasks.json
PEZ Apr 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2722,7 +2722,7 @@
"watch-docs": "mkdocs serve",
"clean": "rimraf ./out && rimraf ./tsconfig.tsbuildinfo && rimraf ./cljs-out",
"update-grammar": "node ./src/calva-fmt/update-grammar.js ./src/calva-fmt/atom-language-clojure/grammars/clojure.cson clojure.tmLanguage.json",
"precompile": "npm i && npm run clean && npm run update-grammar && npm run prettier-format",
"precompile": "npm i && npm run clean && npm run update-grammar",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove this @PEZ ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not needed to compile. It's needed before we run the prettier-format-watch script. And there's a preprettier-format-watch for that.

"compile-cljs": "npx shadow-cljs compile :calva-lib :test",
"compile-ts": "npx tsc --project ./tsconfig.json",
"compile": "npm run compile-cljs && npm run compile-ts",
Expand Down