adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.26k stars 7.63k forks source link

NPE and inline editor doesn't close when deleting multiple rules at end of file #9250

Open peterflynn opened 10 years ago

peterflynn commented 10 years ago
  1. In the Getting Started project, invoke Quick Edit on <p>
  2. Click "New Rule" 5 times
  3. Select the first rule
  4. In main.css, select all the added p rules at the end of the file
  5. Delete the selection

Result: NPE thrown in Editor code, inline editor stays open listing all the non-existent rules (but is broken if you try to click them -- nothing shown in editor area of widget)

Expected: inline editor auto-closes

Reproduces at least as far back as 0.42

dangoor commented 10 years ago

Reviewed medium priority for release 0.45

JeffryBooher commented 9 years ago

Moving to 1.1

JeffryBooher commented 9 years ago

@peterflynn I was looking at #10147 and i'm no longer able to reproduce this issue now since either CEF 2171 -or- The New, more robust event-dispatching system landed.