When moving a document from one window to another, the manually set language is lost.
- Create a file with an non-standard extension, e.g.
- Put some source code in it, e.g. HTML.
Note that the code is not syntax highlighted.
- Use the Language menu to manually set the language to HTML.
Note that the code is syntax highlighted.
- Drag the document to another Notepad++ window.
The code is no longer syntax highlighted. It has lost its manually set language.
The expected result
The code should keep its syntax highlighting and language.