From 6b334ba85ebef30c0fa3a07bede6a7bd3ddb69af Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Thu, 10 Jan 2019 18:38:02 +0100 Subject: [PATCH] + chg: disable Goto menu on empty file --- Build/Changes.txt | 2 ++ src/Notepad3.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Build/Changes.txt b/Build/Changes.txt index ac09525b4..9b0c3be0e 100644 --- a/Build/Changes.txt +++ b/Build/Changes.txt @@ -37,11 +37,13 @@ NEW: - add CED reliability option (NLS: dialogs) - Indentation consistency check on file open (NLS: dialogs) - End-of-Line (EOL) consistency check on file open (NLS: dialogs) +- checkbox for transparent Find/Replace Dialogbox on loosing focus -------------------------------------------------- CHANGES: -------------------------------------------------- +- Scintilla Library (SCL) version 4.1.3 (2019-01-10) - SCL new Nim lexer replaces old Nimrod lexer (new highlighting) - Up-to-Date SCL diff --git a/src/Notepad3.c b/src/Notepad3.c index 336c2a936..dd1f2728b 100644 --- a/src/Notepad3.c +++ b/src/Notepad3.c @@ -2712,7 +2712,8 @@ LRESULT MsgInitMenu(HWND hwnd, WPARAM wParam, LPARAM lParam) EnableCmd(hmenu,IDM_EDIT_CLEAR, !s && !ro); EnableCmd(hmenu, IDM_EDIT_SELECTALL, !e); - + EnableCmd(hmenu, IDM_EDIT_GOTOLINE, !e); + OpenClipboard(hwnd); EnableCmd(hmenu,IDM_EDIT_CLEARCLIPBOARD,CountClipboardFormats()); CloseClipboard();