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:
3f44467
)
キャレットがはみ出るバグを修正した
author
test
<test@yahoo.co.jp>
Tue, 15 Dec 2020 11:03:27 +0000
(20:03 +0900)
committer
test
<test@yahoo.co.jp>
Tue, 15 Dec 2020 11:03:27 +0000
(20:03 +0900)
Core/EditView.cs
patch
|
blob
|
history
diff --git
a/Core/EditView.cs
b/Core/EditView.cs
index
fa9a17c
..
48781ce
100644
(file)
--- a/
Core/EditView.cs
+++ b/
Core/EditView.cs
@@
-741,7
+741,7
@@
namespace FooEditEngine
//キャレットのY座標を求める
double lineHeight = this.render.emSize.Height;
double caret_y = this.Src.OffsetY; //src.rowからキャレット位置
- double alignedHeight = PhyLineCountOnScreen *
this.render.emSize.
Height;
+ double alignedHeight = PhyLineCountOnScreen *
lineHeight - line
Height;
for (int i = this.Src.Row; i < tp.row; i++)
{
int lineHeadIndex = this.LayoutLines.GetIndexFromLineNumber(i);