On 06.04.2011 07:49, Alexander Mack wrote:
> I want to lock lines in an text editor. The text editor is the
> standard java editor (CompilationUnitEditor).
> I want the user just to be able to write for example code in a method.
> Everything else in the editor should be locken. The user should really
> just be able to code the method body, nothing else.
> I've seen editors locking lines, but I do not want to overwrite the
> hole javaeditor.
> Is there any possibility to block lines just via the IEditorPart
> object of the editor?