Enabling source code split-view in the IDE
|Date:||7 January 2009|
|Product/Release:||Visual LANSA V11|
|Abstract:||How to make use of the source code split-view feature|
|Submitted By:||LANSA Technical Support|
There is an undocumented feature in the V11 IDE that allows you to view two or more sections of source code in one screen. This is useful when editing large components or functions, where it might be necessary to constantly refer to the definitions section of the source code.
To enable split view, open the source code screen and put the cursor over the splitscreen anchor at the top right of the source code window:
When the mouse cursor is placed over the splitscreen anchor (the small bar on top of the scrollbar) it will change into a resize cursor. At this point it is possible to click and drag to create a splitscreen:
Once the mouse button is released, the code will be split at this level and it is possible to scroll each window individually. Changes made in one window will be reflected in the other window.
It is also possible to create a vertical splitscreen by splitscreen anchor across which exists on the left of the bottom scrollbar:
Or even a quad splitscreen by dragging both horizontal and vertical splitscreen anchors:
To cancel the splitscreen feature, drag the splitscreen divider all the way to the top or bottom of the source code.