Misc refactor
This commit is contained in:
@@ -21,7 +21,6 @@ Debug session:
|
||||
- Some bad allocating happening in Clipboard for sure
|
||||
|
||||
New UI Session
|
||||
- Move CommandWindow hooks to hooks
|
||||
- Cleanup String16/String with Open and EvalCommands after lua refactor
|
||||
- Uneditable buffers ?
|
||||
- Maybe marked allocations??? So that we can associate allocations with a buffer or view and then dealloc all at the same time
|
||||
@@ -35,7 +34,6 @@ New UI Session
|
||||
- DBBuffer
|
||||
- Guide on the first page for new users with links to configs, tutorials
|
||||
|
||||
- Why constraint that name of buffer needs to be unique? For Open() and default behavior but is this required?
|
||||
- Try to add Tracking Allocator and rewrite the app, free all memory at the end of the app and check all is well
|
||||
- Maybe fix OS layer returning with "/" at the end for directories
|
||||
- Fix open code pattern
|
||||
|
||||
@@ -45,7 +45,6 @@ void CommandWindowUpdate() {
|
||||
ProfileFunction();
|
||||
BSet active = GetBSet(ActiveWindowID);
|
||||
if (active.window->id == CommandWindowID) {
|
||||
if (!ProcessIsActive(active.view->id)) {
|
||||
Scratch scratch;
|
||||
String16 line_string = GetLineStringWithoutNL(active.buffer, 0);
|
||||
if (active.view->prev_search_line != line_string) {
|
||||
@@ -68,7 +67,6 @@ void CommandWindowUpdate() {
|
||||
active.view->carets[0] = caret;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void Command_ShowCommands() {
|
||||
|
||||
Reference in New Issue
Block a user