Find next and prev

This commit is contained in:
Zachary Yedidia
2019-01-03 15:35:24 -05:00
parent e63a3c8917
commit a8433badca
2 changed files with 49 additions and 2 deletions

View File

@@ -87,6 +87,9 @@ type BufHandler struct {
doubleClick bool
// Same here, just to keep track for mouse move events
tripleClick bool
// Last search stores the last successful search for FindNext and FindPrev
lastSearch string
}
func NewBufHandler(buf *buffer.Buffer, win display.Window) *BufHandler {