Commit 6758afa
committed
(maint) Fix parsing at beginning of a document
Previously the parser helper was silently failing to parse documents
that had the cursor at line 0, char 0. This was due to the
removal based methods trying to remove characters at the beginning
of the document. This commit modifies the helper to ignore these
parsing attempts if the cursor is at line 0, char 0.1 parent 8e3dc41 commit 6758afa
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments