240 lines
45 KiB
HTML
240 lines
45 KiB
HTML
<!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>
|