Remove unneccesary folders
This commit is contained in:
@@ -105,6 +105,7 @@ void handle_editor_event(Editor *editor, KeyEvent event) {
|
||||
lock_1.unlock();
|
||||
std::unique_lock lock_2(editor->knot_mtx);
|
||||
editor->root = insert(editor->root, pos, (char *)"\n", 1);
|
||||
editor->folded = (int *)calloc(editor->root->line_count + 2, sizeof(int));
|
||||
lock_2.unlock();
|
||||
if (editor->tree) {
|
||||
TSInputEdit edit = {
|
||||
|
||||
Reference in New Issue
Block a user