mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +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 multiparsel_;
|
||||||
}
|
}
|
||||||
|
|
||||||
return bufferview()->cursor().paragraph().params();
|
return bufferview()->cursor().innerParagraph().params();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ParagraphParameters const & ControlParagraph::params() const
|
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
|
LyXAlignment ControlParagraph::alignPossible() const
|
||||||
{
|
{
|
||||||
return bufferview()->cursor().paragraph().layout()->alignpossible;
|
return bufferview()->cursor().innerParagraph().layout()->alignpossible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LyXAlignment ControlParagraph::alignDefault() const
|
LyXAlignment ControlParagraph::alignDefault() const
|
||||||
{
|
{
|
||||||
return bufferview()->cursor().paragraph().layout()->align;
|
return bufferview()->cursor().innerParagraph().layout()->align;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace frontend
|
} // namespace frontend
|
||||||
|
Loading…
Reference in New Issue
Block a user