+ return new Tuple<int, int>(start, end);
+ }
+
+ /// <summary>
+ /// セパレーターで囲まれた範囲内を選択する
+ /// </summary>
+ /// <param name="index">探索を開始するインデックス</param>
+ /// <param name="find_sep_func">セパレーターなら真を返し、そうでないなら偽を返す</param>
+ /// <param name="changeAnchor">選択の起点となるとインデックスを変更するなら真。そうでなければ偽</param>
+ public void SelectSepartor(int index,Func<char,bool> find_sep_func, bool changeAnchor = false)
+ {
+ if (this.FireUpdateEvent == false)
+ throw new InvalidOperationException("");
+
+ if (find_sep_func == null)
+ throw new ArgumentNullException("find_sep_func must not be null");
+
+ var t = this.GetSepartor(index, find_sep_func);
+ if (t == null)
+ return;
+
+ int start = t.Item1, end = t.Item2;
+