Vincent van Ravesteijn wrote:

> The attached patch 'solves' these two bugs, but it feels like a dirty fix.

How about checking for innerTextSlice() instead?

Jürgen
Index: src/BufferView.cpp
===================================================================
--- src/BufferView.cpp	(Revision 28566)
+++ src/BufferView.cpp	(Arbeitskopie)
@@ -2417,6 +2417,8 @@
 		return true;
 	if (a.empty() || b.empty())
 		return false;
+	if (&a.innerTextSlice() || &b.innerTextSlice())
+		return false;
 	return &a.innerParagraph() == &b.innerParagraph();
 }
 

Reply via email to