processHighlighting(fullHighlight:)
func processHighlighting(fullHighlight: Bool)
Highlight text containing chords or directives
Parameters
fullHighlight
|
True if the full text must be checked, or else only the current paragraph |
-
Check if the range of a regex result is within the current paragraph
Declaration
Swift
func checkIntersection(_ nsRange: NSRange) -> Bool
Parameters
nsRange
The range of the regex result
Return Value
True if it is in its range, else false