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:
ab8338d
)
マルチタッチモードでキャレットをずらしても選択領域が移動しない問題を解決した
author
konekoneko
<test2214@hotmail.co.jp>
Fri, 28 Feb 2014 15:29:36 +0000
(
00:29
+0900)
committer
konekoneko
<test2214@hotmail.co.jp>
Fri, 28 Feb 2014 15:29:36 +0000
(
00:29
+0900)
Metro/FooEditEngine/FooTextBox.cs
patch
|
blob
|
history
diff --git
a/Metro/FooEditEngine/FooTextBox.cs
b/Metro/FooEditEngine/FooTextBox.cs
index
88c7e7e
..
b5edb7a
100644
(file)
--- a/
Metro/FooEditEngine/FooTextBox.cs
+++ b/
Metro/FooEditEngine/FooTextBox.cs
@@
-810,11
+810,16
@@
namespace FooEditEngine.Metro
else
\r
this._Controller.MoveCaretAndSelect(tp);
\r
}
\r
else
\r
this._Controller.MoveCaretAndSelect(tp);
\r
}
\r
- if (this.peer != null)
\r
- this.peer.OnNotifyCaretChanged();
\r
- this.Refresh();
\r
- return;
\r
}
\r
}
\r
+ else
\r
+ {
\r
+ TextPoint tp = this.View.GetTextPointFromPostion(p);
\r
+ this._Controller.MoveCaretAndSelect(tp);
\r
+ }
\r
+ if (this.peer != null)
\r
+ this.peer.OnNotifyCaretChanged();
\r
+ this.Refresh();
\r
+ return;
\r
}
\r
if (e.Delta.Scale < 1)
\r
{
\r
}
\r
if (e.Delta.Scale < 1)
\r
{
\r