From ce526cc5ed54756be0c76302da0fec60888453df Mon Sep 17 00:00:00 2001 From: gdkhd812 Date: Sat, 19 Dec 2015 14:45:23 +0530 Subject: [PATCH] =?utf8?q?=E8=A1=8C=E3=81=AE=E9=AB=98=E3=81=95=E3=81=AF?= =?utf8?q?=E5=9B=BA=E5=AE=9A=E3=81=AA=E3=81=AE=E3=81=A7=E8=A1=8C=E3=81=94?= =?utf8?q?=E3=81=A8=E3=81=AB=E9=AB=98=E3=81=95=E3=82=92=E5=8F=96=E5=BE=97?= =?utf8?q?=E3=81=99=E3=82=8B=E5=BF=85=E8=A6=81=E3=81=AF=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Core/EditView.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/EditView.cs b/Core/EditView.cs index b892490..e17619f 100644 --- a/Core/EditView.cs +++ b/Core/EditView.cs @@ -267,7 +267,8 @@ namespace FooEditEngine DrawUpdateArea(i, pos.Y); - pos.Y += this.LayoutLines.GetLayout(i).Height; + //pos.Y += this.LayoutLines.GetLayout(i).Height; + pos.Y += this.render.emSize.Height; } this.render.EndClipRect(); @@ -294,7 +295,8 @@ namespace FooEditEngine this.render.DrawOneLine(this.LayoutLines, i, pos.X, pos.Y, selectRange); - pos.Y += this.LayoutLines.GetLayout(i).Height; + //pos.Y += this.LayoutLines.GetLayout(i).Height; + pos.Y += this.render.emSize.Height; } this.render.EndClipRect(); -- 2.11.0