Another try at a solution for ctrl-/.
Fixes https://gitlab.com/kicad/code/kicad/issues/5480
This commit is contained in:
parent
1be1205734
commit
4354fa7bde
|
@ -147,7 +147,8 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
else
|
||||
m_te->DeleteRange( m_te->GetSelectionStart(), 1 );
|
||||
}
|
||||
else if( ( aEvent.GetModifiers() == wxMOD_CONTROL && aEvent.GetUnicodeKey() == '/' ) )
|
||||
else if( aEvent.ControlDown() && !aEvent.MetaDown() && !aEvent.AltDown()
|
||||
&& aEvent.GetUnicodeKey() == '/' )
|
||||
{
|
||||
int startLine = m_te->LineFromPosition( m_te->GetSelectionStart() );
|
||||
int endLine = m_te->LineFromPosition( m_te->GetSelectionEnd() );
|
||||
|
|
Loading…
Reference in New Issue