summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWormHeamer2026-01-01 02:08:51 -0500
committerWormHeamer2026-01-01 02:08:51 -0500
commit40691af331e1f9b77e16249337e33e184240f791 (patch)
treeffda71b06a968cfdcdb7dc614fcb1846b8cf2f27
parent7395911486b1a3b1387fefbbd803a5a512300b44 (diff)
remove commented-out code
-rw-r--r--main.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/main.c b/main.c
index 589f9e0..e8af990 100644
--- a/main.c
+++ b/main.c
@@ -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;