Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_textSpanToRange is not a function/object doesn't support property or method #57

Closed
wiredprairie opened this issue Jul 11, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug typescript

Comments

@wiredprairie
Copy link

wiredprairie commented Jul 11, 2016

Steps to reproduce:

  1. Using the Demo web page, select TypeScript.
  2. Right click on a symbol such as GameOfLife and select Go to symbol.

In the console (or an alert box depending on the browser), the following crash will happen:

TypeError: this._textSpanToRange is not a function
    at t (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/language/typescript/src/mode.js:7:12226)
    at https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/language/typescript/src/mode.js:7:12443
    at Array.forEach (native)
    at https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/language/typescript/src/mode.js:7:12416
    at Object.g [as _notify] (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:4544)
    at Object.enter (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:8122)
    at _run (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:9950)
    at _completed (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:9391)
    at Object.g [as _notify] (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:4544)
    at Object.enter (https://microsoft.github.io/monaco-editor/node_modules/monaco-editor/min/vs/editor/editor.main.js:33:8122)

Locally, I'm using 0.5.1 of the editor, and this issue happens in Chrome, Edge, and IE. (I've not tested with FireFox).

@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Aug 15, 2016
@jrieken jrieken closed this as completed Aug 26, 2016
@jrieken
Copy link
Member

jrieken commented Aug 26, 2016

got fixed

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug typescript
Projects
None yet
Development

No branches or pull requests

3 participants