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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
|
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>highlight.dox</title>
<meta name="generator" content="KF5::SyntaxHighlighting - Definition (Doxygen) - Theme (Breeze Light)"/>
</head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
This is a pseudo doxygen file to test Kate's doxygen syntax highlighting.
Normal text, no HL.
===================
a multiline comment may begin with a <span style="color:#898887">/*! */</span>, too. That should work,
because it is the same "entrance rule".
popping tests:
<span style="color:#898887">/** multiline */</span> end of doxygen HL mode
<span style="color:#898887">/*! multiline */</span> end of doxygen HL mode
<span style="color:#898887">//! singleline, where */ should be ignored! still doxygen HL mode</span>
<span style="color:#898887">/// singleline, where */ should be ignored! still doxygen HL mode</span>
<span style="color:#898887">///< singleline, where */ should be ignored! still doxygen HL mode</span>
begin and end immediately:
/********/ actually no doxygen comment - used for "info boxes" :)
/**/ <-- it really works --- end of doxygen HL mode
<span style="color:#898887">/*!*/</span> end of doxygen HL mode
<tag> <normal comment HL>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest of line is normal comment HL </span><span style="color:#bf0303;text-decoration:underline">*/</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest of line is normal comment HL</span>
<span style="color:#898887"> *</span><span style="color:#898887"> comment HL mode</span>
<span style="color:#898887"> </span><span style="color:#bf0303;text-decoration:underline">*/</span> end of doxygen HL mode
<tag> <word> <normal comment HL>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal comment HL */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> */</span>aword <-- pop! no doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal comment HL</span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <rest of line is string>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short description */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> */</span>A <-- pop! end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short description </span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <word> <rest of line is string>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is string */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> */</span>aword <-- pop! end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is string </span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <word> <word> <normal comment HL>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal HL */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> */</span>aword <-- pop! end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> */</span>aword aword <-- pop! end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal HL</span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
Tests for HTML tags in doxygen HL mode:
=======================================
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="color:#898887">*/</span>> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb</span><span style="color:#898887">*/</span>'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blub</span><span style="color:#898887">*/</span>b'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'b</span><span style="color:#898887">*/</span>lubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'</span><span style="color:#898887">*/</span>blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>'blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> hre</span><span style="color:#898887">*/</span>f='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> </span><span style="color:#898887">*/</span>href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#898887">*/</span>> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb</span><span style="color:#898887">*/</span>"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blub</span><span style="color:#898887">*/</span>b"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"</span><span style="color:#898887">*/</span>blubb"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>"blubb"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>="blubb"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> h</span><span style="color:#898887">*/</span>ref="blubb"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> </span><span style="color:#898887">*/</span>href="blubb"> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="font-weight:bold"><a</span><span style="color:#898887">*/</span> href="blubb"> end of doxygen HL mode
<span style="color:#898887">/** <*/</span>a href="blubb"> end of doxygen HL mode
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> */ stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="color:#006e28">*</span><span style="font-weight:bold">/></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb*/'</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blu*/bb'</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'*/blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28"> href=*/</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> */ stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#006e28">*</span><span style="font-weight:bold">/></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb*/"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blub*/b"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"*/blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=*/</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href*/=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> h*/ref=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> */href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28">*/ href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL mode</span>
<span style="color:#898887">//! <*/a href="blubb"> stay in doygen HL mode</span>
<span style="color:#898887">//! </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> stay in doygen HL </span><span style="font-weight:bold"><mode</span>
here should be normal HL mode (no doxygen!)
Tests for HTML tags in doxygen HL mode with tags:
=================================================
<tag> <normal comment HL>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb"> of </a href='blubb'> line is normal comment HL </span><span style="color:#bf0303;text-decoration:underline">*/</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb"> of </a href='blubb'</span><span style="color:#bf0303;text-decoration:underline">*/</span>> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb"> of </a href='blubb</span><span style="color:#bf0303;text-decoration:underline">*/</span>'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb"> of </a href='</span><span style="color:#bf0303;text-decoration:underline">*/</span>blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb"> of </a href=</span><span style="color:#bf0303;text-decoration:underline">*/</span>'blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href="blubb</span><span style="color:#bf0303;text-decoration:underline">*/</span>"> of </a href=*/'blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a href=</span><span style="color:#bf0303;text-decoration:underline">*/</span>"blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <a h</span><span style="color:#bf0303;text-decoration:underline">*/</span>ref="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest <</span><span style="color:#bf0303;text-decoration:underline">*/</span>a href="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> rest of line is normal comment HL</span>
<span style="color:#898887"> *</span><span style="color:#898887"> comment HL mode <html> text </html></span>
<span style="color:#898887"> </span><span style="color:#bf0303;text-decoration:underline">*/</span> end of doxygen HL mode
<tag> <word> <normal comment HL>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awo<html_should_be_ignored_here>rd</span><span style="color:#898887"> rest of line is normal comment HL */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awo<html_should_be_ignored_here></span><span style="color:#898887">*/</span>rd end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awo<html_should_be_i</span><span style="color:#898887">*/</span>gnored_here>rd end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awo<</span><span style="color:#898887">*/</span>html_should_be_ignored_here>rd end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">a</span><span style="color:#898887">*/</span>wo<html_should_be_ignored_here>rd end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal co</span><span style="font-weight:bold"><code></span><span style="color:#898887">mment HL</span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <rest of line is string>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> description */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="color:#898887">*/</span>> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'</span><span style="color:#898887">*/</span>blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>'blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> </span><span style="color:#898887">*/</span>href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of <*/</span>/a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#898887">*/</span>> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb</span><span style="color:#898887">*/</span>"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"</span><span style="color:#898887">*/</span>blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>"blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> h</span><span style="color:#898887">*/</span>ref="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> description </span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <word> <rest of line is string>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> description */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="color:#898887">*/</span>> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'</span><span style="color:#898887">*/</span>blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>'blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> </span><span style="color:#898887">*/</span>href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of <*/</span>/a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="color:#898887">*/</span>> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb</span><span style="color:#898887">*/</span>"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"</span><span style="color:#898887">*/</span>blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#898887">*/</span>"blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href</span><span style="color:#898887">*/</span>="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> h</span><span style="color:#898887">*/</span>ref="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short <*/</span>a href="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A shor*/</span>t <a href="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awor</span><span style="color:#898887">*/</span>d A short <a href="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> */</span>aword A short <a href="blubb"> of </a href='blubb'> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\page</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> A short </span><span style="font-weight:bold"><a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">"blubb"</span><span style="font-weight:bold">></span><span style="color:#898887"> of </span><span style="font-weight:bold"></a</span><span style="color:#006e28"> href=</span><span style="color:#0057ae">'blubb'</span><span style="font-weight:bold">></span><span style="color:#898887"> description </span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
<tag> <word> <word> <rest of line is string>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal HL */</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is*/</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887">*/</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aw</span><span style="color:#898887">*/</span>ord end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> */</span>aword end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887">*/</span> end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">awo</span><span style="color:#898887">*/</span>rd end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> */</span>aword end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca">\ima</span><span style="color:#898887">*/</span>ge end of doxygen HL mode
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> rest of line is normal HL</span>
<span style="color:#898887"> * comment HL mode</span>
<span style="color:#898887"> */</span> end of doxygen HL mode
Some further tests for singlelinecomments (* / should not pop!)
===============================================================
<span style="color:#898887">/// a singlelinecommment blubb blubb */. stay in doxygen HL mode</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> a singlelinecommment blubb b*/lubb. stay in doxygen HL mode</span>
end of doxygen HL mode
<span style="color:#898887">/// </span><span style="color:#bf0303;text-decoration:underline">\endcode</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887">*/ a singlelinecommment blubb blubb. stay in doxygen HL mode</span>
end of doxygen HL mode
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\code</span><span style="color:#898887"> a multilinecommment blubb blubb</span>
<span style="color:#898887">///</span><span style="color:#898887"> blubb blubb</span>
<span style="color:#898887">///</span><span style="color:#898887"> </span><span style="color:#ca60ca;font-weight:bold">\endcode</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> a descriptive text (string) stay in doxygen HL mode</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> a descriptive text (string)*/ description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> a descriptive text */(string) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> */a descriptive text (string) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> a descriptive text (string) */ description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> a descriptive text (str*/ing) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword</span><span style="color:#898887"> a des*/criptive text (string) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aword*/</span><span style="color:#898887"> a descriptive text (string) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">aw*/ord</span><span style="color:#898887"> a descriptive text (string) description should go on here</span>
<span style="color:#898887">/// </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">*/aword</span><span style="color:#898887"> a descriptive text (string) description should go on here</span>
HTML comment tests:
===================
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word</span><span style="color:#898887"> de</span><span style="color:#898887"><!--*/ --></span><span style="color:#898887">scriptive text (string)</span>
normal HL mode.
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">w</span><span style="color:#898887"> descriptive text (string)</span>
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word</span><span style="color:#898887"> de</span><span style="color:#898887"><!--</span><span style="color:#898887">*/</span> -->scriptive text (string)
normal HL mode.
<span style="color:#898887">/** </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">w</span><span style="color:#898887"> </span><span style="color:#898887"><!--</span>
<span style="color:#898887"> * HTML comments</span>
<span style="color:#898887"> * --></span>
<span style="color:#898887"> * normal doxygen HL mode.</span>
<span style="color:#898887"> */</span>
And final tests for a word: a single char:
===========================================
<tag> <word> <rest of line as string>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word</span><span style="color:#898887"> descriptive text (string)</span>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\ref</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">w</span><span style="color:#898887"> descriptive text (string)</span>
<tag> <word> <word> <rest is normal HL>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word1</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word2</span><span style="color:#898887"> b descriptive text (string)</span>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\image</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">a</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word</span><span style="color:#898887"> b descriptive text (string)</span>
<tag> <rest of line is string>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\brief</span><span style="color:#898887"> A b c d e description should go on here</span>
<tag> <word> <rest of line is normal doxygen HL mode>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">word</span><span style="color:#898887"> rest of line is normal comment HL</span>
<span style="color:#898887">//! </span><span style="color:#ca60ca;font-weight:bold">\file</span><span style="color:#898887"> </span><span style="color:#0095ff;font-weight:bold">a</span><span style="color:#898887"> word rest of line is normal comment HL</span>
no doxygen HL mode here.
== END OF TESTFILE ==
</pre></body></html>
|