From 3f59f9590b8e70b928bb83116c92c513ad2fcffd Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 13:28:52 -0500 Subject: Fix typos. --- kate/part/katehighlight.cpp | 2 +- kate/part/kateundo.cpp | 2 +- kate/part/kateundo.h | 2 +- kate/part/kateviewinternal.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kate/part') 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 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? -- cgit v1.2.1