chiark / gitweb /
Second thoughts, remove that assertion again.
authorSimon Tatham <anakin@pobox.com>
Sun, 10 Dec 2023 22:46:02 +0000 (22:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 10 Dec 2023 22:46:02 +0000 (22:46 +0000)
commit01b38afd293b05726b5b6cc8e9251d31604a6bc8
tree16f53d9aad3494563cbf13481aa889037e846e5d
parentc2c8b763409a37f0dd5cf77243935dc30496c802
Second thoughts, remove that assertion again.

Turns out that Composer does want to keep the entire editor buffer in
a ColouredString so that it can colourise it as a whole. And that can
include \n. We do want to keep \n away from add_wch, but keeping it
out of ColouredString entirely isn't a workable approach.

Oh well. The immediate crash is fixed, at least.
text.py