Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
Prev | Next |
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 ' ', ' ' and ' ' keys.
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 option 'Document-Edit > Edit > Search > Search', or press . 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 option 'Document-Edit > Edit > Search > Search Forward', or press . The editor searches forwards through the file for the next instance of the previously specified text string, and highlights it. |
|
Find previous instance of a text string |
Select the option 'Document-Edit > Edit > Search > Search Backward', or press . The editor searches backwards through the file for the next instance of the previously specified text string, and highlights it. |
|
Replace a text string |
Select the option 'Document-Edit > Edit > Search > Replace', or press . 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 . |
|
Delete a line |
Press to delete the current line; the remaining lines close up. |
|
Paste special objects |
Select the option 'Document-Edit > Edit > Edit > Paste Special'; the 'Paste Special' dialog displays, listing the appropriate data type formats for inserting the copied object. Click on the to embed the data into your application, or click on the to create a link to the original file.
|