From d750b6610f9104d9a32e6e71d86cc309d913830f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Fri, 19 Apr 2013 23:26:58 +0200 Subject: [PATCH] fix some more typos spotted by Yuri --- lib/lyx2lyx/parser_tools.py | 6 +++--- src/Buffer.h | 2 +- src/BufferView.h | 2 +- src/Compare.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/lyx2lyx/parser_tools.py b/lib/lyx2lyx/parser_tools.py index d043f9278b..3b1322974e 100644 --- a/lib/lyx2lyx/parser_tools.py +++ b/lib/lyx2lyx/parser_tools.py @@ -125,7 +125,7 @@ is_in_inset(lines, i, inset): get_containing_inset(lines, i): Finds out what kind of inset line i is within. Returns a - list containing what follows \begin_inset on the the line + list containing what follows \begin_inset on the line on which the inset begins, plus the starting and ending line. Returns False on any kind of error or if it isn't in an inset. So get_containing_inset(document.body, i) might return: @@ -426,7 +426,7 @@ def is_in_inset(lines, i, inset): def get_containing_inset(lines, i): ''' Finds out what kind of inset line i is within. Returns a - list containing (i) what follows \begin_inset on the the line + list containing (i) what follows \begin_inset on the line on which the inset begins, plus the starting and ending line. Returns False on any kind of error or if it isn't in an inset. ''' @@ -450,7 +450,7 @@ def get_containing_inset(lines, i): def get_containing_layout(lines, i): ''' Finds out what kind of layout line i is within. Returns a - list containing (i) what follows \begin_layout on the the line + list containing (i) what follows \begin_layout on the line on which the layout begins, plus the starting and ending line and the start of the apargraph (after all params). Returns False on any kind of error. diff --git a/src/Buffer.h b/src/Buffer.h index 9535c12341..18e57f94b0 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -394,7 +394,7 @@ public: /// Returns the buffer's filename. It is always an absolute path. std::string absFileName() const; - /// Returns the the path where the buffer lives. + /// Returns the path where the buffer lives. /// It is always an absolute path. std::string filePath() const; diff --git a/src/BufferView.h b/src/BufferView.h index a58d251727..c7fb4c10bc 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -336,7 +336,7 @@ private: /// when it is allowed to scroll below the document. int minVisiblePart(); - /// Search recursively for the the innermost inset that covers (x, y) position. + /// Search recursively for the innermost inset that covers (x, y) position. /// \retval 0 if no inset is found. Inset const * getCoveringInset( Text const & text, //< The Text where we start searching. diff --git a/src/Compare.cpp b/src/Compare.cpp index 5831f22111..427688024c 100644 --- a/src/Compare.cpp +++ b/src/Compare.cpp @@ -269,7 +269,7 @@ private: SnakeResult retrieveMiddleSnake(int k, int D, Direction direction, DocPair & middle_snake); - /// Find the the furthest reaching D-path (number of horizontal + /// Find the furthest reaching D-path (number of horizontal /// and vertical steps; differences between the old and new /// document) in the k-diagonal (vertical minus horizontal steps). void furthestDpathKdiagonal(int D, int k,