]> git.lyx.org Git - lyx.git/commit
Fixup LFUN_REFERENCE_TO_PARAGRAPH for captions in other buffers
authorJuergen Spitzmueller <spitz@lyx.org>
Tue, 30 Jul 2024 10:36:20 +0000 (12:36 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 30 Jul 2024 10:36:20 +0000 (12:36 +0200)
commit9464f0526ef136a27fba62369ab5087e98e9452a
tree44cb5a762c32bf99b775b9109134d487818d0d07
parent4ed822925f03f197afa738e6e0ee07aa7b303986
Fixup LFUN_REFERENCE_TO_PARAGRAPH for captions in other buffers

The movement to the caption is now done in the LFUN function itself,
as we need the DocIterator in the caption

This greatly simplifies the code in the TocWidget and shifts all the
complexity to the LFUN itself
src/BufferView.cpp
src/LyXAction.cpp
src/TocBackend.h
src/TocBuilder.cpp
src/frontends/qt/TocWidget.cpp