File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
// TODO: docstrings
3
3
4
4
import { forLines } from "./scopes"
5
- import { TextEditor } from "atom"
5
+ import { TextEditor , Selection } from "atom"
6
6
7
7
export function getLine ( editor : TextEditor , l ) {
8
8
return {
@@ -86,7 +86,7 @@ function getRange(editor: TextEditor, row) {
86
86
}
87
87
}
88
88
89
- function getSelection ( editor : TextEditor , selection ) {
89
+ function getSelection ( editor : TextEditor , selection : Selection ) {
90
90
const { start, end } = selection . getBufferRange ( )
91
91
const range = [
92
92
[ start . row , start . column ] ,
@@ -103,7 +103,7 @@ function getSelection(editor: TextEditor, selection) {
103
103
return range
104
104
}
105
105
106
- export function moveNext ( editor : TextEditor , selection , range ) {
106
+ export function moveNext ( editor : TextEditor , selection : Selection , range ) {
107
107
// Ensure enough room at the end of the buffer
108
108
const row = range [ 1 ] [ 0 ]
109
109
let last
You can’t perform that action at this time.
0 commit comments