Initial syntax highlighting

This commit is contained in:
Zachary Yedidia
2016-03-20 11:28:41 -04:00
parent d9856c7c1e
commit 068260157c
4 changed files with 131 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ func (sl *Statusline) Display() {
}
file += " (" + strconv.Itoa(sl.v.cursor.y+1) + "," + strconv.Itoa(sl.v.cursor.GetVisualX()+1) + ")"
statusLineStyle := tcell.StyleDefault.Background(tcell.ColorNavy).Foreground(tcell.ColorBlack)
statusLineStyle := tcell.StyleDefault.Reverse(true)
for x := 0; x < sl.v.width; x++ {
if x < Count(file) {