This commit is contained in:
Krzosa Karol
2026-02-05 17:28:56 +01:00
parent 2acf7fbb45
commit 7fad476b61
2 changed files with 5 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
/* /*
- [ ] Cleanups - [ ] Cleanups
- [ ] Delta based scrolling!! - [ ] How to enable framerate to be unlimited and not break scrolling?
- [ ] Enable framerate?
- [x] When dragging a file into the editor, would be nice if the file opened in the window user dropped the file into. Not the active window. - [x] When dragging a file into the editor, would be nice if the file opened in the window user dropped the file into. Not the active window.
- [ ] When 2 views of same buffer are open, the view with caret below the caret which modifies the view - starts moving and getting messed up - [ ] When 2 views of same buffer are open, the view with caret below the caret which modifies the view - starts moving and getting messed up
- [ ] Reduce number of created buffers to one per window, should be enough - [ ] Reduce number of created buffers to one per window, should be enough
@@ -30,6 +29,9 @@
- [ ] Open - [ ] Open
- [ ] Way to bind "open" commands to keys from config - [ ] Way to bind "open" commands to keys from config
- [ ] Ability to access and set clipboard as well as affect selection in the open scripts - [ ] Ability to access and set clipboard as well as affect selection in the open scripts
- [ ] QueryFile
- [ ] Indicate to user that he is choosing a file
- [ ] Define clear rules for opt out (like switching to different window) and kill or views that were for choosing?
*/ */
#define PLUGIN_PROFILER 1 #define PLUGIN_PROFILER 1

View File

@@ -683,7 +683,7 @@ Array<Edit> ReplaceEx(Allocator scratch, View *view, String16 string) {
} }
EndEdit(buffer, &edits, &view->carets, EndEdit_KillSelection); EndEdit(buffer, &edits, &view->carets, EndEdit_KillSelection);
return edits; return edits;
} }
void Replace(View *view, String16 string) { void Replace(View *view, String16 string) {
Scratch scratch; Scratch scratch;