OSDN Git Service

矩形編集中にIMEで入力後に確定するとキャレット位置がおかしくなってしまう点を修正した
authorkonekoneko <test2214@hotmail.co.jp>
Wed, 25 Jun 2014 12:40:34 +0000 (21:40 +0900)
committerkonekoneko <test2214@hotmail.co.jp>
Wed, 25 Jun 2014 12:40:34 +0000 (21:40 +0900)
Common/TextServiceFramework/TextStoreHelper.cs

index 1b52ceb..6360c80 100644 (file)
@@ -79,6 +79,7 @@ namespace FooEditEngine
             {
                 TextPoint start = view.LayoutLines.GetTextPointFromIndex(i_startIndex);
                 TextPoint end = view.LayoutLines.GetTextPointFromIndex(view.InsertPoint.Last().start);
+                controller.JumpCaret(i_endIndex);
                 controller.Select(start, i_endIndex - i_startIndex, end.row - start.row);
             }
             else if (i_startIndex == i_endIndex)