malloc(), realloc().. the dark side powerful it is

I think the tabs are kept in memory. I wouldn't edit them on disk while the sketch is open.