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;
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);