diff options
| author | WormHeamer | 2026-01-01 02:08:51 -0500 |
|---|---|---|
| committer | WormHeamer | 2026-01-01 02:08:51 -0500 |
| commit | 40691af331e1f9b77e16249337e33e184240f791 (patch) | |
| tree | ffda71b06a968cfdcdb7dc614fcb1846b8cf2f27 | |
| parent | 7395911486b1a3b1387fefbbd803a5a512300b44 (diff) | |
remove commented-out code
| -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; |
