]> git.neil.brown.name Git - edlib.git/commitdiff
doc-test: doc:clear must send doc:replaced
authorNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 02:17:46 +0000 (12:17 +1000)
committerNeilBrown <neil@brown.name>
Fri, 21 Jul 2023 02:17:46 +0000 (12:17 +1000)
Without this, linecount gets badly confused.

Signed-off-by: NeilBrown <neil@brown.name>
DOC/TODO.md
doc-text.c

index c301280662cab2b33e75accbcff3b74aebdd857c..375b752ad9f1642e3080f19eba389db05f3bdb77 100644 (file)
@@ -13,7 +13,7 @@ the file.
       cursor gets positioned outside the window
 - [X] when find-file dialog shifts left, it doesn't shift back until
       cursor is v.close to left, even when the rest of the line is blank
-- [ ] line-count in make output is weird.  Second line can be thousands
+- [X] line-count in make output is weird.  Second line can be thousands
 - [ ] Make sometimes doesn't follow output, though usually it does
 - [ ] If dynamic-complete only finds one completion, does it still want
       a menu?
index 826a947ac3588a1f6465f455599821a9ac226112..6ebcd2f034aa4d781cb3e52800c35c20983cbfa4 100644 (file)
@@ -2539,6 +2539,7 @@ DEF_CMD(text_clear)
                m->ref.c = NULL;
                m->ref.o = 0;
        }
+       pane_notify("doc:replaced", ci->home);
 
        return 1;
 }