diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-19 13:51:40 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-19 13:51:40 +0200 |
| commit | 43a4ad606d2bed35bdb418bffe42d885f57c042b (patch) | |
| tree | 7f9e39cb2a684b339ec4d2f6c7a1272d75a843bc | |
| parent | a85d110f2859d3e44547b43d1948080c78b6d867 (diff) | |
| download | vis-43a4ad606d2bed35bdb418bffe42d885f57c042b.tar.gz vis-43a4ad606d2bed35bdb418bffe42d885f57c042b.tar.xz | |
Remove some TODO items
| -rw-r--r-- | text.c | 3 | ||||
| -rw-r--r-- | vis.c | 3 | ||||
| -rw-r--r-- | window.c | 2 |
3 files changed, 1 insertions, 7 deletions
@@ -314,9 +314,6 @@ static void span_init(Span *span, Piece *start, Piece *end) { * adjusts the document size accordingly. */ static void span_swap(Text *txt, Span *old, Span *new) { - /* TODO use a balanced search tree to keep the pieces - instead of a doubly linked list. - */ if (old->len == 0 && new->len == 0) { return; } else if (old->len == 0) { @@ -981,14 +981,11 @@ static void switchmode_to(Mode *new_mode) { if (mode->leave) mode->leave(new_mode); mode_prev = mode; - //fprintf(stderr, "%s -> %s\n", mode_prev->name, new_mode->name); mode = new_mode; if (mode == config->mode || (mode->name && mode->name[0] == '-')) statusbar(vis->win); if (mode->enter) mode->enter(mode_prev); - // TODO display mode name somewhere? - } /** ':'-command implementations */ @@ -401,7 +401,7 @@ void window_draw(Win *win) { } if (sel.start <= pos && pos < sel.end) - attrs |= A_REVERSE; // TODO: make configurable + attrs |= A_REVERSE; size_t len = mbrtowc(&c.wchar, cur, rem, NULL); if (len == (size_t)-1 && errno == EILSEQ) { |
