Fix: manually selected language not persistent when opening file in a new instance

This commit is contained in:
Rikk 2015-08-12 20:49:53 -03:00 committed by Don Ho
parent a30de2e605
commit e4b0b8c0b5

View File

@ -3281,6 +3281,8 @@ void Notepad_plus::docOpenInNewInstance(FileTransferMode mode, int x, int y)
command += pX;
command += TEXT(" -y");
command += pY;
command += TEXT(" -l");
command += ScintillaEditView::langNames[buf->getLangType()].lexerName;
Command cmd(command);
cmd.run(_pPublicInterface->getHSelf());