<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - UI - Insert mode status activation and display"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107918#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - UI - Insert mode status activation and display"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=107918">bug 107918</a>
from <span class="vcard"><a class="email" href="mailto:J.F.Lanting@inter.NL.net" title="Joop Lanting <J.F.Lanting@inter.NL.net>"> <span class="fn">Joop Lanting</span></a>
</span></b>
<pre>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!</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>