Add Ctrl+A (select all) to scintilla tricks.

Fixes https://gitlab.com/kicad/code/kicad/issues/5538
This commit is contained in:
Jeff Young 2020-09-07 12:35:49 +01:00
parent ad1ef9f4c9
commit 53389442b8
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
{ {
m_te->Redo(); m_te->Redo();
} }
else if( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetKeyCode() == 'A' )
{
m_te->SelectAll();
}
else if( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetKeyCode() == 'X' ) else if( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetKeyCode() == 'X' )
{ {
m_te->Cut(); m_te->Cut();