aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
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) {