Start moves the viewport to the start of the buffer
()
| 1685 | |
| 1686 | // Start moves the viewport to the start of the buffer |
| 1687 | func (h *BufPane) Start() bool { |
| 1688 | v := h.GetView() |
| 1689 | v.StartLine = display.SLoc{0, 0} |
| 1690 | h.SetView(v) |
| 1691 | return true |
| 1692 | } |
| 1693 | |
| 1694 | // End moves the viewport to the end of the buffer |
| 1695 | func (h *BufPane) End() bool { |
no test coverage detected