We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4848782 commit 5c3d05eCopy full SHA for 5c3d05e
lib_src/misc/cells.ts
@@ -98,8 +98,8 @@ function jlMoveNext(editor: TextEditor) {
98
])
99
}
100
101
-export function movePrev(editor: TextEditor) {
102
- if (editor == null) {
+export function movePrev(editor: TextEditor | undefined | null) {
+ if (!editor) {
103
editor = atom.workspace.getActiveTextEditor()
104
105
if (editor.getGrammar().scopeName.indexOf("source.weave") > -1) {
0 commit comments