{\r
if (this.View.LayoutLines.Count == 0 || this.View.Selections.Count == 0)\r
return null;\r
- string str;\r
if (this.RectSelection)\r
return GetTextFromRectangleSelectArea(this.View.Selections);\r
else\r
/// <param name="col">The collection whose elements should be inserted into the <see cref="GapBuffer{T}"/>.
/// The collection itself cannot be null, but it can contain elements that are null, if
/// type <typeparamref name="T"/> is a reference type.</param>
- /// <exception cref="ArgumentNullException"><paramref name="collection"/> is a null reference.</exception>
+ /// <exception cref="ArgumentNullException"><paramref name="col"/> is a null reference.</exception>
/// <exception cref="ArgumentOutOfRangeException">
/// <paramref name="index"/> is less than 0.
/// <para>-or-</para>
Queue<ITextLayout> CacheEntries = new Queue<ITextLayout>();\r
GapBuffer<LineToIndexTableData> Lines = new GapBuffer<LineToIndexTableData>();\r
Document Document;\r
- bool _UrlMarker,_IsSync;\r
+ bool _IsSync;\r
ITextRender render;\r
int stepRow = -1,stepLength = 0;\r
const int STEP_ROW_IS_NONE = -1;\r
\r
namespace FooEditEngine\r
{\r
+ /// <summary>\r
+ /// 既定のIDリスト\r
+ /// </summary>\r
public static class MarkerIDs\r
{\r
+ /// <summary>\r
+ /// デフォルトIDを表す\r
+ /// </summary>\r
public static int Defalut = 0;\r
+ /// <summary>\r
+ /// URLを表す\r
+ /// </summary>\r
public static int URL = 1;\r
}\r
/// <summary>\r
/// </summary>\r
public Color color;\r
\r
+ /// <summary>\r
+ /// マーカーを作成します\r
+ /// </summary>\r
+ /// <param name="start">開始インデックス</param>\r
+ /// <param name="length">長さ</param>\r
+ /// <param name="hilight">タイプ</param>\r
+ /// <returns>マーカー</returns>\r
public static Marker Create(int start, int length, HilightType hilight)\r
{\r
return new Marker { start = start, length = length, hilight = hilight, color = new Color()};\r
/// <param name="start">開始インデックス</param>\r
/// <param name="length">長さ</param>\r
/// <param name="hilight">タイプ</param>\r
- /// <param name="a">a成分</param>\r
- /// <param name="r">r成分</param>\r
- /// <param name="g">g成分</param>\r
- /// <param name="b">b成分</param>\r
+ /// <param name="color">色</param>\r
/// <returns>マーカー</returns>\r
public static Marker Create(int start, int length, HilightType hilight,Color color)\r
{\r
sealed class FastReplaceAllCommand : ICommand
{
StringBuffer buffer;
- Regex regex;
StringBuffer oldBuffer;
string targetPattern;
string replacePattern;
/// </summary>\r
public interface IWatchDog\r
{\r
- IEnumerable<Marker> Mark(int lineHeadIndex,string s);\r
+ /// <summary>\r
+ /// \83}\81[\83J\81[\82ð\95Ô\82·\r
+ /// </summary>\r
+ /// <param name="lineHeadIndex">\8ds\93ª\82Ö\82Ì\83C\83\93\83f\83b\83N\83X\82ð\95\\82·</param>\r
+ /// <param name="s">\95¶\8e\9a\97ñ</param>\r
+ /// <returns>Marker\97ñ\8b\93\91Ì\82ð\95Ô\82·</returns>\r
+ IEnumerable<Marker> Mark(int lineHeadIndex, string s);\r
}\r
/// <summary>\r
/// \90³\8bK\95\\8c»\82Å\83p\83^\81[\83\93\83}\83b\83`\82ð\8ds\82¤WatchDog\r
set { SetValue(CaretPostionProperty, value); }\r
}\r
\r
- // Using a DependencyProperty as the backing store for CaretPostion. This enables animation, styling, binding, etc...\r
+ /// <summary>\r
+ /// CaretPostionの依存プロパティを表す\r
+ /// </summary>\r
public static readonly DependencyProperty CaretPostionProperty =\r
DependencyProperty.Register("CaretPostion", typeof(TextPoint), typeof(FooTextBox), new PropertyMetadata(TextPoint.Null));\r
\r