OSDN Git Service

ビルド時に警告が出る問題を解決した
authorgdkhd812 <jbh03215@htmil.co.jp>
Sat, 12 Oct 2013 08:41:11 +0000 (17:41 +0900)
committergdkhd812 <jbh03215@htmil.co.jp>
Sat, 12 Oct 2013 08:41:11 +0000 (17:41 +0900)
Common/Controller.cs
Common/GapBuffer.cs
Common/LineToIndex.cs
Common/MarkerCollection.cs
Common/UndoCommands.cs
Common/WatchDogPattern.cs
WPF/FooEditEngine/FooTextBox.cs

index 5124795..641db78 100644 (file)
@@ -110,7 +110,6 @@ namespace FooEditEngine
             {\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
index 2161aeb..efd4733 100644 (file)
@@ -464,7 +464,7 @@ namespace Slusser.Collections.Generic
         /// <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>
index e49d1f3..cd5bc5a 100644 (file)
@@ -210,7 +210,7 @@ namespace FooEditEngine
         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
index e8a65b7..cfaa56f 100644 (file)
@@ -14,9 +14,18 @@ using System.Collections.Generic;
 \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
@@ -99,6 +108,13 @@ namespace FooEditEngine
         /// </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
@@ -110,10 +126,7 @@ namespace FooEditEngine
         /// <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
index 37c8af4..40a1445 100644 (file)
@@ -133,7 +133,6 @@ namespace FooEditEngine
     sealed class FastReplaceAllCommand : ICommand
     {
         StringBuffer buffer;
-        Regex regex;
         StringBuffer oldBuffer;
         string targetPattern;
         string replacePattern;
index cf3e4ac..e922f83 100644 (file)
@@ -19,7 +19,13 @@ namespace FooEditEngine
     /// </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
index 4859566..144f3a8 100644 (file)
@@ -1344,7 +1344,9 @@ namespace FooEditEngine.WPF
             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