]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-combined-in.txt
bad6acd606174d55912c8d1e91965db51e0dcd93
[lyx.git] / development / autotests / findadv-combined-in.txt
1 # Finding special latex/regexp chars: \
2 #
3 Lang sk_SK.utf8
4 TestBegin test.lyx -dbg key,find > findadv-combined.loga.txt 2>&1
5 CO: searchStrings
6 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
7 # String to be checked
8 KK: \\()[]{}%^#@?*.\[Return]
9 KK: \\()[]{}%^#@?*.\[Return]
10 KK: \\()[]{}%^#@?*.\[Return]
11 KK: \\()[]{}%^#@?*.\[Return]
12 KK: \\()[]{}%^#@?*.\[Return]
13 KK: \\()[]{}%^#@?*.\[Return]
14 KK: \\()[]{}%^#@?*.\[Return]
15 KK: \\()[]{}%^#@?*.\[Return]
16 KK: \Cs
17
18 #
19 # First tests with ignore format set
20 # The tests are not separated by \[Home] in order to
21 # be found at possibly different inset
22 #
23
24 #
25 KK: \[Escape]\C\[Home]
26 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
27 CN: Searching for '@'
28 KK: \CF
29 KK: \[Delete]
30 KK: \Axregexp-mode\[Return]\\@\[Return]
31 KK: \[Escape]
32 CP: Escaped : '\@'
33 CR: [pP]utting selection at .*idx: 0 par: 0 pos: 10\n with len: 1
34 #
35 CN: Searching for '('
36 KK: \CF
37 KK: \[Delete]
38 KK: \Axregexp-mode\[Return]\\(\[Return]
39 KK: \[Escape]
40 CP: Escaped : '\('
41 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
42 #
43 CN: Searching for ')'
44 KK: \CF
45 KK: \[Delete]
46 KK: \Axregexp-mode\[Return]\\)\[Return]
47 KK: \[Escape]
48 CP: Escaped : '\)'
49 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
50 #
51 CN: Searching for '\\'
52 KK: \CF
53 KK: \[Delete]
54 KK: \Axregexp-mode\[Return]\\\\\[Return]
55 KK: \[Escape]
56 CP: Escaping: '\backslash\backslash'
57 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
58 #
59 CN: Searching for '%'
60 KK: \CF
61 KK: \[Delete]
62 KK: \Axregexp-mode\[Return]%\[Return]
63 KK: \[Escape]
64 CP: Escaped : '%'
65 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
66 #
67 CN: Searching for '^'
68 KK: \CF
69 KK: \[Delete]
70 KK: \Axregexp-mode\[Return]\\^\[Return]
71 KK: \[Escape]
72 CP: Escaped : '\^'
73 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
74 #
75 CN: Searching for '['
76 KK: \CF
77 KK: \[Delete]
78 KK: \Axregexp-mode\[Return]\\[\[Return]
79 KK: \[Escape]
80 CP: Escaped : '\['
81 CP: Putting selection at .*idx: 0 par: 3 pos: 3\n with len: 1
82 #
83 CN: Searching for ']'
84 KK: \CF
85 KK: \[Delete]
86 KK: \Axregexp-mode\[Return]\\]\[Return]
87 KK: \[Escape]
88 CP: Escaped : '\]'
89 CP: Putting selection at .*idx: 0 par: 3 pos: 4\n with len: 1
90 #
91 CN: Searching for '{'
92 KK: \CF
93 KK: \[Delete]
94 KK: \Axregexp-mode\[Return]\\{\[Return]
95 KK: \[Escape]
96 CP: Escaping: '\backslash\{'
97 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
98 #
99 CN: Searching for '}'
100 KK: \CF
101 KK: \[Delete]
102 KK: \Axregexp-mode\[Return]\\}\[Return]
103 KK: \[Escape]
104 CP: Escaping: '\backslash\}'
105 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
106
107
108
109 CN: ..
110 CN: Now tests with unchecked ignore format
111 CN: ..
112 #
113 KK: \CF
114 # Uncheck ignore format
115 KK: \At\Ai\Ah
116 KK: \[Escape]\C\[Home]
117 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
118
119 #
120 CN: Searching for '['
121 KK: \CF
122 KK: \[Delete]
123 KK: \Axregexp-mode\[Return]\\[\[Return]
124 KK: \[Escape]
125 CP: Escaped : '\['
126 CP: Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1
127 #
128 CN: Searching for '('
129 KK: \CF
130 KK: \[Delete]
131 KK: \Axregexp-mode\[Return]\\(\[Return]
132 KK: \[Escape]
133 CP: Escaped : '\('
134 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
135 #
136 CN: Searching for ')'
137 KK: \CF
138 KK: \[Delete]
139 KK: \Axregexp-mode\[Return]\\)\[Return]
140 KK: \[Escape]
141 CP: Escaped : '\)'
142 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
143 #
144 CN: Searching for '\\'
145 KK: \CF
146 KK: \[Delete]
147 KK: \Axregexp-mode\[Return]\\\\\[Return]
148 KK: \[Escape]
149 CP: Escaped : '\\'
150 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
151 #
152 CN: Searching for '%'
153 KK: \CF
154 KK: \[Delete]
155 KK: \Axregexp-mode\[Return]%\[Return]
156 KK: \[Escape]
157 CP: Escaped : '%'
158 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
159 #
160 CN: Searching for '^'
161 KK: \CF
162 KK: \[Delete]
163 # Uncheck ignore format
164 KK: \Axregexp-mode\[Return]\\^\[Return]
165 KK: \[Escape]
166 CP: Escaped : '\^'
167 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
168 #
169 CN: Searching for '{'
170 KK: \CF
171 KK: \[Delete]
172 KK: \Axregexp-mode\[Return]\\{\[Return]
173 KK: \[Escape]
174 CP: Escaping: '\backslash\{'
175 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
176 #
177 CN: Searching for '}'
178 KK: \CF
179 KK: \[Delete]
180 KK: \Axregexp-mode\[Return]\\}\[Return]
181 KK: \[Escape]
182 CP: Escaping: '\backslash\}'
183 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
184 #
185 CN: Searching for ']'
186 KK: \CF
187 KK: \[Delete]
188 KK: \Axregexp-mode\[Return]\\]\[Return]
189 KK: \[Escape]
190 CP: Escaped : '\]'
191 CP: Putting selection at .*idx: 0 par: 4 pos: 4\n with len: 1
192 #
193 CN: Searching for '@'
194 KK: \CF
195 KK: \[Delete]
196 KK: \Axregexp-mode\[Return]\\@\[Return]
197 KK: \[Escape]
198 CP: Escaped : '\@'
199 CP: Putting selection at .*idx: 0 par: 4 pos: 10\n with len: 1
200
201 #
202 TestEnd
203 CC: 
204 Assert searchPatterns.pl log=findadv-combined.loga.txt patterns=searchStrings
205 #/usr2/src/lyx/lyx-git/development/autotests/searchPatterns.pl