dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++
GNU General Public License v3.0
9.24k stars 554 forks source link

Application crash if no focused editor #504

Closed dail8859 closed 7 months ago

dail8859 commented 9 months ago

Steps to reproduce:

  1. Have two files (e.g. new 1 and new 2)
  2. Split the editor so that new 1 and new 2 are in separate areas
  3. Close new 2
  4. This leaves the docked editor so that there is no currently focused editor, due to that area being destroyed.
  5. Run any command that relies on the current active editor (e.g. select all, copy, etc)
  6. Application crashes
dail8859 commented 7 months ago

Cannot reproduce with current master branch. 🤷