ISPSoft User Manual

ISPSoft User Manual ISPSoft User Manual

02.09.2014 Views

Chapter 13 Auxiliary Editing Tools After the users click Replace on the Edit menu, or window will appear. on the toolbar, the Search/Replace Text The Find page and the Replace page are shown below. Type the object which will be searched for, and select search conditions. If the users want to use the Replace function, they have to type a replacement object in the Replace with box. The users can do a search on the object typed in the Search for box by clicking Find Next (F3) or pressing F3 on the keyboard. The users can still do a search on the object typed in the Search for box by means of pressing F3 on the keyboard even if the Find/Replace/Goto window is closed. 13-7

ISPSoft User Manual Search condition Search for Case sensitivity Whole words only Search from caret Selected text only Regular expression Direction Description Users can type the object which will be searched for, or select an object which has been searched for after they click in the box. ISPSoft searches only for words that match the case of the word that users type in the Search for box. Whole words only instructs ISPSoft to find complete words only, and not to find words that only contain what users type. The search starts at the text cursor. (If this checkbox is not selected, the system will search the whole program.) The search starts at the text selected. (If this checkbox is not selected, the system will search the whole program.) After this checkbox is selected, regular expressions can be used. Users can search down or search up. * A regular expression is a type of standard syntax. For example, “*” is a wildcard. Please refer to related technical documents for more information. If the users use the Replace function, the Confirm replace window will appear after an object meeting the search conditions selected is found. Button Yes No Cancel Yes to all Function The object found is replaced by the replacement object, and the system searches for the next occurrence of the object typed in the Search for box. The object found is not replaced by the replacement object, and the system searches for the next occurrence of the object typed in the Search for box. The search is canceled, and the Confirm replace window is closed, All the objects meeting the search conditions selected are replaced by the replacement object. 13.1.5 Finding/Replacing a Step or a Transition in a Sequential Function Chart Users can only use the Find function and the Replace function in a sequential function chart. Besides, only the steps and the transitions in a sequential function chart can be searched for and replaced. If users want to use the Find/Replace function in an action/transition, they have to open the window for the action/transition, make sure of the programming language used to create the action/transition, and refer to section 13.1.3 and section 13.1.4. The functions described in this section are used in the present program editing window, and are not used in the whole project. Users can open a program editing window, and click the position in the working area at which they want to start searching. If the users click the local symbol table in the program editing window, the local symbol table will be searched. Please refer to section 13.1.6 for more information about using the Find function in a symbol table. 13-8

<strong>ISPSoft</strong> <strong>User</strong> <strong>Manual</strong><br />

Search condition<br />

Search for<br />

Case sensitivity<br />

Whole words only<br />

Search from caret<br />

Selected text only<br />

Regular expression<br />

Direction<br />

Description<br />

<strong>User</strong>s can type the object which will be searched for, or select an object<br />

which has been searched for after they click in the box.<br />

<strong>ISPSoft</strong> searches only for words that match the case of the word that users<br />

type in the Search for box.<br />

Whole words only instructs <strong>ISPSoft</strong> to find complete words only, and not<br />

to find words that only contain what users type.<br />

The search starts at the text cursor. (If this checkbox is not selected, the<br />

system will search the whole program.)<br />

The search starts at the text selected. (If this checkbox is not selected, the<br />

system will search the whole program.)<br />

After this checkbox is selected, regular expressions can be used.<br />

<strong>User</strong>s can search down or search up.<br />

* A regular expression is a type of standard syntax. For example, “*” is a wildcard. Please refer to related technical<br />

documents for more information.<br />

If the users use the Replace function, the Confirm replace window will appear after an object<br />

meeting the search conditions selected is found.<br />

Button<br />

Yes<br />

No<br />

Cancel<br />

Yes to all<br />

Function<br />

The object found is replaced by the replacement object, and the system searches<br />

for the next occurrence of the object typed in the Search for box.<br />

The object found is not replaced by the replacement object, and the system<br />

searches for the next occurrence of the object typed in the Search for box.<br />

The search is canceled, and the Confirm replace window is closed,<br />

All the objects meeting the search conditions selected are replaced by the<br />

replacement object.<br />

13.1.5 Finding/Replacing a Step or a Transition in a Sequential<br />

Function Chart<br />

<strong>User</strong>s can only use the Find function and the Replace function in a sequential function chart.<br />

Besides, only the steps and the transitions in a sequential function chart can be searched for and<br />

replaced. If users want to use the Find/Replace function in an action/transition, they have to open<br />

the window for the action/transition, make sure of the programming language used to create the<br />

action/transition, and refer to section 13.1.3 and section 13.1.4.<br />

The functions described in this section are used in the present program editing window, and are not<br />

used in the whole project. <strong>User</strong>s can open a program editing window, and click the position in the<br />

working area at which they want to start searching. If the users click the local symbol table in the<br />

program editing window, the local symbol table will be searched. Please refer to section 13.1.6 for<br />

more information about using the Find function in a symbol table.<br />

13-8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!