mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
There is a bit of mess in the usage of HighlightMatches: in some places we assume that it updates lines from startline to endline inclusive, in other places we assume it's non-inclusive. This fix makes it always inclusive. In particular, it fixes a bug: when we open a file which has no newline at the end, the last line isn't highlighted. |
||
|---|---|---|
| .. | ||
| ftdetect.go | ||
| highlighter.go | ||
| parser.go | ||