Add a couple of OSX-standard keyboard cmds to Scintilla.
Fixes https://gitlab.com/kicad/code/kicad/issues/8865
This commit is contained in:
parent
c71ab17892
commit
a2cb3e916a
|
@ -248,6 +248,16 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
|
||||
m_te->EndUndoAction();
|
||||
}
|
||||
#ifdef __WXMAC__
|
||||
else if( aEvent.GetModifiers() == wxMOD_RAW_CONTROL && aEvent.GetKeyCode() == 'A' )
|
||||
{
|
||||
m_te->LineEndWrap();
|
||||
}
|
||||
else if( aEvent.GetModifiers() == wxMOD_RAW_CONTROL && aEvent.GetKeyCode() == 'E' )
|
||||
{
|
||||
m_te->HomeWrap();
|
||||
}
|
||||
#endif
|
||||
else
|
||||
{
|
||||
aEvent.Skip();
|
||||
|
|
Loading…
Reference in New Issue