Posted 19 years ago
by Rowland Friebely

We are evaluating SyntaxEditor, and would like to create "read-only" and "hidden" text regions.
For a "hidden" region, we would like to be able to:
1) Change the background of "hidden" region box, representing the collapsed section, to "black" and the foreground to "white".
2) Prevent the "hidden" region box from being expanded - keep text hidden.
3) Suppress the outline tooltip only for the hidden region.
For a "readonly" region, we would like to be able to:
1) Change the background of the "readonly" region box to light-blue.
2) Prevent the user from editing the text in this region, when expanded. (or part of a selection process)
3) Change the text background to light-blue, when expanded.
How would I approach modifying the SyntaxEditor to support this capability?
For a "hidden" region, we would like to be able to:
1) Change the background of "hidden" region box, representing the collapsed section, to "black" and the foreground to "white".
2) Prevent the "hidden" region box from being expanded - keep text hidden.
3) Suppress the outline tooltip only for the hidden region.
For a "readonly" region, we would like to be able to:
1) Change the background of the "readonly" region box to light-blue.
2) Prevent the user from editing the text in this region, when expanded. (or part of a selection process)
3) Change the text background to light-blue, when expanded.
How would I approach modifying the SyntaxEditor to support this capability?