https://bugs.documentfoundation.org/show_bug.cgi?id=172899

--- Comment #11 from MartinPC <[email protected]> ---
Created attachment 208123
  --> https://bugs.documentfoundation.org/attachment.cgi?id=208123&action=edit
Workaround Macros for LibreOffice Writer Soft Hyphen Display Bug

This is an indivisible block of LibreOffice BASIC code that contains two
macros: 

• SoftHyphensOn() turns the display of "inactivated/​dormant" soft/​conditional
hyphens ON.

• SoftHyphensOff() turns them OFF.

They save users from having to manually navigate to Tools > Options >
LibreOffice Writer > Formatting Aids > Soft hyphens in order to toggle the
display of "dormant" soft/​conditional hyphens there. 

The ENTIRE block of code must be pasted into a BASIC macro module for the
macros  to work.

They are most conveniently used by adding them to a toolbar button next to the
"Toggle Formatting Marks" button (¶), where the new buttons should probably be
renamed something like "-ON" and "-OFF" for the sake of compactness.

Note that these macros generate appropriate non-transient status messages in
LibreOffice Writer's statusbar ("Soft Hyphens: ON" and "Soft Hyphens: OFF").
However, if "Soft hyphens" is subsequently toggled manually in Tools > Options,
the displayed status message will be wrong until the next time one of the
macros is run — or, I suppose, until "Soft hyphens" is manually toggled back.
If you always use the macros (which is faster and easier), you won't run into
this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to