I’m wondering if it is possible to lock or protect the part of the text in document by making it a read only text? I saw something similar into OpenOffice Writer where you can password protect a part of the document. I would love to see this in any code editor – since in my recent project text is too large and it’s hard to manage even after doing lot of formating and code folding etc.
This is not currently supported, in terms of locking just parts of the text. If you use a source control system that supports exclusive checkouts then you could use this to prevent changes to locked files.