Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP editor_engine.rs and editor_buffer.rs
Caret - Add TWCommand to show & set caret (GlobalCursor) - Add support for LocalPaintedEffect caret TWCommandQueue - add macro to make it easy to join and drop other queues into one Position - add methods to check for bounds when adding rows and cols Unicode - Vec<GraphemeClusterSegment> to / from String Debug - Add GetSize derive macro for various structs Testing - Add tests for editor buffer & engine - No such thing as visible for testing in integration tests Ergonomics - Add better macro for debug: call_if_debug_true! Documentation - Better code examples for macros Here's the design doc for this feature: - #23 - #30
- Loading branch information
1 parent
39f741f
commit dae5aca
Showing
22 changed files
with
983 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ Cargo.lock | |
**/target | ||
docs/*.bkp | ||
docs/*.dtmp | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"files": [ | ||
{ | ||
"path": "src/tui/crossterm_helpers/tw_command.rs", | ||
"bookmarks": [ | ||
{ | ||
"line": 319, | ||
"column": 4, | ||
"label": "" | ||
}, | ||
{ | ||
"line": 326, | ||
"column": 4, | ||
"label": "" | ||
}, | ||
{ | ||
"line": 486, | ||
"column": 8, | ||
"label": "" | ||
} | ||
] | ||
}, | ||
{ | ||
"path": "src/tui/terminal_window/main_event_loop.rs", | ||
"bookmarks": [ | ||
{ | ||
"line": 234, | ||
"column": 6, | ||
"label": "" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.