https://bugs.freedesktop.org/show_bug.cgi?id=43514
Michael Stahl <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|BSA, ProposedEasyHack |BSA EasyHack | |DifficultyBeginner SkillCpp CC| |[email protected] | |r, [email protected] --- Comment #2 from Michael Stahl <[email protected]> --- hmm... this would need some sort of notification from the cursor movement to the navigator dialog, probably indirectly; i'd try defining an empty virtual method in SwCrsrShell (since that one is used also in documents that don't have any UI) that is called from SwCrsrShell::UpdateCrsr and with an override in SwWrtShell... the SwWrtShell method then updates the navigator (if it is active). SwCrsrShell is in sw/source/core/crsr/crsrsh.cxx but i'm not sure how to get the dialog... the navigator is in sw/source/ui/utlui/navipi.cxx apparently it's registered as a child window at SwView. the outline list is apparently stored in a separate class SwContentTree in sw/source/ui/utlui/content.cxx SwContentType::FillMemberList aha... so it works like this: SwContentTree::HasContentChanged() is called from a timer and updates the display. it could of course request the current cursor position from "SwWrtShell* pActShell" and select something. probably it's not even necessary to change SwCrsrShell at all. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
