From 4e9338e13eee83def2e13902e7a0bfb2e198ba60 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Mon, 9 Aug 2021 14:54:26 +0200 Subject: [PATCH] + Upd: Version files and Changes.txt --- Build/Changes.txt | 3 ++- Readme.md | 15 ++++++++++++++- Versions/day.txt | 2 +- res/Notepad3.exe.manifest.conf | 2 +- src/VersionEx.h | 2 +- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Build/Changes.txt b/Build/Changes.txt index 0f5b0508a..23fd77d3c 100644 --- a/Build/Changes.txt +++ b/Build/Changes.txt @@ -33,13 +33,14 @@ UCD - (UCD)ARDET is an Encoding Detector Library ======================================================== -Current BETA/RC Version 5.21.807.(build_#) (2021-08-07) +Current BETA/RC Version 5.21.809.(build_#) (2021-08-09) ======================================================== -------------------------------------------------------- NEW: -------------------------------------------------------- [.###.#]- . +[.809.1]- Configure app to open hyperlink (instead of default browser). [.805.1]- File URL forced to open in new window by (Ctrl+Alt+Click). [.805.1]- File change notification, if removed current file is recreated. [.805.1]- Allow definition of line number for file:/// URL (separator is ':' ). diff --git a/Readme.md b/Readme.md index f0bb2df4a..c5b7b1761 100644 --- a/Readme.md +++ b/Readme.md @@ -456,9 +456,22 @@ New parameter "[Settings2] ExitOnESCSkipLevel = 2" #### `DarkModeTxtColor=0xEFEFEF` +#### `HyperlinkShellExURLWithApp=""` + +- If not defined or empty the default behavior on `Ctrl+Click` URL is done: +- The URL-String is send to OS via ShellExecute(), which will try open the URL using the registered protocol (e.g. http:// or file://) - in most cases the default browser resp. the file, if extension is known. +- If defined, e.g. "`D:\PortableApps\GoogleChromePortable\GoogleChromePortable.exe`", this application will be started on `Ctrl+Click`. + +#### `HyperlinkShellExURLCmdLnArgs="${URL}"` + +- (use ${URL} as place holder for clicked Hyperlink URL string) +- Defining the argument/parameter string for the above application (only taken into account if `HyperlinkShellExURLWithApp` is defined). +- If not defined, empty or set to "${URL}", the argument for the app will be the URL-String clicked. +You can specify more command line parameter for the app here. The token `${URL}` within the string will be replaced by the URL-String clicked. E.g. `HyperlinkShellExURLCmdLnArgs="--incognito "${URL}""` will start the Chrome-Browser (see `HyperlinkShellExURLWithApp`) in "incognito mode" trying to open the clicked URL. + #### `HyperlinkFileProtocolVerb=""` -- `(ShellExecuteEx()::lpVerb` (""=default, "edit", "explore", "find", "open", "print", "properties", "runas")` +- `ShellExecuteEx()::lpVerb (""=default, "edit", "explore", "find", "open", "print", "properties", "runas")` ## **`[Statusbar Settings]`** diff --git a/Versions/day.txt b/Versions/day.txt index 882e31925..91dea1ec9 100644 --- a/Versions/day.txt +++ b/Versions/day.txt @@ -1 +1 @@ -807 +809 diff --git a/res/Notepad3.exe.manifest.conf b/res/Notepad3.exe.manifest.conf index 7df9888cf..9306d036f 100644 --- a/res/Notepad3.exe.manifest.conf +++ b/res/Notepad3.exe.manifest.conf @@ -3,7 +3,7 @@ Notepad3 beta diff --git a/src/VersionEx.h b/src/VersionEx.h index e9bd01917..d5a97caa1 100644 --- a/src/VersionEx.h +++ b/src/VersionEx.h @@ -8,7 +8,7 @@ #define SAPPNAME "Notepad3" #define VERSION_MAJOR 5 #define VERSION_MINOR 21 -#define VERSION_REV 807 +#define VERSION_REV 809 #define VERSION_BUILD 1 #define SCINTILLA_VER 511 #define LEXILLA_VER 511