Closed bibimbop closed 11 years ago
It's even worse than that; try it with
abc
def
replacing c\nd
with \n
-- text rendering of the remaining d gets confused, a sign that something invalid has been put in the edit data.
OK, good news, the problem is not in the inserted text. The document contents are correctly updated with the replacement newline. What's borked is the display, following replacement of text at the end of a line with a newline. You can see this as follows:
</i>\n<i>
or c\nd
)So I need to figure out how to make the edit panel repaint itself after a replace...
Commit 2e61872
I have the following lines:
I search for
and replace with:
The text found is correctly highlighted, however replace will only remove the . on the second line is still there, highlighted.