From 50e22dafc4bb1aca81def2f762f513afdd0e227d Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Sun, 10 Jul 2016 13:27:28 -0400 Subject: [PATCH] Add some lines back --- cmd/micro/micro.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmd/micro/micro.go b/cmd/micro/micro.go index 80c4db39..7df51480 100644 --- a/cmd/micro/micro.go +++ b/cmd/micro/micro.go @@ -17,6 +17,13 @@ import ( "github.com/zyedidia/tcell/encoding" ) +const ( + synLinesUp = 75 // How many lines up to look to do syntax highlighting + synLinesDown = 75 // How many lines down to look to do syntax highlighting + doubleClickThreshold = 400 // How many milliseconds to wait before a second click is not a double click + undoThreshold = 500 // If two events are less than n milliseconds apart, undo both of them +) + var ( // The main screen screen tcell.Screen