internal Line left; // Line with smaller line number\r
internal Line right; // Line with higher line number\r
internal LineColor color; // We're doing a black/red tree. this is the node color\r
- internal int DEFAULT_TEXT_LEN; // \r
+ static int DEFAULT_TEXT_LEN = 0; // \r
internal bool recalc; // Line changed\r
#endregion // Local Variables\r
\r
break;\r
}\r
\r
- TextBoxTextRenderer.DrawText (dc, end_str, last.Font, last.Color, X + widths [TextLengthWithoutEnding ()] - document.viewport_x, y, true);\r
+ TextBoxTextRenderer.DrawText (dc, end_str, last.Font, last.Color, X + widths [TextLengthWithoutEnding ()] - document.viewport_x + document.OffsetX, y, true);\r
}\r
\r
/// <summary> Find the tag on a line based on the character position, pos is 0-based</summary>\r