return;
IEditorRender render = (IEditorRender)base.render;
Point p = this.CaretLocation;
- double height = this.LayoutLines.GetLayout(this.Document.CaretPostion.row).Height;
+ double height = this.LayoutLines.GetLineHeight(this.Document.CaretPostion);
double width = this.render.TextArea.Width;
render.FillRectangle(new Rectangle(this.PageBound.X + this.render.TextArea.X, this.CaretLocation.Y, width, height), FillRectType.LineMarker);
}
double width = layout.GetWidthFromIndex(this.Document.CaretPostion.col);
if (width == 0.0)
width = this.CaretWidthOnInsertMode;
- double height = this.render.emSize.Height;
+ double height = this.LayoutLines.GetLineHeight(this.Document.CaretPostion);
Rectangle updateRect = new Rectangle(
this.CaretLocation.X,
this.CaretLocation.Y,