Browse Source

Fix typos.

pull/16/head
Darrell Anderson 9 years ago
parent
commit
3f59f9590b
  1. 2
      kate/part/katehighlight.cpp
  2. 2
      kate/part/kateundo.cpp
  3. 2
      kate/part/kateundo.h
  4. 2
      kate/part/kateviewinternal.h
  5. 2
      kate/tests/highlight.f90
  6. 2
      kio/kio/tcpslavebase.h

2
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;

2
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);

2
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);

2
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?

2
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

2
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
*/

Loading…
Cancel
Save