scribe
scribe copied to clipboard
Text editor components
see the commits, all pretty simple stuff.
So after the issue (and small discussion) in https://github.com/jmacdonald/amp/issues/205 I decided to work on updating scribe (and amp) to the current version of the syntect crate, since 3.0.0 introduced some...
In line 124 of gap_buffer.rs, we find: ```rs String::from_utf8_lossy(&self.data[start_offset..end_offset]).into_owned() ``` The `end_offset` is actually an index of a character at the end of the range. This character index should be...
As an avid user of [kakoune](http://kakoune.org/), I find that the ability to have multiple selections a must. They allow you to edit many lines, or many words, at the same...
I implemented a "show open buffers" view in amp a while back and have been using it daily since august. The feature is mostly implemented in amp, but to create...
Scribe's coordinate system is designed as an abstraction over multi-byte "characters", such that a `Range` spanning one `offset` corresponds to a single on-screen character, even if it that character is...
The `Buffer` type should be interacting with a generic type with a specific trait, not the GapBuffer class itself.
Sorry for the machine translation. **environment**: - Windows 11. - Create sentences in notepad. - Read into Buffer with 'from_file()'. **result**: Line breaks were not recognized correctly. **investigation**: The line...