Skip to content

Commit d12a782

Browse files
Merge pull request #384 from jimfoye/spelling-fixes
Spelling fixes
2 parents 7243877 + be5e1e6 commit d12a782

21 files changed

Lines changed: 44 additions & 44 deletions

ICSharpCode.AvalonEdit/Document/ITextAnchor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public enum AnchorMovementType
131131
/// </summary>
132132
BeforeInsertion,
133133
/// <summary>
134-
/// Behave like an end marker - when text is insered at the anchor position, the anchor will move
134+
/// Behave like an end marker - when text is inserted at the anchor position, the anchor will move
135135
/// after the inserted text.
136136
/// </summary>
137137
AfterInsertion

ICSharpCode.AvalonEdit/Document/ITextSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public interface ITextSource
176176
/// Represents a version identifier for a text source.
177177
/// </summary>
178178
/// <remarks>
179-
/// Verions can be used to efficiently detect whether a document has changed and needs reparsing;
179+
/// Versions can be used to efficiently detect whether a document has changed and needs reparsing;
180180
/// or even to implement incremental parsers.
181181
/// It is a separate class from ITextSource to allow the GC to collect the text source while
182182
/// the version checkpoint is still in use.

ICSharpCode.AvalonEdit/Document/LineNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace ICSharpCode.AvalonEdit.Document
2121
using LineNode = DocumentLine;
2222

2323
// A tree node in the document line tree.
24-
// For the purpose of the invariants, "children", "descendents", "siblings" etc. include the DocumentLine object,
24+
// For the purpose of the invariants, "children", "descendants", "siblings" etc. include the DocumentLine object,
2525
// it is treated as a third child node between left and right.
2626

2727
// Originally, this was a separate class, with a reference to the documentLine. The documentLine had a reference

ICSharpCode.AvalonEdit/Document/TextLocation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public interface ISegment
231231
/// <summary>
232232
/// Gets the length of the segment.
233233
/// </summary>
234-
/// <remarks>For line segments (IDocumentLine), the length does not include the line delimeter.</remarks>
234+
/// <remarks>For line segments (IDocumentLine), the length does not include the line delimiter.</remarks>
235235
int Length { get; }
236236

237237
/// <summary>

ICSharpCode.AvalonEdit/Document/TextSegmentCollection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void UpdateOffsets(OffsetChangeMapEntry change)
151151
void UpdateOffsetsInternal(OffsetChangeMapEntry change)
152152
{
153153
// Special case pure insertions, because they don't always cause a text segment to increase in size when the replaced region
154-
// is inside a segment (when offset is at start or end of a text semgent).
154+
// is inside a segment (when offset is at start or end of a text segment).
155155
if (change.RemovalLength == 0) {
156156
InsertText(change.Offset, change.InsertionLength);
157157
} else {

ICSharpCode.AvalonEdit/Document/UndoStack.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public sealed class UndoStack : INotifyPropertyChanged
3737
internal const int StatePlayback = 1;
3838
// undo stack is reverting/repeating a set of changes and modifies the document to do this
3939
internal const int StatePlaybackModifyDocument = 2;
40-
/// state is used for checking that noone but the UndoStack performs changes
40+
/// state is used for checking that no one but the UndoStack performs changes
4141
/// during Undo events
4242
internal int state = StateListen;
4343

ICSharpCode.AvalonEdit/Editing/ImeSupport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void CreateContext()
116116

117117
var threadMgr = ImeNativeWrapper.GetTextFrameworkThreadManager();
118118
if (threadMgr != null) {
119-
// Even though the docu says passing null is invalid, this seems to help
119+
// Even though the docs says passing null is invalid, this seems to help
120120
// activating the IME on the default input context that is shared with WPF
121121
threadMgr.SetFocus(IntPtr.Zero);
122122
}

ICSharpCode.AvalonEdit/Highlighting/DocumentHighlighter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void ILineTracker.ChangeComplete(DocumentChangeEventArgs e)
128128
ImmutableStack<HighlightingSpan> initialSpanStack = SpanStack.Empty;
129129

130130
/// <summary>
131-
/// Gets/sets the the initial span stack of the document. Default value is <see cref="SpanStack.Empty" />.
131+
/// Gets/sets the initial span stack of the document. Default value is <see cref="SpanStack.Empty" />.
132132
/// </summary>
133133
public ImmutableStack<HighlightingSpan> InitialSpanStack {
134134
get { return initialSpanStack; }

ICSharpCode.AvalonEdit/Highlighting/HighlightingManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace ICSharpCode.AvalonEdit.Highlighting
3131
/// Manages a list of syntax highlighting definitions.
3232
/// </summary>
3333
/// <remarks>
34-
/// All memers on this class (including instance members) are thread-safe.
34+
/// All members on this class (including instance members) are thread-safe.
3535
/// </remarks>
3636
public class HighlightingManager : IHighlightingDefinitionReferenceResolver
3737
{

ICSharpCode.AvalonEdit/Highlighting/Resources/JavaScript-Mode.xshd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<!-- syntaxdefinition for JavaScript 2.0 by Svante Lidman -->
2+
<!-- syntax definition for JavaScript 2.0 by Svante Lidman -->
33
<!-- converted to AvalonEdit format by Siegfried Pammer in 2010 -->
44
<SyntaxDefinition name="JavaScript" extensions=".js" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
55
<Color name="Digits" foreground="DarkBlue" exampleText="3.14" />

0 commit comments

Comments
 (0)