Fix DELETE in Scintilla
The previous method would act like backspace at the end of the string
This commit is contained in:
parent
22b8133108
commit
4d6abfdf05
|
@ -130,10 +130,7 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
|||
if( m_te->GetSelectionEnd() > m_te->GetSelectionStart() )
|
||||
m_te->DeleteBack();
|
||||
else
|
||||
{
|
||||
m_te->CharRight();
|
||||
m_te->DeleteBack();
|
||||
}
|
||||
m_te->DeleteRange( m_te->GetSelectionStart(), 1 );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue