+ add undo / redo selection to more operations
+ found Scintilla 400 method "SCI_CUT" (cut selection) broken: lost last char
- replaced by SCI_COPY & SCI_CLEAR combination (for now)
* no functional changes compared origin master
- despite of regression tests, there is a small possibility of
introducing changed/wrong behavior regarding string operations ... :-O
(Fonts: Calibri,Cambria,Candara,Consolas,Constantia,Corbel,Segoe UI are using 'cleartype smoothing' (SC_EFF_QUALITY_LCD_OPTIMIZED)
by default, if not configured in Schema definition for Lexer)
+ to avoid unexpected "accelerated word navigation" behavior,
space-char extension is restricted to 7-bit ASCII char set (ignoring specified non-7-bit-ASCII chars).
- correct entry is 'SciDirectWriteTech', must by manually edited
+ add possibility of override SciDirectWriteTech Settings (general section),
by resolution specific specialization (using general settings if not defined)
+ add: toggle option for accelerated word navigation (Ctrl+LEFT/RIGHT)
according to issue #27 (https://github.com/rizonesoft/Notepad3/issues/27)
- [Settings2] parameter "ExtendedWhiteSpaceChars=" defines a
set of chars to be ignored (handled as whitespaces) to find the next beginning of a word
if "Accelerated word navigation" is switched ON
and put some of the "hidden" shortcuts into NP3's menu tree.
- couldn't reproduce the "reload as UTF-8 not work bug" in NP3 (?) - so didn't merge the related change.
(if someone can reproduce it, please tell me)
+ I "guard" the shortcut for direct editing the NP3's .ini-file (Ctrl+F7) by disabling "Save Settings Now (F7)" and "Save Settings on Exit" - Flag
as long as I edit the settings file itself.
(Example not disabling this: Editing the .ini-file while "Save Settings on Exit"-Flag is checked,
leaving NP3 would override the just edited .ini-file with "old" NP3 settings ...)
+ option: build-time: treat warning as error (build fails)
+ cleanups reported by CppCheck v.1.79 (except issue: 'variableScope')
+ remove _CRT_SECURE_NO_WARNINGS to see security warnings for deprecated functions;
+ remove macro-definition for BOOKMARK_EDITION (bookmarks are fixed component of NP3 now)
(code has not been excaped by this MACRO consistently)
~ maybe it is time to change to Platform Toolset "Visual Studio 2017 - Windows XP (v141_xp)" ?
- add existing recoding accelerator keys (Ctrl+Alt+F & Ctrl+Shift+A)
to "Recode" menue (func: reload file forcing this encoding type)
- add version info for used Scintilla library
~ VERSION_SCIVERSION should be set by Version.exe (version patcher)
and can be picked from provided scintilla\version.txt
- some code-cleanup (cleancode-developer pathfinder rule)
while trying to trace down notepad2-mod issue #121
(i am able to reproduce, but didn't find the reason (yet))
- fix exception - reported in notepad2-mod pull request (Crash fixing. #172), which has been rejected there,
but I was able to reproduce it in VS2017 debug mode (initial defaults for exception handling).
(https://github.com/XhmikosR/notepad2-mod/pull/172)
- incorporate changes from notepad2-mod from v.4.2.25.995 to v.4.2.25.998
(one fix, the other changes we have done before already)
- Change shortcuts for the following actions:
(-) Toggle Transparent Mode: moved from Ctrl+0 to Ctrl+Numpad_*
(x) Reset Zoom: Ctrl+/ change to Ctrl+0 ($v_5.0.26)
Additional Accelerator Keys, as suggested by (https://github.com/XhmikosR/notepad2-mod/pull/197)
(+) Toggle Line Comment : in addition to Ctrl+Q add Ctrl+/ with same functionality
(+) Do Stream Comment : in addition to Ctrl+Shift+Q add Ctrl+Shift+/ with same functionality
believing new shortcuts are more convenient and more widely used, aren't they?
- consistent encoding <> code-page handling (including Scintilla's code-page settings)
- Scintilla issue regarding notepad2-mod issie #173 (see https://github.com/XhmikosR/notepad2-mod/pull/193)
- allow arbitrary conversion between encodings (even it it does not make sense in any case)
(instead of doing silently nothing but changing encoding info on status bar)
- using Scintilla UTF8 code-page internally for most encodings,
solves some encoding/code-page problems, the behaviour slightly changes:
+ if DefaultEncoding is not set (or set to DefaultEncoding = -1),
initial encoding is set to current system's code-page, e.g. Windows-1252
Scintilla's internal UTF8 code-page is used for edit box,
that means copy/paste from clipboard may show characters which are
not valid in this char-set of the selected code-page.
Trying to save a file with this invalid UTF8 chars will result in conversion dialog:
("... encoding from ANSI to non-ANSI (and vice versa) may replace unsupported text with default characters ...")
+ if DeaultEncoding = 0 (ANSI):
a) if LoadASCIIasUTF8 = 0 (FALSE), Scintilla's internal ANSI code-page is used for edit box
that means copy/paste from clipboard may convert chars to ANSI ()
b) if LoadASCIIasUTF8 = 1 (TRUE), Scintilla's internal UTF8 code-page is used for edit box
that means the universal UTF8 encoding is used
+ if DeaultEncoding = nnn (corresponding to some ANSI code-page encoding):
same as if DefaultEncoding is set to corresponding code-page (see section "DefaultEncoding is not set")
- standard encoding is ANSI, (resp. UTF8 - if no(-1) encoding default is given in .ini-file: DefaultEncoding=n)
- copy/paste non ANSI characters to ANSI encoded NP3 windo will recode them to ANSI (same as manually recode)
- remember more settings/checksboxes for “Find text” dialog between sessions (.ini-file persistence of (open) dialog)
- DeelX RegexSearch: remove EXTENDED mode - that disables white space ignore and '#' as line comment (expexted/convenient behaviour)
- fixing ".LOG-feature" of Notepad : ".LOG" recognition must be case sensitive