Add syntax flags and fix a couple highlighting bugs

This commit is contained in:
Zachary Yedidia
2016-03-21 14:48:17 -04:00
parent 96254717c6
commit b8f6850c58
50 changed files with 204 additions and 185 deletions

View File

@@ -342,6 +342,8 @@ func (v *View) Display() {
st, ok := v.matches[charNum]
if ok {
highlightStyle = st
} else {
highlightStyle = tcell.StyleDefault
}
if v.cursor.HasSelection() &&