OSDN Git Service
(root)
/
fooeditengine
/
FooEditEngine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
012c9e9
)
行の高さは固定なので行ごとに高さを取得する必要はない
author
gdkhd812
<test@nnn.co.jp>
Sat, 19 Dec 2015 09:15:23 +0000
(14:45 +0530)
committer
gdkhd812
<test@nnn.co.jp>
Sat, 19 Dec 2015 09:15:23 +0000
(14:45 +0530)
Core/EditView.cs
patch
|
blob
|
history
diff --git
a/Core/EditView.cs
b/Core/EditView.cs
index
b892490
..
e17619f
100644
(file)
--- a/
Core/EditView.cs
+++ b/
Core/EditView.cs
@@
-267,7
+267,8
@@
namespace FooEditEngine
DrawUpdateArea(i, pos.Y);
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();
}
this.render.EndClipRect();
@@
-294,7
+295,8
@@
namespace FooEditEngine
this.render.DrawOneLine(this.LayoutLines, i, pos.X, pos.Y, selectRange);
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();
}
this.render.EndClipRect();