bool cbStyledTextCtrl::AllowTabSmartJump()
{
const int pos = GetCurrentPos();
if (pos == wxSCI_INVALID_POSITION)
return false;
const int style = GetStyleAt(pos);
if (IsString(style) || IsCharacter(style) || IsComment(style) || IsPreprocessor(style))
return !m_tabSmartJump;
return true;
}
void cbStyledTextCtrl::OnKeyDown(wxKeyEvent& event)When completion actived, need pause tab jump.
{
switch (event.GetKeyCode())
{
case WXK_TAB:
{
if (AutoCompActive())
break;