mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 15:54:17 +02:00
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…
x
Reference in New Issue
Block a user