Kaydet (Commit) 4241ef23 authored tarafından Luboš Luňák's avatar Luboš Luňák

when clicking at a text placeholder, put the cursor at the start

Rather than at the end. There is still some flicker, because
SwEditWin::MouseButtonDown() selects it first too and puts the cursor
at the end, but I've wasted already way too much time and trying
to avoid that or the flicker.

Change-Id: Ib0f00f3f955e64427dba8dd1c6ae7123afc17b34
üst bdd9d06c
......@@ -257,7 +257,10 @@ void SwWrtShell::ClickToField( const SwField& rFld )
}
Right( CRSR_SKIP_CHARS, sal_True, 1, sal_False ); // Feld selektieren
StartAllAction();
Right( CRSR_SKIP_CHARS, true, 0, false ); // Select the field.
NormalizePam(); // Cursor at the beginning of it.
EndAllAction();
if( nSlotId )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment