summaryrefslogtreecommitdiff
path: root/vcl/source/control/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/edit.cxx')
-rw-r--r--vcl/source/control/edit.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 55acf9f1415a..7520cb416d0d 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2699,6 +2699,12 @@ OUString Edit::GetText() const
return maText.toString();
}
+void Edit::SetCursorAtLast(){
+ OUString str = GetText();
+ sal_Int32 len = str.getLength();
+ ImplSetCursorPos( len, false );
+}
+
void Edit::SetPlaceholderText( const OUString& rStr )
{
if ( mpSubEdit )