As you may know, one of the weak points of code folding in sublime is that, once collapsed, it is represented by a single yellow character, which could be easily deleted by mistake.
Is there any way (besides being really careful when deleting stuff), to lock the folded code, or disable backspace on that yellow representation of the collapsed lines? Or maybe there’s a plugin for that which I just haven’t discovered?
If there’s no already existing solution, does anybody have an idea how this problem could be approached / solved when writing a plugin for that?