Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

CC: Expensive calls on opening new files

<< < (4/5) > >>

rickg22:
IsBusy only is set when ProjectManager is loading or closing a project. So if you don't have open projects, it'll be fine, too :)

dmoore:
then won't that mean all those scintilla events get processed when opening a big file outside of a project?

rickg22:
Opening a file, even big, should be no problem, because the code completion events are only triggered ONCE per file per save. That's my fix.

dmoore:
won't EditorEventHook be called irrespective of whether parsing is actually taking place? (it's registered within the scope of the entire plugin, not at the individual parser level)

dmoore:
additionally other plugins that have an EditorEventHook will still get called during large file loads outside of projects. When using CB as a general purpose editor/viewer, short load times are very desirable.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version