{"push_id":775188994,"size":1,"distinct_size":1,"ref":"refs/heads/Plus","head":"bd101ba860c3d6314d7fc280f9618a738972d607","before":"f122a84b9f6a0c86cf0cedfc49365ad203fef840","commits":[{"sha":"bd101ba860c3d6314d7fc280f9618a738972d607","author":{"email":"5d0fcab8ca28410a2f99a54fc636910cbdb34613@gmail.com","name":"Anatoly Russkih"},"message":"PR-793: Fix: language not set when creating new file\n\nProps @Hero2006\n\nRef: issues/752\nThanks @xylographe\n\nWhen NPP is invoked with an non-existing path argument, it asks if the file should be created. If confirmed, a new file will be opened, but the language (syntax) will not be set automatically.\nReproduce:\n1. Execute command `rm -f foobar.cs; notepad++ foobar.cs` in your favorite shell.\n2. Confirm when asked to create new file.\n3. Against expectation, the language is not set to C#.\n\nCode:\nbuf->setLangType(ndds._lang);\ndoesn't need because buffer has already logic for detecting LangType.\nP.S. maybe other strings are not needed too...","distinct":true,"url":"https://api.github.com/repos/Rikk/notepad-plus-plus/commits/bd101ba860c3d6314d7fc280f9618a738972d607"}]}