Commit Graph

457 Commits

Author SHA1 Message Date
Anton-4
bc20ba3a3b full debug view working 2021-04-02 18:11:07 +02:00
Anton-4
bf5ad8df98 debug view for mark_node_pool, code_lines, grid_node_map 2021-04-02 12:16:31 +02:00
Anton-4
9341c8dac2 got room for one more char in ArrayString 2021-03-31 12:58:49 +02:00
Anton-4
fb622c841f refactoring 2021-03-30 20:03:46 +02:00
Anton-4
1332d6e01d working input of string literal 2021-03-30 18:08:27 +02:00
Anton-4
0b81f8bd52 fixed caret movement, fixed char insertion offset for record fields 2021-03-29 19:45:45 +02:00
Anton-4
0cb6af04fd expanded comment 2021-03-29 12:02:33 +02:00
Anton-4
661f5f2adc removed unnecessary clone 2021-03-29 11:52:17 +02:00
Anton-4
a1f6fb206a actually set ed_model.dirty=false after new render 2021-03-29 11:31:11 +02:00
Anton-4
5d43ffcbee Merge branch 'trunk' of github.com:rtfeldman/roc into input_record 2021-03-27 19:17:17 +01:00
Anton-4
0dc2e1780b cleanup of update on new input 2021-03-27 18:23:34 +01:00
Anton-4
bf0e755df4 added adjustment of grid_node_map and AST node when colon is entered 2021-03-27 15:12:00 +01:00
Anton-4
5d85ff8b07 able to input one item record without value as described in #1046 2021-03-27 13:49:32 +01:00
Anton-4
697b257ead stuck on pool borrow error 2021-03-26 18:11:23 +01:00
Richard Feldman
0fcef18c88
Merge pull request #1110 from rtfeldman/docs-improvements
Docs improvements
2021-03-25 22:57:44 -04:00
Richard Feldman
e8c2bef5a9 Appease new clippy lints 2021-03-25 22:55:44 -04:00
Richard Feldman
202a80df44 Allow upper case acronyms in clippy
This is not a big deal, and not worth changing in a bunch of places
just to appease clippy.
2021-03-25 22:55:29 -04:00
Anton-4
bcdc4223aa added line-column->node_id mapping, progress on inputting record 2021-03-24 19:50:24 +01:00
Anton-4
3feedb9248 do all tree modifications when user presses { 2021-03-23 19:38:42 +01:00
Anton-4
01423ff2b7 working caret movement left, right, up, down, home, end 2021-03-23 12:26:17 +01:00
Anton-4
6ab71f9ab9 new caret structure progress, renamed BigSelectedText to BigTextArea 2021-03-22 20:13:49 +01:00
Folkert
ce98da9d04 remove Nested from Def 2021-03-21 21:14:32 +01:00
Folkert
2827af7e59 remove Nested from pattern 2021-03-21 21:03:37 +01:00
Folkert
197835b6ed remove nested in expr 2021-03-21 20:56:18 +01:00
Richard Feldman
e238c2e202
Merge pull request #1090 from rtfeldman/binop-improvements
Binop improvements
2021-03-20 21:59:43 -04:00
Folkert
1871697b0f remove BinOp variant 2021-03-20 23:01:12 +01:00
Folkert
e0c211081a remove update field from normal Record constructor 2021-03-20 16:49:14 +01:00
Folkert
d22acb521e use record for PrecedenceConflict 2021-03-20 15:07:15 +01:00
Anton-4
fd6eb41625
Merge branch 'trunk' into move_caret 2021-03-19 18:06:30 +01:00
Anton-4
f0c100e0b9 minor cleanup 2021-03-19 18:04:33 +01:00
Anton-4
41144032b0 move_caret_right works with multi-level nested nodes 2021-03-19 17:43:16 +01:00
Anton-4
9db5f9c607 move_carets_right function works 2021-03-19 11:05:47 +01:00
Folkert
dc7c384b49 expose less 2021-03-18 14:52:37 +01:00
Anton-4
ac41c099bc almost done with move_caret_right 2021-03-17 20:14:50 +01:00
Anton-4
a5a0d2270f almost done with move_caret_right 2021-03-16 20:20:56 +01:00
Anton-4
afe0dc16ea added parent_id to MarkupNode, created SlowPool mock because Pool can not with a mix of 64 and 32 byte nodes, renamed Hole to Blank: closes #1080 2021-03-16 16:21:14 +01:00
Anton-4
64a88dd31c minor cleanup, more comments 2021-03-15 16:12:00 +01:00
Anton-4
c0dbea6ab1 Merge branch 'trunk' of github.com:rtfeldman/roc into markup 2021-03-15 13:34:53 +01:00
Anton-4
2cb7341888 create ast+markup from roc file, editor idea 2021-03-15 13:16:12 +01:00
Anton-4
a0c417c3fa Added caret drawing, rustfmt 2021-03-13 19:59:26 +01:00
Anton-4
3911a887f9 fixed rectangle drawing, discovered pool memory consumption issue 2021-03-13 17:05:49 +01:00
Anton-4
4d3025786c resolved errors, but rects are invisible 2021-03-13 13:41:05 +01:00
Anton-4
fdfdd80735 resolved some errors+warnings, stuck on borrowed data escapes closure 2021-03-13 11:30:42 +01:00
Anton-4
288061744f markup types, conversion, almost don with rendering 2021-03-12 19:59:41 +01:00
Folkert
9c95392cc6 Merge remote-tracking branch 'origin/trunk' into opt-parser 2021-03-12 03:47:49 +01:00
Folkert
cba55734cb clean up helpers 2021-03-12 03:41:01 +01:00
Folkert
4e4854ceaa remove unneeded argument 2021-03-12 02:48:07 +01:00
Folkert
e214674016 cleanup blankspace function usage 2021-03-11 16:37:42 +01:00
Richard Feldman
dd4d447bf1
Merge pull request #1062 from rtfeldman/parse-header
Parse header
2021-03-10 21:54:51 -05:00
Anton-4
09cab08905 rendering with AST containing Caret and Hole(Box) 2021-03-10 19:51:25 +01:00
Anton-4
5742bd2c3c removed unnecessary static 2021-03-10 12:58:16 +01:00
Anton-4
f51f3d962f stuck on lifetime errors 2021-03-10 12:50:12 +01:00
Folkert
91271d0308 don't leak implementation details 2021-03-09 23:20:31 +01:00
Anton-4
f1e61d943e ast caret progress 2021-03-09 19:52:16 +01:00
Folkert
65cee39041 remove attempting argument from parser state 2021-03-08 16:33:45 +01:00
Anton-4
72de6c3d9c Merge branch 'trunk' of github.com:rtfeldman/roc into update_deps 2021-03-08 13:09:07 +01:00
Anton-4
8aa0006e89 done updating editor dependencies to latest version 2021-03-08 12:25:55 +01:00
Richard Feldman
93e8698007
Merge pull request #1050 from rtfeldman/home_end_keys
Home+End keys tests and bug fixes
2021-03-07 23:08:19 -05:00
rvcas
fdbb32d88a Merge branch 'trunk' into config_persistance 2021-03-06 18:16:55 -05:00
Anton-4
480666e4e3 removed unused dependencies using cargo-udeps #1036 2021-03-06 12:07:09 +01:00
rvcas
dd52292e21 fix(editor): leave workspace Cargo.toml alone and move git ref to editor toml 2021-03-06 00:19:06 -05:00
Lucas
5637dc6e6e
Merge branch 'trunk' into config_persistance 2021-03-06 00:16:49 -05:00
rvcas
be81cc0371 feat(editor): use confy master branch until 0.5.0 is tagged and released 2021-03-06 00:13:46 -05:00
Richard Feldman
af21bc955e
Merge branch 'trunk' into home_end_keys 2021-03-05 22:55:31 -05:00
rvcas
386c72c93d feat(editor): add confy and serde to persistent and load config 2021-03-05 10:41:19 -05:00
Anton-4
ac3ab6618f home+end keys tests and bug fixes 2021-03-05 15:39:05 +01:00
Anton-4
9fa34cda22 home-end bugfixes+partial tests 2021-03-03 20:04:26 +01:00
Folkert
89dcff29e4 Merge remote-tracking branch 'origin/trunk' into parse-record-expr 2021-03-02 13:55:11 +01:00
Folkert
663ffdeb88 more cleanup 2021-03-01 19:04:57 +01:00
Folkert
d19d80ef2e Merge remote-tracking branch 'origin/trunk' into parse-record-expr 2021-03-01 15:27:03 +01:00
Folkert
7c56547958 cleanup 2021-03-01 00:38:03 +01:00
Anton-4
fe916f0d03 refactoring for home and end keys, better Modifiers abstraction 2021-02-27 19:52:28 +01:00
Anton-4
d153e580a1 rustfmt 2021-02-26 19:23:41 +01:00
Anton-4
e667ca6af6 removed TODO 2021-02-26 19:21:44 +01:00
Anton-4
4e05db3038 Merge branch 'trunk' of github.com:rtfeldman/roc into syntax_high_ast 2021-02-26 18:39:18 +01:00
Anton-4
7610ad38f8 got rid of HashMap unwrap 2021-02-26 18:22:44 +01:00
Anton-4
1e255f0c69 Merge branch 'trunk' of github.com:rtfeldman/roc into easier_colors 2021-02-26 14:47:00 +01:00
Anton-4
8c1f9640d6
Merge branch 'trunk' into pool_str_as_str 2021-02-26 13:00:21 +01:00
Richard Feldman
1222c9aeaa
Merge pull request #1028 from rtfeldman/parse-if-list
Improved error messages for list & if
2021-02-25 22:27:30 -05:00
rvcas
4813b924a2 feat(render_ast): use new PoolStr.len/1 and PoolStr.as_str/1 2021-02-25 19:33:59 -05:00
rvcas
0e21fa5d35 feat(PoolStr): change Pool.get_str/1 to PoolStr.as_str/1 2021-02-25 19:33:29 -05:00
Richard Feldman
543e712659
Merge pull request #1026 from rtfeldman/expr2-to-str
Use strings for Expr2 render positioning
2021-02-24 18:34:08 -05:00
Anton-4
c501529685 almost done with ast-backed syntax highlighting 2021-02-24 20:07:30 +01:00
Anton-4
307f0cb9dd Merge branch 'trunk' of github.com:rtfeldman/roc into easier_colors 2021-02-24 10:31:35 +01:00
Anton-4
2ff76267e1 fmt 2021-02-24 10:30:40 +01:00
Folkert
b46467087a Merge remote-tracking branch 'origin/trunk' into parse-if-list 2021-02-23 23:23:05 +01:00
Anton-4
f8944468a4 hsb colors, themes, settings 2021-02-23 19:43:50 +01:00
Anton-4
5b8e52b577 fixes test_big_sel_text failures 2021-02-23 15:00:51 +01:00
Folkert
30ecd378a0 refactor parse AST to allow multiple if branches 2021-02-23 14:31:48 +01:00
Anton-4
005e548757 Merge branch 'trunk' of github.com:rtfeldman/roc into expr2-to-str 2021-02-23 10:39:45 +01:00
Anton-4
b505a479ef fmt 2021-02-23 10:21:15 +01:00
Anton-4
004474f3fc finished conversion to use arena 2021-02-23 10:07:00 +01:00
Anton-4
361ba3ae6c expr2_to_str arena conversion progress 2021-02-22 19:55:04 +01:00
Anton-4
1ef33c42cb Use strings for expr2 positioning 2021-02-22 17:41:35 +01:00
Anton-4
ef8eaa0405 merge fixes, clippy fix 2021-02-22 12:35:56 +01:00
Richard Feldman
3909a265e3 Merge remote-tracking branch 'origin/trunk' into ui_refactor 2021-02-21 23:15:41 -05:00
rvcas
9bf628f34d feat(editor): render records 2021-02-21 21:18:33 -05:00
rvcas
70ebc332ea fix(editor): better spacing between list elems 2021-02-21 20:52:50 -05:00
rvcas
ff02e47efc feat(editor): initial render list 2021-02-21 20:30:19 -05:00
Anton-4
2061eae78b fmt 2021-02-19 19:20:05 +01:00