diff --git a/code/codev/editor.go b/code/codev/editor.go index 75ab0099..0ed174ec 100644 --- a/code/codev/editor.go +++ b/code/codev/editor.go @@ -120,7 +120,7 @@ func (ge *CodeView) LookupFun(data any, text string, posLn, posCh int) (ld compl // ReplaceInActive does query-replace in active file only func (ge *CodeView) ReplaceInActive() { //gti:add tv := ge.ActiveTextEditor() - tv.QReplaceAddText() + tv.QReplacePrompt() } ////////////////////////////////////////////////////////////////////////////////////// diff --git a/code/codev/events.go b/code/codev/events.go index d8784249..33cfb4f9 100644 --- a/code/codev/events.go +++ b/code/codev/events.go @@ -137,9 +137,8 @@ func (ge *CodeView) CodeViewKeys(kt events.Event) { kt.SetHandled() tv := ge.ActiveTextEditor() if tv != nil { - tv.JumpToLineAddText() + tv.JumpToLinePrompt() } - ge.Indent() case code.KeyFunSetSplit: kt.SetHandled() ge.CallSplitsSetView(atv)