Commit graph

134 commits

Author SHA1 Message Date
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
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
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
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
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
Anton-4
d89bf1c0af highlight all text in editor 2020-12-21 19:49:15 +01:00
Folkert
39ffa7d11b add def.rs 2020-12-21 13:50:16 +01:00
Folkert
2f0fe94182 snapshot 2020-12-17 20:22:57 +01:00
Folkert
5b045f8a86 first stab at editor patterns 2020-12-16 13:21:45 +01:00
Folkert
421e652edb Merge remote-tracking branch 'origin/trunk' into parse-to-edit-ast 2020-12-16 00:29:27 +01:00
Folkert
8b289f3398 simple literals in editor ast 2020-12-15 17:00:08 +01:00
Richard Feldman
44e91bbfda
Merge pull request #801 from rtfeldman/editor_refactor
editor: refactoring orthographic projection
2020-12-14 22:19:00 -05:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Anton-4
0feb8a9226 editor refactoring orthographic projection 2020-12-14 15:35:10 +01:00
Anton-4
bf34fc4fe0 Merge branch 'trunk' into editor_pixel_coords 2020-12-12 19:00:34 +01:00
Anton-4
fc4d510c40 more comments and minor cleanup 2020-12-12 18:11:57 +01:00
Anton-4
ea3f15f950 forgot to submit cmd_queue 2020-12-12 17:55:11 +01:00
Anton-4
8ca09dae73 fixed errors and rect positioning 2020-12-12 13:29:43 +01:00
Anton-4
06a2dcb5b7 orthographic projection to support pixel coordinates (with errors) 2020-12-11 19:38:44 +01:00
Richard Feldman
68cf9602e1 cargo fmt 2020-12-08 23:15:57 -05:00
Richard Feldman
ef45e77a35 Add editor::pool 2020-12-08 23:03:42 -05:00
Richard Feldman
5faf73769f
Merge branch 'trunk' into editor-ir 2020-12-05 21:44:20 -05:00
Folkert
1fe0f5d780 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-05 20:58:27 +01:00
Anton-4
0d46835135 refactored text drawing, fixed color shader bug 2020-12-05 17:53:05 +01:00
Folkert
66748d3a50 Merge remote-tracking branch 'origin/trunk' into editor-ir 2020-12-04 20:45:30 +01:00
Anton-4
6af26c9f75 editor: draw multiple rectangles 2020-12-04 20:05:29 +01:00
Anton-4
c0fdc09ec7 Merge branch 'trunk' of rtfeldman/roc into editor_refactor 2020-12-04 11:28:30 +01:00
Anton-4
6dc2471c5b rustfmt 2020-12-04 11:28:20 +01:00
Chadtech
1326219415 File module with read, fmt, and write functionality for the editor 2020-12-04 00:14:32 -05:00
Anton-4
1738141111 editor refactoring 2020-12-02 16:43:54 +01:00
Chadtech
b0570aab99 File module 2020-11-28 13:01:43 -05:00
Bob Shelline
ae868c2aa3 Try to draw multiple rectangles 2020-11-04 20:37:07 -07:00
Bob Shelline
d7a902e3aa Use index buffers to draw a rectangle 2020-11-04 20:00:24 -07:00
Bob Shelline
dda634cf0a Use buffers for vertex data 2020-11-04 19:47:41 -07:00
Bob Shelline
4972e03405 Render a triangle underneath the text 2020-10-30 18:48:10 -06:00
Bob Shelline
6c5ca9370c Restore previous clear color 2020-10-30 18:00:37 -06:00
Bob Shelline
eed7406a41 Update wgpu_glyph to 0.10 2020-10-30 17:54:56 -06:00
Richard Feldman
bf7f1d49e2 Add bucket.rs 2020-10-21 21:48:01 -04:00
Richard Feldman
94367867ea cargo fmt 2020-07-21 01:34:30 -04:00
Richard Feldman
5b7427b762 Drop unused argument 2020-07-21 01:17:24 -04:00