You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot read property "split" of undefined, when pressing TAB #10754
changed the title [-]Cannot ready property "split" of undefined, when pressing TAB[/-][+]Cannot read property "split" of undefined, when pressing TAB[/+]on Aug 21, 2016
Activity
[-]Cannot ready property "split" of undefined, when pressing TAB[/-][+]Cannot read property "split" of undefined, when pressing TAB[/+]alexdima commentedon Aug 22, 2016
Looks like it occurs in emmet's editorAccessor, which calls
getModeIdAtPosition, that apparently returns null.ramamurthynagaraj commentedon Aug 22, 2016
alexandrudima , created a PR for this issue.
The issue can also be fixed by removing the optimization at https://github.com/Microsoft/vscode/blob/master/src/vs/editor/common/model/textModelWithTokens.ts#L495 which checks just the first element to be ModeTransition, but other elements are not. Let me know if this fix makes more sense than the PR I submitted, so that I can provide a PR for that as well.