OSDN Git Service

WPF版でコンパイルが通らないバグを修正した
[fooeditengine/FooEditEngine.git] / Core / TextServiceFramework / TextStoreHelper.cs
index 06acf28..aebd960 100644 (file)
@@ -68,10 +68,6 @@ namespace FooEditEngine
 
         public static void GetSelection(Controller controller, SelectCollection selectons, out TextRange sel)
         {
-            /*
-            sels = new TextSelection[1];
-            sels[0] = new TextSelection();
-            */
             if (controller.RectSelection && selectons.Count > 0)
             {
                 sel.Index = selectons[0].start;
@@ -86,7 +82,6 @@ namespace FooEditEngine
 
         public static void SetSelectionIndex(Controller controller,EditView view,int i_startIndex,int i_endIndex)
         {
-            //int i_startIndex = sels[0].start, i_endIndex = sels[0].end;
             if (controller.IsRectInsertMode())
             {
                 TextPoint start = view.LayoutLines.GetTextPointFromIndex(i_startIndex);