mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-16 05:47:06 +09:00
make undothresthold a setting
This commit is contained in:
@@ -17,10 +17,14 @@ import (
|
||||
)
|
||||
|
||||
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
|
||||
// How many lines up to look to do syntax highlighting
|
||||
synLinesUp = 75
|
||||
// How many lines down to look to do syntax highlighting
|
||||
synLinesDown = 75
|
||||
// How many milliseconds to wait before a second click is not a double click
|
||||
doubleClickThreshold = 400
|
||||
// If two events are less than n milliseconds apart, undo both of them
|
||||
undoThreshold = int(settings["undothreshold"].(float64))
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user