Date: prev next · Thread: first prev next last
January 2019 Archives by date, by thread · List index


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

--- Comment #5 from Joop Lanting <J.F.Lanting@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.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.