mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-03 09:51:13 -03:00
reader: move function definition out-of-line
Happily, clangd provides a code action to do this. No functional change.
This commit is contained in:
@@ -264,6 +264,13 @@ bool editable_line_t::undo() {
|
||||
return did_undo;
|
||||
}
|
||||
|
||||
void editable_line_t::clear() {
|
||||
undo_history.clear();
|
||||
if (empty()) return;
|
||||
set_text_bypassing_undo_history(L"");
|
||||
set_position(0);
|
||||
}
|
||||
|
||||
void editable_line_t::push_edit(edit_t &&edit) {
|
||||
// Assign a new group id or propagate the old one if we're in a logical grouping of edits
|
||||
if (edit_group_level_ != -1) {
|
||||
|
||||
Reference in New Issue
Block a user