We often open a file which under a library directories when we are browsing in source code, or debug into.
etc : <string> , <wx/wxString>..<boost/bind.hpp>
Under these circumstances, we care about "read code", rather than to modify them. Modify the library's code and save it, is a very troublesome thing.
There for, I written a plugin named "Auto Readonly". When a file without a opened project was opened in C::B, the plugin will try to change it to read-only mode (just in IDE, no on disk) automatic. OR, you can change it's read-only status manual by a new menu item (Edit->Readonly Ctrl + Alt + R);
A setting panel was provided. you can set those options:
# whether the non-project file ( file without project) change to read-only automatically.
# white list / black list (for directories)
# alert ...
# case sensitive...
-------------------------------------------------------------------
(Updated for png)CBPlug_AutoReadonly(081119-2).7zHi, I have update the "autoreadonly.png" and "autoreadonly-off.png".
now I only compile it under windows...(who would test it under linux?)
[attachment deleted by admin]