OSDN Git Service

Windowsフォーム版もマウスで単語単位の選択に対応した
authorgdkhd812 <test@yahoo.co.jp>
Sun, 3 Sep 2017 10:35:05 +0000 (19:35 +0900)
committergdkhd812 <test@yahoo.co.jp>
Sun, 3 Sep 2017 10:35:05 +0000 (19:35 +0900)
Windows/FooEditEngine/FooTextBox.cs

index 3797bd8..0c9709b 100644 (file)
@@ -1203,7 +1203,7 @@ namespace FooEditEngine.Windows
 
                 if (e.Button == MouseButtons.Left)
                 {
-                    this.Controller.MoveCaretAndSelect(tp);
+                    this.Controller.MoveCaretAndSelect(tp, ModifierKeys.HasFlag(Keys.Control));
                     this.Refresh();
                 }
             }