Try to make block-quote/unquote more keyboard-variation-friendly.
Fixes https://gitlab.com/kicad/code/kicad/issues/git
This commit is contained in:
parent
2babcd5936
commit
c1889cefcf
|
@ -147,7 +147,7 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
else
|
||||
m_te->DeleteRange( m_te->GetSelectionStart(), 1 );
|
||||
}
|
||||
else if( ( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetKeyCode() == '/' ) )
|
||||
else if( ( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetUnicodeKey() == '/' ) )
|
||||
{
|
||||
int startLine = m_te->LineFromPosition( m_te->GetSelectionStart() );
|
||||
int endLine = m_te->LineFromPosition( m_te->GetSelectionEnd() );
|
||||
|
|
Loading…
Reference in New Issue