Commit graph

195 commits

Author SHA1 Message Date
Anton-4
6e245b20c9 clippy fix 2021-01-01 15:49:19 +01:00
Anton-4
df5661541c editor folder reorganization 2021-01-01 15:02:31 +01:00
Richard Feldman
c420893fe2
Merge pull request #853 from rtfeldman/bye-cond
remove Cond from the mono IR
2021-01-01 00:11:32 -05:00
Folkert
754521c4c3 all the clippy fixes 2021-01-01 00:40:41 +01:00
Anton-4
657081fc3c rustfmt 2020-12-30 17:27:50 +01:00
Anton-4
fb66312a69 renamed txt_cursor to caret 2020-12-30 17:21:21 +01:00
Anton-4
7f69e57d30 Merge branch 'trunk' of ssh://github.com/rtfeldman/roc into text_highlighting 2020-12-30 13:40:42 +01:00
Anton-4
0a46c1d48f improvements based on PR feedback 2020-12-30 13:40:36 +01:00
Richard Feldman
6a0c2a4867
Merge pull request #840 from rtfeldman/editor-ast-module
Editor ast module
2020-12-29 23:26:26 -05:00
Anton-4
862a85698c merge, fmt, clippy 2020-12-29 20:42:58 +01:00
Anton-4
bae3db0616 rustfmt, renamed caret to txt_cursor 2020-12-29 20:30:40 +01:00
Anton-4
2b0a320734 implemented selection with up and down arrows, closes #776 2020-12-29 20:18:59 +01:00
Anton-4
f67c4324d4 selection bug fixes #776 2020-12-29 19:14:16 +01:00
Anton-4
cf7c816123 closes #836, closes #832, bug fixes for #776 2020-12-29 11:59:39 +01:00
Folkert
a5d58c4a7f introduce aliases into scope 2020-12-28 22:18:16 +01:00
Sébastien Besnier
4e9387cbda fix compile issues 2020-12-28 21:17:27 +01:00
Anton-4
12990d293c added limited shift+arrow functionality (with bugs) #776 2020-12-28 19:47:50 +01:00
Anton-4
da6fe428a3 went from single String 'text_state' to Vec<String> 'lines' 2020-12-28 16:56:19 +01:00
Anton-4
103cccd61b put more things in the model 2020-12-28 15:41:48 +01:00
Anton-4
0556e61ca2 Added position struct for text selection 2020-12-28 11:40:29 +01:00
Folkert
a6ee72dbac basic version of editor/module 2020-12-27 16:22:34 +01:00
Anton-4
8219293e65 added InvalidSelection error, moved all selection stuff to separate file 2020-12-26 20:22:40 +01:00
Anton-4
8c55f4b172 use snafu for errors, pretty backtraces, added backtrace editor idea 2020-12-26 19:24:09 +01:00
Anton-4
81412786db working multiline selection, added unit test recording to editor-ideas 2020-12-26 11:15:01 +01:00
Anton-4
7a70c95bb4 rewrite to support multi line selection(unfinished) 2020-12-25 19:46:31 +01:00
Folkert
52d6ab8b7c WIP 2020-12-23 23:59:54 +01:00
Folkert
e1f3a0f8b6 topological sort logic 2020-12-23 00:29:58 +01:00
Folkert
e7e58446a9 candefs 2020-12-22 23:31:25 +01:00
Folkert
35137d2542 add (Typed) Body 2020-12-22 23:05:23 +01:00
Anton-4
fc310cf974 removed hacky caret, fixed highlight rectsize, added voice input idea 2020-12-22 15:57:50 +01:00
Anton-4
c82119e6d8 rect per glyph, buffer size bugfix 2020-12-22 13:39:14 +01:00
Folkert
0acf41dd19 silence clippy 2020-12-21 20:54:26 +01:00
Folkert
fdbff0e2c4 implement variables 2020-12-21 20:53:27 +01:00
Folkert
06053c68a9 implement variables 2020-12-21 20:53:11 +01:00
Folkert
6f8fcd4d42 initial alias 2020-12-21 20:39:34 +01:00
Anton-4
d89bf1c0af highlight all text in editor 2020-12-21 19:49:15 +01:00
Folkert
7e494ad428 shallow clone 2020-12-21 15:34:11 +01:00
Folkert
4c15267be3 annotation without body 2020-12-21 15:18:12 +01:00
Folkert
8a0ba55339 pending def 2020-12-21 14:11:12 +01:00
Folkert
f5337d5bbf add ven_graph to the editor 2020-12-21 13:55:40 +01:00
Folkert
9f3f7699e2 add symbol/variable helper 2020-12-21 13:53:21 +01:00
Folkert
39ffa7d11b add def.rs 2020-12-21 13:50:16 +01:00
Folkert
4c9c9a3173 edit ast for patterns 2020-12-19 00:12:46 +01:00
Folkert
b1e31730d9 tag apply 2020-12-18 01:08:27 +01:00
Folkert
7bedc3ff6e ident and tags 2020-12-18 00:53:31 +01:00
Folkert
f40f0c50b9 clippy 2020-12-17 23:15:33 +01:00
Folkert
90522c01f7 all of annotation (modulo some todos) 2020-12-17 22:25:17 +01:00
Folkert
eb82b08a85 type2 record 2020-12-17 21:28:03 +01:00
Folkert
757449057e skeleton of type2 conversion 2020-12-17 21:10:42 +01:00
Folkert
2f0fe94182 snapshot 2020-12-17 20:22:57 +01:00