diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/edit.cxx | 6 |
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 ) |