Commit Graph

208 Commits

Author SHA1 Message Date
Anton-4
83b3dea08e simpler, more mem efficient and probably faster selection 2021-01-09 13:08:36 +01:00
Anton-4
38a6b19b0f progress on selection memory optimization 2021-01-08 20:10:01 +01:00
Anton-4
83b4bb9be8 merge fixes 2021-01-08 16:26:04 +01:00
Anton-4
659a77da9f pull in trunk, moved all pipelines to single file, renamed model to ed_model 2021-01-08 16:17:59 +01:00
Anton-4
f71d1a5c42 refactoring for improved structure 2021-01-08 16:12:18 +01:00
Anton-4
bca451af3c caret is now drawn, centralized colors more in one place 2021-01-06 19:16:00 +01:00
Anton-4
e19969ac69 clippy, fmt, comments 2021-01-06 10:38:31 +01:00
Anton-4
4e99f7ca6a selection shrink tests, selection shrink fixes 2021-01-05 20:08:19 +01:00
Anton-4
bed9166fcb selection extension test, selection extension fixes 2021-01-05 17:56:28 +01:00
Anton-4
85553987ec end selection tests 2021-01-04 20:06:32 +01:00
Anton-4
45296ba2e5 start selection tests 2021-01-04 16:45:55 +01:00
Anton-4
df53e78c53 tests for all caret movement, moving caret up now goes to beginning of line for first line 2021-01-04 14:42:24 +01:00
Anton-4
1acbe42962 implemented selection test DSL, added caret tests for move right 2021-01-02 19:33:26 +01:00
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