Related: rhbz#689053 ctrl+shift+backspace with 1 char to the left does nothing

With 2 or more it deletes to the start of the line.
With 0 it deletes to the start of the last line.
With 1 is moves to the start of the line, and does nothing.

That doesn't make sense anyway.
This commit is contained in:
Caolán McNamara 2011-06-10 11:50:35 +01:00
parent b44b8349a5
commit 4e08d4f3cb

View file

@ -200,7 +200,6 @@ sal_Bool SwWrtShell::_PrvWrdForDelete()
return sal_True;
}
sal_Bool SwWrtShell::_FwdSentence()
{
Push();
@ -218,8 +217,6 @@ sal_Bool SwWrtShell::_FwdSentence()
return 1;
}
sal_Bool SwWrtShell::_BwdSentence()
{
Push();
@ -229,11 +226,6 @@ sal_Bool SwWrtShell::_BwdSentence()
Pop(sal_False);
return 0;
}
if(IsSttPara())
{
Pop();
return 1;
}
if( !GoStartSentence() && !IsSttPara() )
// nicht gefunden --> an den Absatz Anfang
SwCrsrShell::MovePara( fnParaCurr, fnParaStart );
@ -242,7 +234,6 @@ sal_Bool SwWrtShell::_BwdSentence()
return 1;
}
sal_Bool SwWrtShell::_FwdPara()
{
Push();