diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2012-03-20 01:20:52 +0100 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2012-03-20 01:20:52 +0100 |
commit | c7d852558302c5c4abc2eadacf42d51d5050c7f2 (patch) | |
tree | f39882e67e3eb443bade2b2fb13a76d2141108d4 /test/scaladoc/resources | |
parent | bc7bf663f2df564805fa5121de7b0006cf2149f2 (diff) | |
download | scala-c7d852558302c5c4abc2eadacf42d51d5050c7f2.tar.gz scala-c7d852558302c5c4abc2eadacf42d51d5050c7f2.tar.bz2 scala-c7d852558302c5c4abc2eadacf42d51d5050c7f2.zip |
Adapted indentation in scaladoc code blocks
and fixed a pesky crash in the syntax highlighting caused by invalid
chars (0x0E) in MarkupParser.scala.
Diffstat (limited to 'test/scaladoc/resources')
-rw-r--r-- | test/scaladoc/resources/code-indent.scala | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/scaladoc/resources/code-indent.scala b/test/scaladoc/resources/code-indent.scala new file mode 100644 index 0000000000..88946ffc7f --- /dev/null +++ b/test/scaladoc/resources/code-indent.scala @@ -0,0 +1,37 @@ +/** + * This is an example of indented comments: + * {{{ + * a typicial indented + * comment on multiple + * comment lines + * }}} + * {{{ one liner }}} + * {{{ two lines, one useful + * }}} + * {{{ + * line1 + * line2 + * line3 + * line4}}} + * {{{ + * a ragged example + * a (condition) + * the t h e n branch + * an alternative + * the e l s e branch + * }}} + * NB: Trailing spaces are necessary for this test! + * {{{ + * l1 + * + * l2 + * + * l3 + * + * l4 + * + * l5 + * }}} + + */ +class C |