Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Error trying to open an inline editor in an untitled document  #4481

@gruehle

Description

@gruehle

Steps to repro

  1. Launch Brackets and load the brackets source
  2. Create a new, untitled document
  3. Enter some JavaScript. I used:
function blah() {
    DocumentManager.getCurrentDocument();
}
  1. Put your cursor in the name of a function that is defined in another file (like getCurrentDocument) and press Cmd-E.

Results
Inline editor is not opened, and an error is output to the console:

Uncaught TypeError: Cannot call method 'getCursor' of null 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions