Fix typos in README
tmTheme
Includes:
Theme
Codable
NSAttributedString
Scope
Context
ScopeSelector
matchAndRemoveFirst
matchAndRemoveLeading
main
left
ScopeName
For example usage:
TooMuchTheme
tmThemesupport library for SwiftIncludes:
ThemetypeCodableto/fromtmThemeformatNSAttributedStringattributes from a givenThemeandScopeorContextScopeSelectortypeCodableto/from string formatScopeandContextmatchingScopeandContexttypesScopeis a list of scope names, which emulates a TextMate scope (grammar derivation)Codableto/from space-separated scope names stringmatchAndRemoveFirst) and transitive (matchAndRemoveLeading) scope name matchingContextmodels a text editing selection, and is eitherScope(main), orScopes, one to the left of the text cursor (left) and one to the right (main)ScopeNametypeCodableto/from dot-separated components stringFor example usage: