| Summary: | Enable Edit > Index when cursor is not on a field | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | RichardKirk <richard> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | dgp-mail, heiko.tietze, sdc.blanco |
| Priority: | medium | ||
| Version: | 7.0.2.2 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=137741 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 114039 | ||
|
Description
RichardKirk
2020-10-23 12:06:41 UTC
The command could remain disabled when the whole document does not contain any field. But otherwise the dialog shows up with empty Type, Select, Format lists but the next/prev buttons are available. It wouldn't find any previous field if the cursor is at the beginning of the document (and similarly for the end and next), so ideally we can disable the buttons depending on the position. An alternative solution could be to introduce fields at the Navigator. (In reply to Heiko Tietze from comment #1) > An alternative solution could be to introduce fields at the Navigator. I think this is bug 137741 Halfway solution:
Use Tools - Customize to add "Go to Next Index Mark" and "Go to Previous Index Mark" (search on "Index" in the Customize Dialog) to {toolbar, context menu, shortcut key}, according to preference. This will move the cursor from an arbitrary position to an index entry, but you still need to open Index Entry.
(Could make a custom toolbar with these two commands, plus .uno:IndexEntryDialog, which opens the Edit Entry dialog, when the cursor is on an Index Entry (there are two "Insert Entry" options). You still have to close the Edit dialog each time, but it might make life a little easier.
|