(line int)
| 224 | } |
| 225 | |
| 226 | func (w *BufWindow) getRowCount(line int) int { |
| 227 | eol := buffer.Loc{X: util.CharacterCount(w.Buf.LineBytes(line)), Y: line} |
| 228 | return w.getVLocFromLoc(eol).Row + 1 |
| 229 | } |
| 230 | |
| 231 | func (w *BufWindow) scrollUp(s SLoc, n int) SLoc { |
| 232 | for n > 0 { |
no test coverage detected