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