Skip to content

Commit 43dcf86

Browse files
committed
Fix eval code + excetpion handling
1 parent fbecbd4 commit 43dcf86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def handle_exception(msg):
234234
region = None
235235
if get("root-ex-data"):
236236
text += " " + get("root-ex-data")
237-
if get("line") and get("column"):
237+
if get("line") and get("column") and eval.view:
238238
line = get("line")
239239
column = get("column")
240240
point = eval.view.text_point_utf16(line - 1, column - 1, clamp_column = True)

0 commit comments

Comments
 (0)