Move moves a loc n characters
(n int, buf *Buffer)
| 132 | |
| 133 | // Move moves a loc n characters |
| 134 | func (l Loc) Move(n int, buf *Buffer) Loc { |
| 135 | return l.MoveLA(n, buf.LineArray) |
| 136 | } |
| 137 | |
| 138 | // ByteOffset is just like ToCharPos except it counts bytes instead of runes |
| 139 | func ByteOffset(pos Loc, buf *Buffer) int { |
no test coverage detected