[Libreoffice-ux-advise] [Bug 107918] UI - Insert mode status activation and display
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 30 17:54:42 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=107918
--- Comment #5 from Joop Lanting <J.F.Lanting at inter.NL.net> ---
I would suggest to take advantage of the CMD key rather, as it is quite
common on macOS. So it could be CMD/Enter to toggle.
/** (non-Javadoc)
* @see
java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
* @param a action event.
*/
@Override
public void actionPerformed(ActionEvent a)
{
Object o = a.getSource();
int m = a.getModifiers();
boolean metaPressed = (m & ActionEvent.META_MASK) != 0; // Defined in
ActionEvent.java
...........
if(o == ENTER_KEY)
{
if(metaPressed)
{
toggleOverstrike(); // Or such
Btw.: I think that showing the overstrike status has priority,
as we can use the mouse already.
;JOOP!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list