]> git.lyx.org Git - lyx.git/blob - development/autotests/findadv-combined-in.txt
keytests: rewritten testcases to use the new searching engine searchPatterns.pl
[lyx.git] / development / autotests / findadv-combined-in.txt
1 # Finding special latex/regexp chars: \
2 UseShortcut "C-F20" "regexp-mode"
3 UseShortcut "C-F21" "command-sequence dialog-show findreplaceadv ; buffer-end ; buffer-begin-select ; char-delete-forward ;"
4 PrepareShortcuts
5 #
6 Lang sk_SK.utf8
7 CO: findadv-combined.ctrl
8 TestBegin test.lyx -dbg key,find > findadv-combined.loga.txt 2>&1
9 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
10 # String to be checked
11 KK: \\()[]{}%^#@?*.\[Return]
12 KK: \\()[]{}%^#@?*.\[Return]
13 KK: \\()[]{}%^#@?*.\[Return]
14 KK: \\()[]{}%^#@?*.\[Return]
15 KK: \\()[]{}%^#@?*.\[Return]
16 KK: \\()[]{}%^#@?*.\[Return]
17 KK: \\()[]{}%^#@?*.\[Return]
18 KK: \\()[]{}%^#@?*.\[Return]
19 KK: \Cs
20
21 #
22 # First tests with ignore format set
23 # The tests are not separated by \[Home] in order to
24 # be found at possibly different inset
25 #
26
27 #
28 KK: \[Escape]\C\[Home]
29 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
30 CN: Part 001
31 KK: \C\[F21]\C\[F20]\\@\[Return]
32 CP: Escaped : '\@'
33 CR: [pP]utting selection at .*idx: 0 par: 0 pos: 10\n with len: 1
34 #
35 CN: Part 002
36 KK: \C\[F21]\C\[F20]\\(\[Return]
37 CP: Escaped : '\('
38 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
39 #
40 CN: Part 003
41 KK: \C\[F21]\C\[F20]\\)\[Return]
42 CP: Escaped : '\)'
43 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
44 #
45 CN: Part 004
46 KK: \C\[F21]\C\[F20]\\\\\[Return]
47 CP: Escaping: '\backslash\backslash'
48 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
49 #
50 CN: Part 005
51 KK: \C\[F21]\C\[F20]%\[Return]
52 CP: Escaped : '%'
53 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
54 #
55 CN: Part 006
56 KK: \C\[F21]\C\[F20]\\^\[Return]
57 CP: Escaped : '\^'
58 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
59 #
60 CN: Part 007
61 KK: \C\[F21]\C\[F20]\\[\[Return]
62 CP: Escaped : '\['
63 CP: Putting selection at .*idx: 0 par: 3 pos: 3\n with len: 1
64 #
65 CN: Part 008
66 KK: \C\[F21]\C\[F20]\\]\[Return]
67 CP: Escaped : '\]'
68 CP: Putting selection at .*idx: 0 par: 3 pos: 4\n with len: 1
69 #
70 CN: Part 009
71 KK: \C\[F21]\C\[F20]\\{\[Return]
72 CP: Escaping: '\backslash\{'
73 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
74 #
75 CN: Part 010
76 KK: \C\[F21]\C\[F20]\\}\[Return]
77 CP: Escaping: '\backslash\}'
78 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
79
80
81
82 CN: ..
83 CN: Now tests with unchecked ignore format
84 CN: ..
85 #
86 KK: \CF
87 # Uncheck ignore format
88 KK: \At\Ai\Ah
89 KK: \[Escape]\C\[Home]
90 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
91
92 #
93 CN: Part 101
94 KK: \C\[F21]\C\[F20]\\[\[Return]
95 CP: Escaped : '\['
96 CP: Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1
97 #
98 CN: Part 102
99 KK: \C\[F21]\C\[F20]\\(\[Return]
100 CP: Escaped : '\('
101 CP: Putting selection at .*idx: 0 par: 1 pos: 1\n with len: 1
102 #
103 CN: Part 103
104 KK: \C\[F21]\C\[F20]\\)\[Return]
105 CP: Escaped : '\)'
106 CP: Putting selection at .*idx: 0 par: 1 pos: 2\n with len: 1
107 #
108 CN: Part 104
109 KK: \C\[F21]\C\[F20]\\\\\[Return]
110 CP: Escaped : '\\'
111 CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 1
112 #
113 CN: Part 105
114 KK: \C\[F21]\C\[F20]%\[Return]
115 CP: Escaped : '%'
116 CP: Putting selection at .*idx: 0 par: 2 pos: 7\n with len: 1
117 #
118 CN: Part 105
119 KK: \C\[F21]\C\[F20]\\^\[Return]
120 CP: Escaped : '\^'
121 CP: Putting selection at .*idx: 0 par: 2 pos: 8\n with len: 1
122 #
123 CN: Part 106
124 KK: \C\[F21]\C\[F20]\\{\[Return]
125 CP: Escaping: '\backslash\{'
126 CP: Putting selection at .*idx: 0 par: 3 pos: 5\n with len: 1
127 #
128 CN: Part 107
129 KK: \C\[F21]\C\[F20]\\}\[Return]
130 CP: Escaping: '\backslash\}'
131 CP: Putting selection at .*idx: 0 par: 3 pos: 6\n with len: 1
132 #
133 CN: Part 108
134 KK: \C\[F21]\C\[F20]\\]\[Return]
135 CP: Escaped : '\]'
136 CP: Putting selection at .*idx: 0 par: 4 pos: 4\n with len: 1
137 #
138 CN: Part 109
139 KK: \C\[F21]\C\[F20]\\@\[Return]
140 CP: Escaped : '\@'
141 CP: Putting selection at .*idx: 0 par: 4 pos: 10\n with len: 1
142
143 #
144 TestEnd
145 Lang C
146 Assert searchPatterns.pl base=findadv-combined