test for GetLastPosition() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -492,11 +492,12 @@ void MyTextCtrl::OnKeyDown(wxKeyEvent& event)
|
|||||||
"Current line, column: (%ld, %ld)\n"
|
"Current line, column: (%ld, %ld)\n"
|
||||||
"Number of lines: %ld\n"
|
"Number of lines: %ld\n"
|
||||||
"Current line length: %ld\n"
|
"Current line length: %ld\n"
|
||||||
"Total text length: %ld"),
|
"Total text length: %u (%ld)"),
|
||||||
pos,
|
pos,
|
||||||
line, column,
|
line, column,
|
||||||
GetNumberOfLines(),
|
GetNumberOfLines(),
|
||||||
GetLineLength(line),
|
GetLineLength(line),
|
||||||
|
GetValue().length(),
|
||||||
GetLastPosition());
|
GetLastPosition());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user