SelectToEndOfLine selects to the end of the current line
()
| 538 | |
| 539 | // SelectToEndOfLine selects to the end of the current line |
| 540 | func (h *BufPane) SelectToEndOfLine() bool { |
| 541 | if !h.Cursor.HasSelection() { |
| 542 | h.Cursor.OrigSelection[0] = h.Cursor.Loc |
| 543 | } |
| 544 | h.Cursor.End() |
| 545 | h.Cursor.SelectTo(h.Cursor.Loc) |
| 546 | h.Relocate() |
| 547 | return true |
| 548 | } |
| 549 | |
| 550 | func (h *BufPane) paragraphPrevious() { |
| 551 | var line int |
nothing calls this directly
no test coverage detected