Doesn’t edit by definition mean tha5 you can change things though?
Yes but, edit does not imply everything is editable.
Not as part of the editor itself. There are no per line options.
But you can hook the keydown/up or On[User]Command and Mouse events, and then stop them.
I can see how that would work. Very useful observation, thank you Martin.
Or you can react to caret move, and change readonly in the event. Though I don't know if combined actions will check after they moved the caret.... (e.g. middle button paste).
I'll look into that.
Otherwise by which means is it to be decided?
In this particular case, text that is generated by the program is not editable whereas text that is user-entered is.
To give an example that is "parallel" to what I intend to do, imagine a user can add comments to the debugger's dis-assembly window, those comments may be edited at any time while the dis-assembly text (which is generated by the debugger) is normally read-only.
Question: is the dis-assembly window a SynEdit or is it a different control ?