From d70d2f8e3d9cf3d1d3025aad8d9e7e40af19af72 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 2 Feb 2006 02:19:37 +0000 Subject: Fixed bug where performing a split on several paragraphs missed later paragraphs. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index d1abba7c7..bd0fc9fba 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -1676,6 +1676,7 @@ void Editor::LinesSplit(int pixelWidth) { targetEnd += static_cast(strlen(eol)); } } + lineEnd = pdoc->LineFromPosition(targetEnd); } pdoc->EndUndoAction(); } -- cgit v1.2.3