1 # Finding special latex/regexp chars: \
4 TestBegin test.lyx -dbg key,find > findadv-combined.loga.txt 2>&1
5 CO: findadv-combined.ctrl
6 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
8 KK: \\()[]{}%^#@?*.\[Return]
9 KK: \\()[]{}%^#@?*.\[Return]
10 KK: \\()[]{}%^#@?*.\[Return]
11 KK: \\()[]{}%^#@?*.\[Return]
12 KK: \\()[]{}%^#@?*.\[Return]
13 KK: \\()[]{}%^#@?*.\[Return]
14 KK: \\()[]{}%^#@?*.\[Return]
15 KK: \\()[]{}%^#@?*.\[Return]
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
25 KK: \[Escape]\C\[Home]
26 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
30 KK: \Axregexp-mode\[Return]\\@\[Return]
33 CR: [pP]utting selection at .*idx: 0 par: 0 pos: 10\n with len: 1
38 KK: \Axregexp-mode\[Return]\\(\[Return]
41 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
46 KK: \Axregexp-mode\[Return]\\)\[Return]
49 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
51 CN: Searching for '\\'
54 KK: \Axregexp-mode\[Return]\\\\\[Return]
56 CP: Escaping: '\backslash\backslash'
57 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
62 KK: \Axregexp-mode\[Return]%\[Return]
65 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
70 KK: \Axregexp-mode\[Return]\\^\[Return]
73 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
78 KK: \Axregexp-mode\[Return]\\[\[Return]
81 CP: Putting selection at .*idx: 0 par: 3 pos: 3\n with len: 1
86 KK: \Axregexp-mode\[Return]\\]\[Return]
89 CP: Putting selection at .*idx: 0 par: 3 pos: 4\n with len: 1
94 KK: \Axregexp-mode\[Return]\\{\[Return]
96 CP: Escaping: '\backslash\{'
97 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
102 KK: \Axregexp-mode\[Return]\\}\[Return]
104 CP: Escaping: '\backslash\}'
105 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
110 CN: Now tests with unchecked ignore format
114 # Uncheck ignore format
116 KK: \[Escape]\C\[Home]
117 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
120 CN: Searching for '['
123 KK: \Axregexp-mode\[Return]\\[\[Return]
126 CP: Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1
128 CN: Searching for '('
131 KK: \Axregexp-mode\[Return]\\(\[Return]
134 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
136 CN: Searching for ')'
139 KK: \Axregexp-mode\[Return]\\)\[Return]
142 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
144 CN: Searching for '\\'
147 KK: \Axregexp-mode\[Return]\\\\\[Return]
150 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
152 CN: Searching for '%'
155 KK: \Axregexp-mode\[Return]%\[Return]
158 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
160 CN: Searching for '^'
163 # Uncheck ignore format
164 KK: \Axregexp-mode\[Return]\\^\[Return]
167 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
169 CN: Searching for '{'
172 KK: \Axregexp-mode\[Return]\\{\[Return]
174 CP: Escaping: '\backslash\{'
175 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
177 CN: Searching for '}'
180 KK: \Axregexp-mode\[Return]\\}\[Return]
182 CP: Escaping: '\backslash\}'
183 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
185 CN: Searching for ']'
188 KK: \Axregexp-mode\[Return]\\]\[Return]
191 CP: Putting selection at .*idx: 0 par: 4 pos: 4\n with len: 1
193 CN: Searching for '@'
196 KK: \Axregexp-mode\[Return]\\@\[Return]
199 CP: Putting selection at .*idx: 0 par: 4 pos: 10\n with len: 1
204 Assert searchPatterns.pl log=findadv-combined.loga.txt patterns=findadv-combined.ctrl