OSDN Git Service

UWP版でもマウスドラッグ時に単語単位で選択できるようにした
authorgdkhd812 <test@yahoo.co.jp>
Wed, 30 Aug 2017 14:32:28 +0000 (23:32 +0900)
committergdkhd812 <test@yahoo.co.jp>
Wed, 30 Aug 2017 14:32:28 +0000 (23:32 +0900)
UWP/FooEditEngine.UWP/FooTextBox.cs

index ede5aca..2bc1a04 100644 (file)
@@ -1154,7 +1154,7 @@ namespace FooEditEngine.UWP
             else
                 return;
             TextPoint tp = this.View.GetTextPointFromPostion(p, searchRange);
-            this._Controller.MoveCaretAndSelect(tp);
+            this._Controller.MoveCaretAndSelect(tp, this.IsModiferKeyPressed(VirtualKey.LeftControl));
 #if ENABLE_AUTMATION
             if (this.peer != null)
                 this.peer.OnNotifyCaretChanged();