Skip to content

Commit 9201cbd

Browse files
author
grammarian
committed
- Fix spelling mistakes
git-svn-id: https://svn.code.sf.net/p/objectlistview/code/cs/trunk@814 0bec5ed8-b53f-49e6-9885-ce7bc93af311
1 parent 21969e1 commit 9201cbd

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

ObjectListView/DataTreeListView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public virtual string KeyAspectName {
144144
/// <remarks>
145145
/// <para>
146146
/// The test condition for deciding if one row is the parent of another is functionally
147-
/// equivilent to this:
147+
/// equivalent to this:
148148
/// <code>
149149
/// Object.Equals(candidateParentRow[this.KeyAspectName], row[this.ParentKeyAspectName])
150150
/// </code>
@@ -168,7 +168,7 @@ public virtual string ParentKeyAspectName {
168168
/// <remarks>
169169
/// <para>
170170
/// The test condition for deciding a root object is functionally
171-
/// equivilent to this:
171+
/// equivalent to this:
172172
/// <code>
173173
/// Object.Equals(candidateRow[this.ParentKeyAspectName], this.RootKeyValue)
174174
/// </code>

ObjectListView/OLVColumn.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public virtual bool CheckBoxes {
371371
/// If this is null, a useful default will be chosen.
372372
/// </para>
373373
/// <para>
374-
/// To disable filtering on this colummn, set UseFiltering to false.
374+
/// To disable filtering on this column, set UseFiltering to false.
375375
/// </para>
376376
/// <para>
377377
/// Cluster strategies belong to a particular column. The same instance
@@ -440,7 +440,7 @@ public bool FillsFreeSpace {
440440
/// </para>
441441
/// <para>
442442
/// A space filling column is resized to occupy a proportion of the unoccupied width of the listview (the
443-
/// unoccupied width is the width left over once all the the non-filling columns have been given their space).
443+
/// unoccupied width is the width left over once all the non-filling columns have been given their space).
444444
/// This property indicates the relative proportion of that unoccupied space that will be given to this column.
445445
/// The actual value of this property is not important -- only its value relative to the value in other columns.
446446
/// For example:
@@ -528,7 +528,7 @@ public GroupKeyToTitleConverterDelegate GroupKeyToTitleConverter {
528528

529529
/// <summary>
530530
/// When the listview is grouped by this column and group title has an item count,
531-
/// how should the lable be formatted?
531+
/// how should the label be formatted?
532532
/// </summary>
533533
/// <remarks>
534534
/// The given format string can/should have two placeholders:
@@ -565,7 +565,7 @@ public string GroupWithItemCountFormatOrDefault {
565565
return cachedGroupWithItemCountFormat;
566566
}
567567

568-
// There is one rare but pathelogically possible case where the ListView can
568+
// There is one rare but pathologically possible case where the ListView can
569569
// be null (if the column is grouping a ListView, but is not one of the columns
570570
// for that ListView) so we have to provide a workable default for that rare case.
571571
return cachedGroupWithItemCountFormat ?? "{0} [{1} items]";
@@ -575,7 +575,7 @@ public string GroupWithItemCountFormatOrDefault {
575575

576576
/// <summary>
577577
/// When the listview is grouped by this column and a group title has an item count,
578-
/// how should the lable be formatted if there is only one item in the group?
578+
/// how should the label be formatted if there is only one item in the group?
579579
/// </summary>
580580
/// <remarks>
581581
/// The given format string can/should have two placeholders:
@@ -612,7 +612,7 @@ public string GroupWithItemCountSingularFormatOrDefault {
612612
return cachedGroupWithItemCountSingularFormat;
613613
}
614614

615-
// There is one rare but pathelogically possible case where the ListView can
615+
// There is one rare but pathologically possible case where the ListView can
616616
// be null (if the column is grouping a ListView, but is not one of the columns
617617
// for that ListView) so we have to provide a workable default for that rare case.
618618
return cachedGroupWithItemCountSingularFormat ?? "{0} [{1} item]";
@@ -697,7 +697,7 @@ public Color HeaderForeColor {
697697
}
698698

699699
/// <summary>
700-
/// Gets or sets whether the text values in this column will act like hyperlinks
700+
/// Gets or sets the ImageList key of the image that will be drawn in the header of this column.
701701
/// </summary>
702702
/// <remarks>This is only taken into account when HeaderUsesThemes is false.</remarks>
703703
[Category("ObjectListView"),
@@ -822,7 +822,7 @@ public CheckState HeaderCheckState
822822
/// </para>
823823
/// </remarks>
824824
[Category("ObjectListView"),
825-
Description("Update row checkboxs when the header checkbox is clicked by the user"),
825+
Description("Update row checkboxes when the header checkbox is clicked by the user"),
826826
DefaultValue(true)]
827827
public bool HeaderCheckBoxUpdatesRowCheckBoxes {
828828
get { return headerCheckBoxUpdatesRowCheckBoxes; }
@@ -1274,7 +1274,7 @@ public bool Sortable {
12741274
private HorizontalAlignment? textAlign;
12751275

12761276
/// <summary>
1277-
/// Gets the StringAlignment equivilent of the column text alignment
1277+
/// Gets the StringAlignment equivalent of the column text alignment
12781278
/// </summary>
12791279
[Browsable(false)]
12801280
public StringAlignment TextStringAlign {

ObjectListView/ObjectListView.DesignTime.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class ObjectListViewDesigner : ControlDesigner
6767
#region Initialize & Dispose
6868

6969
/// <summary>
70-
/// Initializes the designer with the specified component.
70+
/// Initialises the designer with the specified component.
7171
/// </summary>
7272
/// <param name="component">The <see cref="T:System.ComponentModel.IComponent"/> to associate the designer with. This component must always be an instance of, or derive from, <see cref="T:System.Windows.Forms.Control"/>. </param>
7373
public override void Initialize(IComponent component) {
@@ -107,7 +107,7 @@ public override void Initialize(IComponent component) {
107107
}
108108

109109
/// <summary>
110-
/// Initializes a newly created component.
110+
/// Initialises a newly created component.
111111
/// </summary>
112112
/// <param name="defaultValues">A name/value dictionary of default values to apply to properties. May be null if no default values are specified.</param>
113113
public override void InitializeNewComponent(IDictionary defaultValues) {
@@ -362,7 +362,7 @@ protected override void WndProc(ref Message m) {
362362
/// </summary>
363363
/// <remarks>
364364
/// <para>
365-
/// That class is internal, so we cannot simply subclass it, which would be simplier.
365+
/// That class is internal, so we cannot simply subclass it, which would be simpler.
366366
/// </para>
367367
/// <para>
368368
/// Action lists use reflection to determine if that action can be executed, so we not

ObjectListView/VirtualObjectListView.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ namespace BrightIdeasSoftware
101101
/// </para>
102102
/// <para>Due to the limits of the underlying Windows control, virtual lists do not trigger ItemCheck/ItemChecked events.
103103
/// Use a CheckStatePutter instead.</para>
104-
/// <para>To enable grouping, you must provide an implmentation of IVirtualGroups interface, via the GroupingStrategy property.</para>
104+
/// <para>To enable grouping, you must provide an implementation of IVirtualGroups interface, via the GroupingStrategy property.</para>
105105
/// <para>Similarly, to enable filtering on the list, your VirtualListDataSource must also implement the IFilterableDataSource interface.</para>
106106
/// </remarks>
107107
public class VirtualObjectListView : ObjectListView
@@ -130,7 +130,7 @@ public VirtualObjectListView()
130130
#region Public Properties
131131

132132
/// <summary>
133-
/// Gets whether or not this listview is capabale of showing groups
133+
/// Gets whether or not this listview is capable of showing groups
134134
/// </summary>
135135
[Browsable(false)]
136136
public override bool CanShowGroups {
@@ -144,7 +144,7 @@ public override bool CanShowGroups {
144144
/// Get or set the collection of model objects that are checked.
145145
/// When setting this property, any row whose model object isn't
146146
/// in the given collection will be unchecked. Setting to null is
147-
/// equivilent to unchecking all.
147+
/// equivalent to unchecking all.
148148
/// </summary>
149149
/// <remarks>
150150
/// <para>
@@ -617,7 +617,7 @@ public override void RefreshSelectedObjects() {
617617
/// <para>Nulls and model objects that are not in the ListView are silently ignored.</para>
618618
/// <para>Due to problems in the underlying ListView, if you remove all the objects from
619619
/// the control using this method and the list scroll vertically when you do so,
620-
/// then when you subsequenially add more objects to the control,
620+
/// then when you subsequently add more objects to the control,
621621
/// the vertical scroll bar will become confused and the control will draw one or more
622622
/// blank lines at the top of the list. </para>
623623
/// </remarks>
@@ -1111,7 +1111,7 @@ protected virtual void SetVirtualListSize(int newSize) {
11111111
/// <para>
11121112
/// This method
11131113
/// separates the 'objects' instance variable from its source, so that any AddObject/RemoveObject
1114-
/// calls will modify our collection and not the original colleciton.
1114+
/// calls will modify our collection and not the original collection.
11151115
/// </para>
11161116
/// <para>
11171117
/// VirtualObjectListViews always own their collections, so this is a no-op.
@@ -1190,7 +1190,7 @@ protected virtual void HandleRetrieveVirtualItem(object sender, RetrieveVirtualI
11901190
/// <param name="e"></param>
11911191
protected virtual void HandleSearchForVirtualItem(object sender, SearchForVirtualItemEventArgs e) {
11921192
// The event has e.IsPrefixSearch, but as far as I can tell, this is always false (maybe that's different under Vista)
1193-
// So we ignore IsPrefixSearch and IsTextSearch and always to a case insensitve prefix match.
1193+
// So we ignore IsPrefixSearch and IsTextSearch and always to a case insensitive prefix match.
11941194

11951195
// We can't do anything if we don't have a data source
11961196
if (this.VirtualListDataSource == null)
@@ -1232,7 +1232,7 @@ protected override int FindMatchInRange(string text, int first, int last, OLVCol
12321232

12331233
#endregion
12341234

1235-
#region Variable declaractions
1235+
#region Variable declarations
12361236

12371237
private OLVListItem lastRetrieveVirtualItem;
12381238
private int lastRetrieveVirtualItemIndex = -1;

0 commit comments

Comments
 (0)