Add more evidential comments, adjust code to follow coding style
--- 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) ||