diff options
| -rw-r--r-- | main.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -940,26 +940,6 @@ static void debug_file(Str path) { } } -/* -case '<': { - TxtLoc end = eb->cur; - VuiKey k = vui_key(); - if (k == '<' || motion(&end, k)) { - if (k == '<') end = next_line_start(end); - u32 ofs = txt_ofs(eb->cur); - TxtLoc start = start_of_line(eb->cur); - u32 lines = 0; - for (TxtLoc t = start; txt_before(t, end); t = next_line_start(t)) lines++; - while (lines--) { - if (txt_byte(start) == '\t') - start = txt_delete_c(cnext(start)); - start = next_line_start(start); - } - eb->cur = txt_at(eb->txt, ofs); - } -} break; -*/ - static TxtLoc indent_dedent_lines(TxtLoc start, TxtLoc end, int n) { if (txt_before(end, start)) { TxtLoc t = start; |
