dail8859 / NotepadNext

A cross-platform, reimplementation of Notepad++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application crash if no focused editor

dail8859 opened this issue · comments

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

Cannot reproduce with current master branch. 🤷