summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:28:52 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:28:52 -0500
commit3f59f9590b8e70b928bb83116c92c513ad2fcffd (patch)
treede69bd0f4cae234ab640c272e7867debee819f17 /kate/part
parent9af103f289d5a85ab152163c2e580d694e44ac8f (diff)
downloadtdelibs-3f59f9590b8e70b928bb83116c92c513ad2fcffd.tar.gz
tdelibs-3f59f9590b8e70b928bb83116c92c513ad2fcffd.zip
Fix typos.
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katehighlight.cpp2
-rw-r--r--kate/part/kateundo.cpp2
-rw-r--r--kate/part/kateundo.h2
-rw-r--r--kate/part/kateviewinternal.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/kate/part/katehighlight.cpp b/kate/part/katehighlight.cpp
index 17208412c..d5eec4c27 100644
--- a/kate/part/katehighlight.cpp
+++ b/kate/part/katehighlight.cpp
@@ -1404,7 +1404,7 @@ void KateHighlighting::doHighlight ( KateTextLine *prevLine,
const TQString& text = textLine->string();
const int len = textLine->length();
- // calc at which char the first char occurs, set it to lenght of line if never
+ // calc at which char the first char occurs, set it to length of line if never
const int firstChar = textLine->firstChar();
const int startNonSpace = (firstChar == -1) ? len : firstChar;
diff --git a/kate/part/kateundo.cpp b/kate/part/kateundo.cpp
index 379df16f0..c37fb556c 100644
--- a/kate/part/kateundo.cpp
+++ b/kate/part/kateundo.cpp
@@ -35,7 +35,7 @@
* @param type undo item type
* @param line line affected
* @param col start column
- * @param len lenght of change
+ * @param len length of change
* @param text text removed/inserted
*/
KateUndo (KateUndoGroup::UndoType type, uint line, uint col, uint len, const TQString &text);
diff --git a/kate/part/kateundo.h b/kate/part/kateundo.h
index 4d0141189..9beaf3695 100644
--- a/kate/part/kateundo.h
+++ b/kate/part/kateundo.h
@@ -76,7 +76,7 @@ class KateUndoGroup
* @param type undo item type
* @param line line affected
* @param col start column
- * @param len lenght of change
+ * @param len length of change
* @param text text removed/inserted
*/
void addItem (KateUndoGroup::UndoType type, uint line, uint col, uint len, const TQString &text);
diff --git a/kate/part/kateviewinternal.h b/kate/part/kateviewinternal.h
index 4dbc08bf8..94af8cc30 100644
--- a/kate/part/kateviewinternal.h
+++ b/kate/part/kateviewinternal.h
@@ -287,7 +287,7 @@ class KateViewInternal : public TQWidget
//
TQMemArray<KateLineRange> lineRanges;
- // maximal lenght of textlines visible from given startLine
+ // maximal length of textlines visible from given startLine
int maxLen(uint startLine);
// are we allowed to scroll columns?