mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Crash fix for in mathed cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20523 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b762358eec
commit
804b85af43
@ -44,13 +44,13 @@ ParagraphParameters & ControlParagraph::params()
|
||||
return multiparsel_;
|
||||
}
|
||||
|
||||
return bufferview()->cursor().paragraph().params();
|
||||
return bufferview()->cursor().innerParagraph().params();
|
||||
}
|
||||
|
||||
|
||||
ParagraphParameters const & ControlParagraph::params() const
|
||||
{
|
||||
return bufferview()->cursor().paragraph().params();
|
||||
return bufferview()->cursor().innerParagraph().params();
|
||||
}
|
||||
|
||||
|
||||
@ -85,13 +85,13 @@ bool ControlParagraph::canIndent() const
|
||||
|
||||
LyXAlignment ControlParagraph::alignPossible() const
|
||||
{
|
||||
return bufferview()->cursor().paragraph().layout()->alignpossible;
|
||||
return bufferview()->cursor().innerParagraph().layout()->alignpossible;
|
||||
}
|
||||
|
||||
|
||||
LyXAlignment ControlParagraph::alignDefault() const
|
||||
{
|
||||
return bufferview()->cursor().paragraph().layout()->align;
|
||||
return bufferview()->cursor().innerParagraph().layout()->align;
|
||||
}
|
||||
|
||||
} // namespace frontend
|
||||
|
Loading…
Reference in New Issue
Block a user