The new spotlight features (for paragraph styles, character styles and direct formatting) we got in LO 7.6 are a great match for using with the Style Inspector, which lists details about all three. I suggest adding three tick boxes in the sidebar to control these commands: Spotlight: [ ] Paragraph Styles [ ] Character Styles [ ] Direct Formatting Because of the length of the labels, icons might be a better fit, to keep it in a single row: Spotlight: [PS] [CS] [DF] Relevant UNO commands are: .uno:SpotlightParaStyles (since 24.2) .uno:SpotlightCharStyles (since 24.2) .uno:HighlightCharDF (since 7.6)
The spotlight is available via Stylist for PS and CS and the main menu for all three. Another route to enable the view sounds like over-engineering to me and clutters the simple Styles Inspector unnecessarily.
While available to activate as individual checkboxes now from main menu Format -> Spotlight, or as single checkbox on each of the SB Stylist deck for PS or CS. And the UNO can be further customized for KB or menu/contextmenu use. But Spotlight's ability to visually locate paragraph or character styles applied in document text makes it very useful for making pointer selections when working from the SB 'Style Inspector' deck. I have to agree that having a checkbox toggle for each of the three current Spotlight flavors available on the 'Style Inspector' deck would make for better UX--enable disable from there. And would self-guide users in the style review of their page content. +1
We discussed the topic in the design meeting. Adding controls clutters the UI and is not really in scope of the workflow (you inspect an element and it's quite unlikely that you need to know where this style is used). But the majority thinks the drawback is negligible and some users might benefit from the enhancement. Code pointer: svx/uiconfig/ui/inspectortextpanel.ui svx/source/sidebar/inspector/InspectorTextPanel.cxx
Patch https://gerrit.libreoffice.org/c/core/+/166381 abandoned due to inactivity