OSDN Git Service

変換中の文字がよく見えないので、変換候補の位置を少しずらした
authorgdkhd812 <test@nnn.co.jp>
Mon, 26 Oct 2015 18:10:32 +0000 (23:40 +0530)
committergdkhd812 <test@nnn.co.jp>
Mon, 26 Oct 2015 18:10:32 +0000 (23:40 +0530)
Core/TextServiceFramework/TextStoreHelper.cs

index e9649aa..f3b3c27 100644 (file)
@@ -57,7 +57,8 @@ namespace FooEditEngine
             startPos = view.GetPostionFromTextPoint(view.LayoutLines.GetTextPointFromIndex(i_startIndex));
             endTextPoint = view.GetLayoutLineFromIndex(endIndex);
             endPos = view.GetPostionFromTextPoint(endTextPoint);
-            endPos.Y += view.LayoutLines.GetLayout(endTextPoint.row).Height;
+            //変換候補リストに隙間があるので、ユーザーが見えるように少し移動させる
+            endPos.Y += view.LayoutLines.GetLayout(endTextPoint.row).Height + 15;
         }
 
         public static void GetSelection(Controller controller, SelectCollection selectons, out int o_startIndex, out int o_endIndex)