Fix: manually selected language not persistent when opening file in a new instance
This commit is contained in:
parent
a30de2e605
commit
e4b0b8c0b5
|
@ -3281,6 +3281,8 @@ void Notepad_plus::docOpenInNewInstance(FileTransferMode mode, int x, int y)
|
||||||
command += pX;
|
command += pX;
|
||||||
command += TEXT(" -y");
|
command += TEXT(" -y");
|
||||||
command += pY;
|
command += pY;
|
||||||
|
command += TEXT(" -l");
|
||||||
|
command += ScintillaEditView::langNames[buf->getLangType()].lexerName;
|
||||||
|
|
||||||
Command cmd(command);
|
Command cmd(command);
|
||||||
cmd.run(_pPublicInterface->getHSelf());
|
cmd.run(_pPublicInterface->getHSelf());
|
||||||
|
|
Loading…
Reference in New Issue