(count)
| 203 | } |
| 204 | |
| 205 | selectLine(count) { |
| 206 | // Even under caret mode, we still need an extended selection here. |
| 207 | this.alterMethod = "extend"; |
| 208 | if (this.getDirection() === forward) this.reverseSelection(); |
| 209 | this.runMovement(backward, lineboundary); |
| 210 | this.reverseSelection(); |
| 211 | for (let i = 1, end = count; i < end; i++) this.runMovement(forward, line); |
| 212 | this.runMovement(forward, lineboundary); |
| 213 | // Include the next character if that character is a newline. |
| 214 | if (this.getNextForwardCharacter() === "\n") return this.runMovement(forward, character); |
| 215 | } |
| 216 | |
| 217 | // Scroll the focus into view. |
| 218 | scrollIntoView() { |
no test coverage detected