summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:28:52 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-07-03 02:57:08 +0200
commit82c9d32a4a6a161c6e88094011beb1c71fad8632 (patch)
tree70fa966e40b2ad98a1f286e3bfa6d9bf44bf6746
parent2d260faab77342804cdc6f7d60b9ebc86e7f4d42 (diff)
downloadtdelibs-82c9d32a4a6a161c6e88094011beb1c71fad8632.tar.gz
tdelibs-82c9d32a4a6a161c6e88094011beb1c71fad8632.zip
Fix typos.
(cherry picked from commit 3f59f9590b8e70b928bb83116c92c513ad2fcffd)
-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
-rw-r--r--kio/kio/tcpslavebase.h2
6 files changed, 6 insertions, 6 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
diff --git a/kio/kio/tcpslavebase.h b/kio/kio/tcpslavebase.h
index bbf2bb95f..fd148b00d 100644
--- a/kio/kio/tcpslavebase.h
+++ b/kio/kio/tcpslavebase.h
@@ -122,7 +122,7 @@ protected:
* well as handling data over SOCKSified connections.
*
* @param data storage for the info read from server
- * @param len lenght of the info to read from the server
+ * @param len length of the info to read from the server
*
* @return the actual size of data that was obtained
*/