File: search_replace.html

package info (click to toggle)
diasce2 1.3.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,688 kB
  • ctags: 1,586
  • sloc: ansic: 22,810; sh: 3,060; makefile: 489; yacc: 318
file content (80 lines) | stat: -rw-r--r-- 3,862 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>The Search / Replace</title>
</head>
<body>
<style type="text/css"><!--
table {
	border: solid 2px blue;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	background-color: #01A4FF;
	width: 100%;
	padding: 2;
}

--></style>

<table cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="functions_tab.html"><img src="images/left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="diasce03.html"><img src="images/up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="images/home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">DiaSCE manual</th>
<td><a accesskey="n" href="external_programs.html"><img src="images/right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<p><h2>The Search / Replace</h2></p>
<p>To perform a search / replace of character strings in DiaSCE, you must first 
open a file in the Code Editor Window. Then, you right-click on the Code 
Editor Window and select "Search..." or select it in the menu bar or the 
toolbar. The search window will pop up, where you can enter the search string, 
and select the search options. If you have selected text in the Code Editor 
Window, the text will appear in the search window. </p>
<p><img src="images/search_window.png" width="322" height="277" alt="Search Window"></p>

<p>You have the following options in the search window:</p>
<ul>
<li>Search: Use this button to perform a search of the string entered in the 
Search string entry.</li>
<li>Replace: Use this button to replace the searched string with the string 
entered in the Replace string entry.</li>
<li>Replace All: Use this button to replace all the found strings with the text 
in the Replace string entry</li>
</ul>
<p>You can configure the scope of the search, with the following options:</p>
<ul>
<p><li>Search in current file:  Select this if you want the search to be performed 
in the file that is currently active in the Code Editor Window. When a 
coincidence is found, it will be highlighted in the Code Editor Window. You 
can look for the next coincidence by pressing Search again in the Search 
Window. You can especify 4 options for this kind of search:</li>
<ul>
<li>All file: Select this if you want to perform the search from the beginning 
of the file.</li>
<li>From cursor: Select this if you want to perform the search from the current 
cursor position to the end of the file.</li>
<li>Search forwards: self explanatory.</li>
<li>Search backwards: self explanatory.</li>
</ul></p>
<p><li>Search in multiple files: Select this if you want the search to be performed 
in multiple files. The results will be shown in the Message Window, and if you 
click in one of the results the file will be opened in the Code Editor Window, 
and the searched text will be highlighted. You can especify 3 options for this 
kind of search:</li>
<ul>
<li>All Sources: Select this if you want to perform the search in all the files 
in the Sources Tree</li>
<li>All Headers: Select this if you want to perform the search in all the files 
in the Headers Tree</li>
<li>All Others: Select this if you want to perform the search in all the files 
in the Others Tree</li>
</ul></p>
<p><li>Case sensitive search: Select this option if you want the search to be 
case-sensitive.</li></p>
</ul>
<p>The default search is a case-insensitive search performed in the current file, 
from the beginning of the file.</p>

<p>There is a fast search entry in the tools bar. To use it select the text you want to search for in the current file and press Control+F3, or  write it in the entry. Press F3 to do a forward search in the current file, and Shift+F3 to  do a backward search.</p>
</body>
</html>