invalidate layout display after block range updates to persist HR rendering
This commit is contained in:
parent
a72578cce8
commit
4ae9409eff
|
|
@ -1142,6 +1142,9 @@ func updateBlockRanges(for textView: NSTextView) {
|
||||||
}
|
}
|
||||||
|
|
||||||
lm.blockRanges = blocks
|
lm.blockRanges = blocks
|
||||||
|
|
||||||
|
let fullRange = NSRange(location: 0, length: text.length)
|
||||||
|
lm.invalidateDisplay(forCharacterRange: fullRange)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Syntax Highlighting
|
// MARK: - Syntax Highlighting
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue