blob: 3e551f42c77756283097ba8f3462603051ca967a (
plain)
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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CodeMirror UI Find/Replace</title>
<link rel="stylesheet" href="../css/codemirror-ui-find.css" type="text/css" media="screen" />
<script src="codemirror-ui-find.js" type="text/javascript"></script>
</head>
<body>
<h3>Find/Replace</h3>
<form name="findReplaceForm">
<table>
<tr>
<td>Find</td>
<td><input id="find" type="text" value=""/></td>
</tr>
<tr>
<td>Replace</td>
<td><input id="replace" type="text" value=""/></td>
</tr>
<tr>
<td colspan="2">
<label>
<input type="radio" name="direction" value="forward" checked="checked"/>Forward
</label>
<label>
<input type="radio" name="direction" value="backward"/>Backward
</label>
<br/>
<label>
<input type="checkbox" id="wrap" value="true"/>Wrap Search
</label>
<br/>
<label>
<input type="checkbox" id="regex" value="true"/>Regex
</label>
</td>
</tr>
</table>
</form>
<table id="buttons">
<tr>
<td>
<a href="#" id="findButton">Find</a>
</td>
<td>
<a href="#" id="replaceFindButton">Replace/Find</a>
</td>
</tr>
<tr>
<td>
<a href="#" id="replaceButton">Replace</a>
</td>
<td>
<a href="#" id="replaceAllButton">Replace All</a>
</td>
</tr>
<tr>
<td colspan="2">
<a href="#" id="closeButton">Close</a>
</td>
</tr>
</table>
<script type="text/javascript">
setupFindReplace();
</script>
</body>
</html>
|