Fix typos in README
tmTheme
Includes:
Theme
Codable
NSAttributedString
Scope
Context
ScopeSelector
matchAndRemoveFirst
matchAndRemoveLeading
main
left
ScopeName
For example usage:
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
TooMuchTheme
tmTheme
support library for SwiftIncludes:
Theme
typeCodable
to/fromtmTheme
formatNSAttributedString
attributes from a givenTheme
andScope
orContext
ScopeSelector
typeCodable
to/from string formatScope
andContext
matchingScope
andContext
typesScope
is a list of scope names, which emulates a TextMate scope (grammar derivation)Codable
to/from space-separated scope names stringmatchAndRemoveFirst
) and transitive (matchAndRemoveLeading
) scope name matchingContext
models a text editing selection, and is eitherScope
(main
), orScope
s, one to the left of the text cursor (left
) and one to the right (main
)ScopeName
typeCodable
to/from dot-separated components stringFor example usage: