Skip to content

Splash 0.8.0

Compare
Choose a tag to compare
@JohnSundell JohnSundell released this 08 Aug 08:41
· 44 commits to master since this release
91adf93

New APIs

  • Grammar now has a method called isDelimiter(mergableWith:), which is optional to adopt, and allows each grammar to tweak whether two delimiters should be merged into a single token when evaluated.

Fixes

  • The convenience keyword is now supported.
  • MarkdownDecorator no longer hard-codes line breaks within the HTML code blocks that it generates (which is also true for the splashmarkdown command line tool, since it uses that same decoration code).
  • APIs called using dot syntax are now only highlighted as dotAccess when there are no associated values or parameters passed. So .someCase will be highlighted as dotAccess, while .someCall() won't. This is to make static APIs called using dot access highlighted in a more accurate way.
  • Highlighting for strings containing interpolation has now been made a lot more robust, especially for strings that contain punctuation and other delimiter-like characters.
  • Fixed a bug that could cause a type following a comment ending with a punctuation character to not be highlighted correctly.
  • Comments that start with a delimiter are now highlighted correctly.