From 6b2d78a3c8973388f9ffebf0ab2f809d1f47f02d Mon Sep 17 00:00:00 2001 From: Yaakov Date: Sun, 24 May 2020 22:34:49 +1000 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3540414..3e1216a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ public void ConfigureServices(IServiceCollection services) } ``` -3. Open a new Notepad window. +3. Open a new Notepad, Notepad++, or Notepad2 window. 4. Run your application. ## Source Material From 181fec9e3720f554df5afbe6a1b4a245319ba207 Mon Sep 17 00:00:00 2001 From: Yaakov Date: Sun, 21 Jun 2020 14:20:59 +1000 Subject: [PATCH 2/2] Fixed a memory leak in Scintilla injection --- Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj | 2 +- Notepad.Extensions.Logging/NotepadLogger.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj b/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj index 4ede967..c6023b6 100644 --- a/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj +++ b/Notepad.Extensions.Logging/Notepad.Extensions.Logging.csproj @@ -11,7 +11,7 @@ Apache-2.0 true true - 1.0.1 + 1.0.3 diff --git a/Notepad.Extensions.Logging/NotepadLogger.cs b/Notepad.Extensions.Logging/NotepadLogger.cs index 6400044..a591365 100644 --- a/Notepad.Extensions.Logging/NotepadLogger.cs +++ b/Notepad.Extensions.Logging/NotepadLogger.cs @@ -138,7 +138,7 @@ namespace Notepad.Extensions.Logging } finally { - VirtualFreeEx(remoteProcess.Handle, IntPtr.Zero, IntPtr.Zero, MEM_RELEASE); + VirtualFreeEx(remoteProcess.Handle, mem, IntPtr.Zero, MEM_RELEASE); } } }