Skip to content

Splash 0.2.0

Compare
Choose a tag to compare
@JohnSundell JohnSundell released this 09 Mar 22:13
· 84 commits to master since this release
e4718f3

Splash now uses Swift 4.2. Keep using older versions for Swift 4.1 support.

Splash:

  • Added support for the inout, continue, fallthrough, indirect, deinit, is, while and repeat keywords (thanks @marcocapano!)
  • Added support for custom token types.
  • SwiftGrammar can now more easily be extended.
  • .init() is no longer treated as an enum.
  • Keywords used as function names are no longer treated as keywords.
  • Highlighting is now correct for types conforming to multiple protocols.
  • Associated types are now correctly highlighted.
  • Setters with an explicit access level are now highlighted as keywords.
  • The XCTAssert family of functions are now highlighted as functions, rather than types.
  • switch statements using nil pattern matching are now correctly highlighted.
  • Functions using argument pre-processors are now correctly highlighted.
  • Bool values passed to arguments without an external parameter label are now correctly highlighted.

SplashImageGen:

  • Added support for specifying a background color (thanks @MaciejGad!)