Misc improvements
This commit is contained in:
@@ -169,21 +169,6 @@ void Command_ShowBufferList() {
|
||||
SelectRange(command_bar.view, GetBufferBeginAsRange(command_bar.buffer));
|
||||
} RegisterCommand(Command_ShowBufferList, "ctrl-p");
|
||||
|
||||
void EvalCommand(String command) {
|
||||
For (CommandFunctions) {
|
||||
if (it.name == command) {
|
||||
ProfileScopeEx(it.name);
|
||||
it.function();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void EvalCommand(String16 command) {
|
||||
Scratch scratch;
|
||||
EvalCommand(ToString(scratch, command));
|
||||
}
|
||||
|
||||
void OpenCommand(BSet active) {
|
||||
ProfileFunction();
|
||||
Range range = active.view->carets[0].range;
|
||||
|
||||
Reference in New Issue
Block a user