https://bugs.freedesktop.org/show_bug.cgi?id=77355

tommy27 <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from tommy27 <[email protected]> ---
Created attachment 110803
  --> https://bugs.freedesktop.org/attachment.cgi?id=110803&action=edit
Tools/Customize/Keyboard dialog

you can already assign a shortcut to the highlighting (check screenshot)
however this won't work as expected...

hitting the new shortcut won't apply any highlighting to text...

as a workaround you can use this macro and assign it to a shortcut.รน
here's the code

Sub YellowHighlight

dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "BackColor"
args1(0).Value = 16776960
dispatcher.executeDispatch(document, ".uno:BackColor", "", 0, args1())
End Sub

-- 
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

Reply via email to