jumpToLine jumps to given line number (minus 1)
(ln int)
| 723 | |
| 724 | // jumpToLine jumps to given line number (minus 1) |
| 725 | func (ed *Editor) jumpToLine(ln int) { |
| 726 | ed.SetCursorShow(lexer.Pos{Ln: ln - 1}) |
| 727 | ed.savePosHistory(ed.CursorPos) |
| 728 | ed.NeedsLayout() |
| 729 | } |
| 730 | |
| 731 | // findNextLink finds next link after given position, returns false if no such links |
| 732 | func (ed *Editor) findNextLink(pos lexer.Pos) (lexer.Pos, text.Region, bool) { |
no test coverage detected