geany/geany — pull request #8 by codebrainz (2011-10-23 07:53:09+00:00)
Title: Use Scintilla's buffer directly for parsing tags

Instead of allocating and freeing the whole buffer each time it's parsed, use a direct pointer into Scintilla's buffer. I think it should be OK since when TagManager/Ctags reads from the memory file it seems [it gets a copy of what's read from the buffer](https://github.com/geany/geany/blob/master/tagmanager/mio/mio-memory.c#L74).

This definitively should get some review before committing though.

Also, is there something we could do to MIO to completely prevent writing to the file, since IIUC we *never* want this to happen in Geany?