Skip to content

Commit

Permalink
renames of AddText -> Prompt and remove ge.Indent in jump to line
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Feb 26, 2024
1 parent fdece69 commit e25dd81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion code/codev/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Check failure on line 123 in code/codev/editor.go

View workflow job for this annotation

GitHub Actions / build

tv.QReplacePrompt undefined (type *code.TextEditor has no field or method QReplacePrompt)
}

//////////////////////////////////////////////////////////////////////////////////////
Expand Down
3 changes: 1 addition & 2 deletions code/codev/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,8 @@ func (ge *CodeView) CodeViewKeys(kt events.Event) {
kt.SetHandled()
tv := ge.ActiveTextEditor()
if tv != nil {
tv.JumpToLineAddText()
tv.JumpToLinePrompt()

Check failure on line 140 in code/codev/events.go

View workflow job for this annotation

GitHub Actions / build

tv.JumpToLinePrompt undefined (type *code.TextEditor has no field or method JumpToLinePrompt)
}
ge.Indent()
case code.KeyFunSetSplit:
kt.SetHandled()
ge.CallSplitsSetView(atv)
Expand Down

0 comments on commit e25dd81

Please sign in to comment.