From 86975656fb9b2a95386830919fb6f465fe1e68eb Mon Sep 17 00:00:00 2001
From: Robin Dunn <robin@alldunn.com>
Date: Fri, 30 Apr 1999 21:11:11 +0000
Subject: [PATCH] wxPython documentation update

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/text.tex | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex
index d15cf7908a..bc246b2bca 100644
--- a/docs/latex/wx/text.tex
+++ b/docs/latex/wx/text.tex
@@ -29,7 +29,7 @@ Windows.}
 \twocolitem{\windowstyle{wxHSCROLL}}{A horizontal scrollbar will be created.}
 \end{twocollist}
 
-See also \helpref{window styles overview}{windowstyles} and 
+See also \helpref{window styles overview}{windowstyles} and
 \helpref{wxTextCtrl::wxTextCtrl}{wxtextctrlconstr}.
 
 \wxheading{Remarks}
@@ -105,11 +105,11 @@ Constructor, creating and showing a text control.
 
 \wxheading{Remarks}
 
-The horizontal scrollbar ({\bf wxTE\_HSCROLL} style flag) will only be created for multi-line text controls. 
-Without a horizontal scrollbar, text lines that don't fit in the control's 
+The horizontal scrollbar ({\bf wxTE\_HSCROLL} style flag) will only be created for multi-line text controls.
+Without a horizontal scrollbar, text lines that don't fit in the control's
 size will be wrapped (but no newline character is inserted). Single line
 controls don't have a horizontal scrollbar, the text is automatically scrolled
-so that the \helpref{insertion point}{wxtextctrlgetinsertionpoint} is always 
+so that the \helpref{insertion point}{wxtextctrlgetinsertionpoint} is always
 visible.
 
 Under Windows, if the {\bf wxTE\_MULTILINE} style is used, the window is implemented
@@ -220,8 +220,8 @@ Resets the internal `modified' flag as if the current edits had been saved.
 Returns the insertion point. This is defined as the zero based index of the
 character position to the right of the insertion point. For example, if
 the insertion point is at the end of the text control, it is equal to
-both \helpref{GetValue()}{wxtextctrlgetvalue}.Length() and 
-\helpref{GetLastPosition()}{wxtextctrlgetlastposition}. 
+both \helpref{GetValue()}{wxtextctrlgetvalue}.Length() and
+\helpref{GetLastPosition()}{wxtextctrlgetlastposition}.
 
 The following code snippet safely returns the character at the insertion
 point or the zero character if the point is at the end of the control.
@@ -232,7 +232,7 @@ point or the zero character if the point is at the end of the control.
     if (tc->GetInsertionPoint() == tc->GetLastPosition())
       return '\0';
     return tc->GetValue[tc->GetInsertionPoint()];
-  }	
+  }
 \end{verbatim}
 }%
 
@@ -240,14 +240,14 @@ point or the zero character if the point is at the end of the control.
 
 \constfunc{virtual long}{GetLastPosition}{\void}
 
-Returns the zero based index of the last position in the text control, 
+Returns the zero based index of the last position in the text control,
 which is equal to the number of characters in the control.
 
 \membersection{wxTextCtrl::GetLineLength}\label{wxtextctrlgetlinelength}
 
 \constfunc{int}{GetLineLength}{\param{long}{ lineNo}}
 
-Gets the length of the specified line, not including any trailing newline 
+Gets the length of the specified line, not including any trailing newline
 character(s).
 
 \wxheading{Parameters}
@@ -302,6 +302,9 @@ no selection.
 
 \docparam{to}{The returned last position.}
 
+\pythonnote{The wxPython version of this method returns a tuple
+consisting of the from and to values.}
+
 \membersection{wxTextCtrl::GetValue}\label{wxtextctrlgetvalue}
 
 \constfunc{wxString}{GetValue}{\void}
@@ -432,7 +435,7 @@ the character at the last position.
 
 \func{virtual void}{Replace}{\param{long}{ from}, \param{long}{ to}, \param{const wxString\& }{value}}
 
-Replaces the text starting at the first position up to (but not including) 
+Replaces the text starting at the first position up to (but not including)
 the character at the last position with the given text.
 
 \wxheading{Parameters}
@@ -528,7 +531,7 @@ if there is no undo facility.
 
 \func{void}{WriteText}{\param{const wxString\& }{ text}}
 
-Writes the text into the text control at the current insertion position. 
+Writes the text into the text control at the current insertion position.
 
 \wxheading{Parameters}
 
-- 
2.50.0

