SVN:(VZ)[77779] Add more evidential comments, adjust code to follow coding style

0 views
Skip to first unread message

nor...@wxsite.net

unread,
Sep 23, 2014, 1:39:54 PM9/23/14
to wx-commi...@googlegroups.com
Revision
77779
Author
VZ
Date
2014-09-23 10:39:53 -0700 (Tue, 23 Sep 2014)

Log Message

Add more evidential comments, adjust code to follow coding style

Modified Paths

Diff

Modified: wxWidgets/trunk/src/univ/textctrl.cpp (77778 => 77779)


--- wxWidgets/trunk/src/univ/textctrl.cpp	2014-09-23 17:39:50 UTC (rev 77778)
+++ wxWidgets/trunk/src/univ/textctrl.cpp	2014-09-23 17:39:53 UTC (rev 77779)
@@ -941,8 +941,10 @@
 {
     wxTextCoord colStart, colEnd,
                 lineStart, lineEnd;
-    // as convention, if `to` equal -1, it means go to the last position
-    if ( to == -1)
+    // as convention, ( src/gtk/textctrl.cpp:1411, src/msw/textctrl.cpp:759, 
+    // test/controls/textentrytest.cpp:171 )
+    // if `to` equal -1, it means go to the last position
+    if ( to == -1 )
         to = GetLastPosition();
 
     if ( (from > to) ||
Reply all
Reply to author
Forward
0 new messages