Diff of /src/Editor.cxx [a02215] .. [72e446]  Maximize  Restore

Switch to side-by-side view

--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3814,7 +3814,7 @@
 		// Copy this line and its styles from the document into local arrays
 		// and determine the x position at which each character starts.
-		LineLayout ll(8000);
+		LineLayout ll(pdoc->LineStart(lineDoc+1)-pdoc->LineStart(lineDoc)+1);
 		LayoutLine(lineDoc, surfaceMeasure, vsPrint, &ll, widthPrint);
 		ll.containsCaret = false;

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks