Patch #1207 2006-07-14 23:15
ironhead
Have codecompletion work on editor activate as well as save- Download
- 1207-Have_codecompl.patch (373 bytes)
- Category
- Plugin::Refinement
- Status
- Rejected
- Close date
- 2007-04-12 11:32
- Assigned to
Index: codecompletion.cpp
===================================================================
--- codecompletion.cpp (revision 2751)
+++ codecompletion.cpp (working copy)
@@ -747,6 +747,9 @@
m_LastActiveEditor = event.GetEditor();
m_NativeParsers.OnEditorActivated(event.GetEditor());
}
+
+ OnReparseActiveEditor(event);
+
event.Skip();
}
History
ironhead 2006-07-15 06:45
I've noticed that this only seems to work after either a project is opened, closed then reopened, or if a save occurs.
Also, this seems to cause excess CPU usage (7 - 8 %) when the editor is activated. As such I don't think this patch as it stands should be applied.
I am investigating alternative implementations.