mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
TOC context menu (part 4)
* TocBackend: Give public access to the docIterator of the TocItem. In this way, the TocWidget can find the Inset which is related to the TocItem. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29164 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2cd997962c
commit
ed42a06abb
@ -74,6 +74,12 @@ docstring const TocItem::asString() const
|
||||
}
|
||||
|
||||
|
||||
DocIterator const & TocItem::dit() const
|
||||
{
|
||||
return dit_;
|
||||
}
|
||||
|
||||
|
||||
FuncRequest TocItem::action() const
|
||||
{
|
||||
string const arg = convert<string>(dit_.paragraph().id())
|
||||
|
@ -54,6 +54,8 @@ public:
|
||||
docstring const & str() const;
|
||||
///
|
||||
docstring const asString() const;
|
||||
///
|
||||
DocIterator const & dit() const;
|
||||
|
||||
/// the action corresponding to the goTo above
|
||||
FuncRequest action() const;
|
||||
|
Loading…
Reference in New Issue
Block a user