Add backspace modifier handling to SCINTILLA_TRICKS.

Fixes https://gitlab.com/kicad/code/kicad/issues/13910
This commit is contained in:
Jeff Young 2023-05-08 18:40:59 +01:00
parent 9f62e88477
commit e1db4e0694
1 changed files with 7 additions and 0 deletions

View File

@ -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 )