Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Scroll, Search and Select Text
In the Document Editor, you can move the cursor through the template or document using either the keyboard or the mouse. Alternatively, you could move the cursor to a position in the file by searching for a text string.
Having positioned the cursor on the required text, you can then highlight and manipulate it with various options, in addition to the standard 'mouse-click-and-drag' and the Ctrl+C, Ctrl+X and Ctrl+P keys.
Access In text, or select options from the menu bar at the top of the Document Editor window, or right-click within either:
- The Content panel of the Document Template Designer or
- The text area of the document
Cursor Positioning
Scroll Using |
Options |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Keyboard Keys |
Press:
|
||||||||||
Mouse |
To perform various scrolling functions, click on the vertical or horizontal scroll bars. These functions are available when the scroll bars have been enabled by the startup parameters. Vertical Scroll Bar: To scroll the screen up or down by one line, click on the arrows on either end. To scroll the screen up by one page, click above the elevator (the block within the scroll bar); similarly, to scroll the screen down by one page, click below the elevator. You can also scroll the screen up or down by dragging the elevator in the appropriate direction. Horizontal Scroll Bar: To scroll the screen left or right by one column, click on the arrow on the appropriate end of the bar; to scroll the screen left or right by half a screen, click on the bar on the appropriate side of the elevator. You can also scroll the screen left or right by dragging the elevator along the bar in the appropriate direction.
|
Text Search
When you search for a text string, the dialog for specifying the search details does not persist on the screen, so you can simply use keyboard keys or a menu option to continue the search without obscuring text behind a dialog.
To |
Action |
See also |
||||||||
---|---|---|---|---|---|---|---|---|---|---|
Find first instance of a text string |
Select the Other | Search menu option, or press F5. The Search String Parameters dialog displays. Specify:
The editor searches for the first instance of the specified character string as defined by the parameters.
|
|
||||||||
Find next instance of a text string |
Select the Other | Search Forward menu option, or press Ctrl+F. The editor searches forwards for the next instance of the specified text string in the file, and highlights it.
|
|
||||||||
Find previous instance of a text string
|
Select the Other | Search Backward menu option, or press Ctrl+Shift+F. The editor searches backwards for the previous instance of the text string in the file, and highlights it.
|
|
||||||||
Replace a text string |
Select the Other | Replace menu option, or press F6. The Replace String Parameters dialog displays, in which you specify:
If you want to confirm replacement, a prompt displays for each occurrence of the search term to confirm or skip replacing that occurrence.
|
|
Text Selection
To |
Action |
See also |
---|---|---|
Highlight a word |
Double-click on the word.
|
|
Highlight a line |
Move the cursor onto the line and press F8.
|
|
Delete a line |
Press Shift+F9 to delete the current line; the remaining lines close up.
|
|
Paste special objects |
Select the Edit | Paste Special menu option; the Paste Special dialog displays, listing the appropriate data type formats for inserting the copied object, as listed below: Click on the Paste button to embed the data into your application, or click on the Paste Link button to create a link to the original file. Native Object Format If available, this is the first format in the list box; you can edit data in this format using the original application, by double-clicking the object.
Formatted Text A text format; this option offers the most suitable format if the data is pasted from another text output application, as the font and formatting attributes are reproduced accurately.
Unformatted Text Another text format; this option pastes the text without retaining the formatting information.
Picture Format The data is available in Picture format; you can later edit the object, by double-clicking on it and invoking the Microsoft MS Draw application. This format is preferable to the Bitmap and the Device Independent Bitmap formats.
Device Independent Bitmap and Regular Bitmap formats The data is available in bitmap formats; you can later edit the object, by double-clicking on it and invoking the Microsoft MS Draw application. The editor converts these formats into the Picture format before calling the drawing application.
|
|