End moves the cursor to the end of the line it is on
()
| 137 | |
| 138 | // End moves the cursor to the end of the line it is on |
| 139 | func (c *Cursor) End() { |
| 140 | c.X = util.CharacterCount(c.buf.LineBytes(c.Y)) |
| 141 | c.StoreVisualX() |
| 142 | } |
| 143 | |
| 144 | // CopySelection copies the user's selection to either "primary" |
| 145 | // or "clipboard" |
no test coverage detected