summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
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?