Indent lines make selection nicer
This commit is contained in:
@@ -35,7 +35,6 @@ New UI Session
|
||||
|
||||
FEATURE Some decl/function indexing in fuzzy format
|
||||
FEATURE dump text editor state to file, restore state
|
||||
- Search and replace
|
||||
- word complete
|
||||
- escapeing multiple cursor after ctrl + d should put the cursor where it was (probably will need to swap secondary and primary cursor for new cursor
|
||||
- draw indentation levels like in sublime (those lines) - we render chars one by one so seems relatively easy to figure out if whitespace belongs to beginning of line (make sure to add max value like 40 because of big files)
|
||||
@@ -54,3 +53,21 @@ FEATURE dump text editor state to file, restore state
|
||||
- gap buffer
|
||||
- optimize rendering - command buffer, and vertice buffer instead of vertice buffer with scissor
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
WORD COMPLETE
|
||||
1. Tokenize the file (or maybe couple last viewed files)
|
||||
2. Match the tokens (identifiers) with prefix string and produce a list
|
||||
3. Remove duplicates
|
||||
4. Sort by proximity to cursor
|
||||
|
||||
We save the iterator, it's enough for it to be global with unique for it arena
|
||||
If prefix ask is the same - reuse the iterator go to next word, if there are none go to next buffer ...
|
||||
else - dump old, create new
|
||||
|
||||
Reference in New Issue
Block a user