In this section: How to: |
WebFOCUS Maintain provides the following text editors:
You can open and edit code or other text for multiple components in separate editor windows.
In the Project Explorer, right-click a component and select Edit or Edit source from the shortcut menu.
The editor window displays the underlying code or text for the selected project component.
How to: |
Changes to code in the editor are parsed and automatically incorporated in the corresponding graphical application component.
Developers can now control the lag time for the parser of the editor by customizing how long the parser waits for the developer to stop typing before it automatically parses the Maintain code. Developers can also disable the parser completely to optimize the Maintain Development Environment when they are in a typing-intensive session. They can re-enable the parser to update the Project Explorer tree automatically.
To customize parsing:
MDE displays the Environment Options dialog box.
If the parser is enabled, it waits until you stop typing before it begins to parse your code for changes that might affect the Project Explorer.
If you disable parsing, changes to your code are not reflected in the Project Explorer until you save them.
How to: |
The following is a list of common editing functions that you can perform.
To enter text, place the cursor where you want the text to go and start typing.
Note: The editor does not wrap text automatically, so when you reach the end of a line, you must press Enter.
To select a specific range of text:
To select all text, do one of the following:
To move text:
To copy text:
Do one of the following:
or the Redo button
on the
General toolbar.To locate specific text:
on the
Editor toolbar to open the Find dialog box.
Note: You can create some powerful searches using regular expression syntax. For more information, try searching the web.
The text appears highlighted.
To replace specific text:
Note: You can create some powerful searches using regular expression syntax. For more information, try searching the web.
WebFOCUS Maintain finds and highlights the text.
Note: To replace all occurrences of the text found at one time, click Replace All.
In the File menu, click Print preview.
The text appears on the screen as it will look when printed.
How to: |
The bookmark option places a bullet next to or removes a bullet from any line in the editor. You can place multiple bookmarks in a file by using the Mark All function in the Find dialog box. After a bookmark is added, you can jump to that bookmark from anywhere in a file. If you have multiple bookmarks, the cursor jumps to the very next bookmark.
Bookmarks are temporary. They disappear when you close the editor window.
To add or remove bookmarks:
or
Click the Toggle Bookmark button
on the Editor
toolbar.
or
Press Ctrl+F2.
To jump to another bookmark, click the Next Bookmark button
or Previous
Bookmark button
.
The cursor jumps to the next or previous bookmark in the editor.
To apply multiple bookmarks:
The Find dialog box opens.
| WebFOCUS |