Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a high cpu usage bug due to not exiting out of the OnIdle funct…

  • Loading branch information...
commit d73e4c091e4aa318e5beef707eb9541db9845627 1 parent eb7abb7
@ajpalkovic ajpalkovic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/SnippetList.cpp
2  src/SnippetList.cpp
@@ -71,7 +71,7 @@ void SnippetList::OnIdle(wxIdleEvent& WXUNUSED(event)) {
EditorChangeState newState = m_editorCtrl->GetChangeState();
//If the bundle isn't loaded at startup, then the snippet list won't show any symbols.
//The bundle won't get reloaded later, cuz ScopeChanged will return false. So, it has to wait till they switch tabs or make a change.
- //if(!ScopeChanged(scope) && newState == m_editorState) return;
+ if(!ScopeChanged(scope) && newState == m_editorState) return;
m_editorState = newState;
//Update the list of snippets/commands to reflect a potentially new syntax
Please sign in to comment.
Something went wrong with that request. Please try again.