From: gdkhd812 Date: Sat, 12 Oct 2013 08:41:11 +0000 (+0900) Subject: ビルド時に警告が出る問題を解決した X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0f0af9b8ec991d4be5afd7bf7565ad2e66725b57;p=fooeditengine%2FFooEditEngine.git ビルド時に警告が出る問題を解決した --- diff --git a/Common/Controller.cs b/Common/Controller.cs index 5124795..641db78 100644 --- a/Common/Controller.cs +++ b/Common/Controller.cs @@ -110,7 +110,6 @@ namespace FooEditEngine { if (this.View.LayoutLines.Count == 0 || this.View.Selections.Count == 0) return null; - string str; if (this.RectSelection) return GetTextFromRectangleSelectArea(this.View.Selections); else diff --git a/Common/GapBuffer.cs b/Common/GapBuffer.cs index 2161aeb..efd4733 100644 --- a/Common/GapBuffer.cs +++ b/Common/GapBuffer.cs @@ -464,7 +464,7 @@ namespace Slusser.Collections.Generic /// The collection whose elements should be inserted into the . /// The collection itself cannot be null, but it can contain elements that are null, if /// type is a reference type. - /// is a null reference. + /// is a null reference. /// /// is less than 0. /// -or- diff --git a/Common/LineToIndex.cs b/Common/LineToIndex.cs index e49d1f3..cd5bc5a 100644 --- a/Common/LineToIndex.cs +++ b/Common/LineToIndex.cs @@ -210,7 +210,7 @@ namespace FooEditEngine Queue CacheEntries = new Queue(); GapBuffer Lines = new GapBuffer(); Document Document; - bool _UrlMarker,_IsSync; + bool _IsSync; ITextRender render; int stepRow = -1,stepLength = 0; const int STEP_ROW_IS_NONE = -1; diff --git a/Common/MarkerCollection.cs b/Common/MarkerCollection.cs index e8a65b7..cfaa56f 100644 --- a/Common/MarkerCollection.cs +++ b/Common/MarkerCollection.cs @@ -14,9 +14,18 @@ using System.Collections.Generic; namespace FooEditEngine { + /// + /// 既定のIDリスト + /// public static class MarkerIDs { + /// + /// デフォルトIDを表す + /// public static int Defalut = 0; + /// + /// URLを表す + /// public static int URL = 1; } /// @@ -99,6 +108,13 @@ namespace FooEditEngine /// public Color color; + /// + /// マーカーを作成します + /// + /// 開始インデックス + /// 長さ + /// タイプ + /// マーカー public static Marker Create(int start, int length, HilightType hilight) { return new Marker { start = start, length = length, hilight = hilight, color = new Color()}; @@ -110,10 +126,7 @@ namespace FooEditEngine /// 開始インデックス /// 長さ /// タイプ - /// a成分 - /// r成分 - /// g成分 - /// b成分 + /// 色 /// マーカー public static Marker Create(int start, int length, HilightType hilight,Color color) { diff --git a/Common/UndoCommands.cs b/Common/UndoCommands.cs index 37c8af4..40a1445 100644 --- a/Common/UndoCommands.cs +++ b/Common/UndoCommands.cs @@ -133,7 +133,6 @@ namespace FooEditEngine sealed class FastReplaceAllCommand : ICommand { StringBuffer buffer; - Regex regex; StringBuffer oldBuffer; string targetPattern; string replacePattern; diff --git a/Common/WatchDogPattern.cs b/Common/WatchDogPattern.cs index cf3e4ac..e922f83 100644 --- a/Common/WatchDogPattern.cs +++ b/Common/WatchDogPattern.cs @@ -19,7 +19,13 @@ namespace FooEditEngine /// public interface IWatchDog { - IEnumerable Mark(int lineHeadIndex,string s); + /// + /// ƒ}[ƒJ[‚ð•Ô‚· + /// + /// s“ª‚ւ̃Cƒ“ƒfƒbƒNƒX‚ð•\‚· + /// •¶Žš—ñ + /// Marker—ñ‹“‘Ì‚ð•Ô‚· + IEnumerable Mark(int lineHeadIndex, string s); } /// /// ³‹K•\Œ»‚Ńpƒ^[ƒ“ƒ}ƒbƒ`‚ðs‚¤WatchDog diff --git a/WPF/FooEditEngine/FooTextBox.cs b/WPF/FooEditEngine/FooTextBox.cs index 4859566..144f3a8 100644 --- a/WPF/FooEditEngine/FooTextBox.cs +++ b/WPF/FooEditEngine/FooTextBox.cs @@ -1344,7 +1344,9 @@ namespace FooEditEngine.WPF set { SetValue(CaretPostionProperty, value); } } - // Using a DependencyProperty as the backing store for CaretPostion. This enables animation, styling, binding, etc... + /// + /// CaretPostionの依存プロパティを表す + /// public static readonly DependencyProperty CaretPostionProperty = DependencyProperty.Register("CaretPostion", typeof(TextPoint), typeof(FooTextBox), new PropertyMetadata(TextPoint.Null));