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:
b534c35
)
HGゴシックM使用時に改行マークの表示するかどうかを変更するとキャレットが本来ある位置とはずれて表示される問題を解決した
author
gdkhd812
<jbh03215@htmil.co.jp>
Mon, 2 Sep 2013 09:02:15 +0000
(18:02 +0900)
committer
gdkhd812
<jbh03215@htmil.co.jp>
Mon, 2 Sep 2013 09:02:15 +0000
(18:02 +0900)
Common/Controller.cs
patch
|
blob
|
history
diff --git
a/Common/Controller.cs
b/Common/Controller.cs
index
43e22d9
..
000a2de
100644
(file)
--- a/
Common/Controller.cs
+++ b/
Common/Controller.cs
@@
-1089,6
+1089,13
@@
namespace FooEditEngine
this.View.PerfomLayouts();
\r
this.AdjustCaret();
\r
}
\r
+ if (e.type == ResourceType.InlineChar)
\r
+ {
\r
+ int oldLineCountOnScreen = this.View.LineCountOnScreen;
\r
+ this.View.CalculateLineCountOnScreen();
\r
+ if(this.View.LineCountOnScreen != oldLineCountOnScreen)
\r
+ this.AdjustCaret();
\r
+ }
\r
}
\r
\r
void render_ChangedRightToLeft(object sender, EventArgs e)
\r