Creating uneditable blocks of text
Submitted by Tuesday, 17 July, 2007 - 19:02
on
I want to create a mode which will highlight a block of text and make it read-only. Is this possible?
Basically, what I am looking to do is put text into a file that are comments which the user cannot change. It would look something like this...
**Editable text**
Normal text......
%% This comment cannot be changed or deleted %%
More text here that the user can enter or change.
.....
I would want the text between the %% symbols (or whatever) and the delimiters themselves to be fixed so that they cannot be changed from within JEdit.
Can parts of the edit window be made uneditable?
Thanks in advance
-- David Kightley