summaryrefslogtreecommitdiffstats
path: root/kate
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
parent9af103f289d5a85ab152163c2e580d694e44ac8f (diff)
downloadtdelibs-3f59f9590b8e70b928bb83116c92c513ad2fcffd.tar.gz
tdelibs-3f59f9590b8e70b928bb83116c92c513ad2fcffd.zip
Fix typos.
Diffstat (limited to 'kate')
-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
-rw-r--r--kate/tests/highlight.f902
5 files changed, 5 insertions, 5 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?
diff --git a/kate/tests/highlight.f90 b/kate/tests/highlight.f90
index e2008c20a..547c364b8 100644
--- a/kate/tests/highlight.f90
+++ b/kate/tests/highlight.f90
@@ -68,7 +68,7 @@ module module_example
real(kind=kr), dimension(1:10, -4:5), private :: a, b, c
real(kind=kr), private :: d(1:10, -4:5)
- ! This is a string with fixed lenght
+ ! This is a string with fixed length
character(len=10) :: str_var
! This is an allocatable array, which can be a target of a pointer