completions work here, because CC is set to think empty extension is a STL header file
save as txt - CC still thinks this is a header file.
I guess the CCManager should detect files saves and do some restoring of m_pLastEditor or/and m_pLastCCPlugin. But I don't have the time to work on this at the moment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think this is better fix:
Unfortunately this exposes another problem. Steps
I guess the CCManager should detect files saves and do some restoring of m_pLastEditor or/and m_pLastCCPlugin. But I don't have the time to work on this at the moment.
Please let me know if the above patch works for you (except for the case I've listed)?
Yes, your patch works. I've built against the same rev (r12201).