delphi - How to fold an inserted region with Open Tools API? -
I want to insert an area into an editing scene and then want to multiply this area.
/ / FEditView: IOTAEditView; Var Author: IOTAEditWriter; Start author: = fEditView.Buffer.CreateUndoableWriter; // ... Author. Instruct ('{$ REGION' 'Documentation'} '# 13 # 10' {$ ENDREGION} '); Author: = Zero; // buffer F. edit weight composition. Flush the zeitone (line no); // go to field line number fEditView.Paint; End;
This code snippet will include an area in the code editor. But IDE requires some action to create such an area in code editor.
Is the IDE any way to implement this action and then I can use
(fEditView as IOTAElideActions). ElideNearestBlock;
to fold it?
found with error testing - and - panic: -)
(FEditView as IOTAElideActions) .EnableElisions; (FEditView as IOTAElideActions) .EnableElisions; (FEditView as IOTAElideActions). Allianceistblock;
Enabled Eclipse () actually appears for the toggle elisions facility.
Turning to the classes and backwards looks the desired effect. Some very beautiful screen updates are going on. Even if it is possible to suppress it, I do not know.
Comments
Post a Comment