mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Rename to incsearch
This commit is contained in:
@@ -848,7 +848,7 @@ func (h *BufPane) find(useRegex bool) bool {
|
||||
prompt = "Find (regex): "
|
||||
}
|
||||
var eventCallback func(resp string)
|
||||
if h.Buf.Settings["findontype"].(bool) {
|
||||
if h.Buf.Settings["incsearch"].(bool) {
|
||||
eventCallback = func(resp string) {
|
||||
match, found, _ := h.Buf.FindNext(resp, h.Buf.Start(), h.Buf.End(), h.searchOrig, true, useRegex)
|
||||
if found {
|
||||
|
||||
@@ -269,7 +269,7 @@ var defaultCommonSettings = map[string]interface{}{
|
||||
"fastdirty": false,
|
||||
"fileformat": "unix",
|
||||
"filetype": "unknown",
|
||||
"findontype": true,
|
||||
"incsearch": true,
|
||||
"ignorecase": true,
|
||||
"indentchar": " ",
|
||||
"keepautoindent": false,
|
||||
|
||||
Reference in New Issue
Block a user