aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-19 13:51:40 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-19 13:51:40 +0200
commit43a4ad606d2bed35bdb418bffe42d885f57c042b (patch)
tree7f9e39cb2a684b339ec4d2f6c7a1272d75a843bc /text.c
parenta85d110f2859d3e44547b43d1948080c78b6d867 (diff)
downloadvis-43a4ad606d2bed35bdb418bffe42d885f57c042b.tar.gz
vis-43a4ad606d2bed35bdb418bffe42d885f57c042b.tar.xz
Remove some TODO items
Diffstat (limited to 'text.c')
-rw-r--r--text.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/text.c b/text.c
index 2f3ea17..58ded1d 100644
--- a/text.c
+++ b/text.c
@@ -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) {