Add backspace modifier handling to SCINTILLA_TRICKS.
Fixes https://gitlab.com/kicad/code/kicad/issues/13910
This commit is contained in:
parent
9f62e88477
commit
e1db4e0694
|
@ -257,6 +257,13 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
}
|
||||
else if( aEvent.GetKeyCode() == WXK_BACK )
|
||||
{
|
||||
if( aEvent.GetModifiers() == wxMOD_CONTROL )
|
||||
#ifdef __WXMAC__
|
||||
m_te->HomeExtend();
|
||||
else if( aEvent.GetModifiers() == wxMOD_ALT )
|
||||
#endif
|
||||
m_te->WordLeftExtend();
|
||||
|
||||
m_te->DeleteBack();
|
||||
}
|
||||
else if( aEvent.GetKeyCode() == WXK_DELETE )
|
||||
|
|
Loading…
Reference in New Issue