Rainer Kottenhoff
71c983b0a0
Merge remote-tracking branch 'notepad3_orig_rizone/master' into Drag_n_Drop
2017-11-29 00:32:04 +01:00
Rainer Kottenhoff
b2daa19b7b
renaming of drag n' drop methods
2017-11-29 00:31:41 +01:00
Rainer Kottenhoff
720e0c0574
+ workaround: drag n' drop from 32-bit process on Notepad3 x64 window
2017-11-29 00:24:28 +01:00
Rainer Kottenhoff
8426eb0c9f
+ fix: disabling buffered draw (Scintilla: "Current platforms perform window buffering so it is almost always better for this option to be turned off.")
...
+ fix: Font Smoothing: [Settings2]SciFontQuality=n has no effect on some special fonts (preserving old behavior if not defined)
2017-11-28 12:53:23 +01:00
Rainer Kottenhoff
37ed5ed6f5
+ fix: remove unused mouse wheel message interception
2017-11-27 18:17:31 +01:00
Rainer Kottenhoff
f2f35f3828
+ revert to Scintilla's old (default) font rendering technology (modern DirectWrite available by [Settings2] SciDirectWriteTech=1)
2017-11-27 15:17:42 +01:00
Rainer Kottenhoff
b6f1b92e05
+ fix: cleanup UpdateLineNumberWidth() triggers
2017-11-23 11:53:17 +01:00
Rainer Kottenhoff
8248293c5a
+ fix: issue with update of line number margin width
2017-11-22 12:56:42 +01:00
Rainer Kottenhoff
09fbb9e2c9
+ feature: find/replace mark occurrences
2017-11-10 16:36:53 +01:00
Rainer Kottenhoff
9041a27453
+ fix: other undo/redo issues (if no selection choosen)
2017-11-04 13:52:52 +01:00
Rainer Kottenhoff
c1a568400a
+ fix: consecutive DEL/BACKSP undo/redo broken (wrapped by unconditional selection undo/redo)
2017-11-04 13:44:52 +01:00
Rainer Kottenhoff
727b650de0
+ feature: auto remember bookmarks in recent file history
2017-11-04 13:13:43 +01:00
Rainer Kottenhoff
a0c14ce8f5
+ feature: Mark occurrences coloring is now configurable via "Customize Schemes..."
2017-11-03 14:20:53 +01:00
Rainer Kottenhoff
049f0e6d8f
+ first refactoring for find/replace (RegExpr) operations
2017-10-27 16:28:07 +02:00
Rainer Kottenhoff
9450bdbc58
+ fixing some issues regarding margins configuration
2017-10-25 23:23:26 +02:00
Rainer Kottenhoff
0f4e6bdda8
+ add Book Mark style (Color Background and Alpha) to customize schemes...
...
+ replace old bookmark pixmap (visible margin) by Scintilla's BOOKMARK marker style
2017-10-25 15:34:28 +02:00
Rainer Kottenhoff
cc24558789
- non functional draft version
2017-10-25 11:37:39 +02:00
Rainer Kottenhoff
d8b3fc63dd
+ fix: issue #139 and #143 (remove seöection undo/redo for non-text-changing operations on selections)
...
+ fix: issue #144 (Left arrow no longer moves to previous line)
+ fix: issue #145 (Mark Occurrences Counter is broken)
2017-10-24 11:20:21 +02:00
Rainer Kottenhoff
6eb4d02593
+ fix: pasting clipboard content into selection box should replace text and cancel selection then
...
(in case of swapping clipboard, the selection is preserved)
2017-10-23 10:42:49 +02:00
Rainer Kottenhoff
bc564b622a
+ first prottotype of VirtualSpace RectangularSelection by default
...
(very old behavior can be turned on by [Settings2] DenyVirtualSpaceAccess=1)
2017-10-20 16:18:16 +02:00
Rainer Kottenhoff
8bfa35c4ab
+ first draft of "Alt-Key-Down Virtual Space Access" rectangular selection only
...
(redo/undo action does not work properly yet?)
2017-10-20 14:40:13 +02:00
Rainer Kottenhoff
cdecfb5756
+ add switch ([Settings2] UseOldStyleBraceMatching) to preserve old style brace matching behavior
2017-10-20 08:54:13 +02:00
Rainer Kottenhoff
d0c7fbc8ef
+ prepare new matching brace highlighting (SCI_BRACEHIGHLIGHTINDICATOR API...)
2017-10-19 16:21:03 +02:00
Derick Payne
2026e8f01f
Merge pull request #134 from RaiKoHoff/Changes_1018+
...
Changes for NP3s default (distrib) settings (.ini)
2017-10-18 09:58:42 +02:00
Rainer Kottenhoff
ccb423317e
+ changes for default (distrib) Notepad3.ini:
...
- remove settings for "Favorites" directory -> NP3 uses then users system default folder (%USERPROFILE%\Favorites)
- default to modern displays settings, using Scintilla's new technology : SciDirectWriteTech=1, SciFontQuality=3
- settings [Section2] (cannot be set via GUI) add all possible names and default values, if applicable
2017-10-18 09:23:02 +02:00
Rainer Kottenhoff
411b992df1
+ feature: show warning before loading file with unknown (custom schemes) file name extension
2017-10-18 00:07:59 +02:00
Rainer Kottenhoff
3b084fcae5
+ fix: crash in Favorites management (release version only, debug version didn't crash - so hard to find)
...
+ small code refactoring (replacing deprecated methods)
2017-10-17 12:56:10 +02:00
Rainer Kottenhoff
bd802ba7b7
+ File History:
...
+ add remove button for list items
+ checkbox for "preserve caret position" settings
+ small fixes
2017-10-16 17:18:08 +02:00
Rainer Kottenhoff
9b03858006
+ minor bugfixes for session feature (file history: remember caret pos and encoding)
2017-10-16 01:21:11 +02:00
Rainer Kottenhoff
6cb00e36d2
+fix: crash on accessing UndoRedo selection history while instance has not been initialized.
2017-10-15 18:46:35 +02:00
Rainer Kottenhoff
48d008c181
+ first version of caret/encoding history
2017-10-15 18:28:04 +02:00
Rainer Kottenhoff
aa216aa7ef
Merge remote-tracking branch 'origin/AHK_RegrTest_Enh' into FileHistory
2017-10-15 13:45:52 +02:00
Rainer Kottenhoff
53f092a570
+ prepare file history extension (caret position and encoding settings)
2017-10-15 13:45:32 +02:00
Rainer Kottenhoff
b05ef4dc2b
+fix: virtual space access: column indicator
2017-10-13 12:24:31 +02:00
Rainer Kottenhoff
ee6386d90e
+ fix: StatusBar Col display is not correct in case of Virtual Space Access
2017-10-10 11:35:22 +02:00
Rainer Kottenhoff
eeb7850d3a
+ fix: Recode to ANSI (in case of Chinese ANSI code-page)
2017-10-09 09:34:48 +02:00
Rainer Kottenhoff
33911ca092
+fix: broken NormalizePathEx()
2017-10-08 00:23:44 +02:00
Rainer Kottenhoff
fddaa67b19
+ fix: minor StatusBar string corrections
2017-10-06 11:03:01 +02:00
Rainer Kottenhoff
eea77201fc
+ StatusBar information enhancements
2017-10-06 10:45:00 +02:00
Rainer Kottenhoff
424da9caeb
+ fix: support pasting position at virtual space
2017-10-05 12:54:07 +02:00
Rainer Kottenhoff
9d9d4d45cb
+ fix: move caret to convenient position after pasting clipboard (no current selection)
2017-10-05 11:30:27 +02:00
Rainer Kottenhoff
32ccdc0671
+fix: virtual space navigation and rectangular selection (minor issues)
...
(allow "Virtual Space Rectangular Selection" also allows moving Caret into virtual space (beyond line end))
2017-10-05 02:18:51 +02:00
Rainer Kottenhoff
5eaf851da1
+ fix: copy/cut & paste of current line (in case of no selection - Visual Studio behavior - using SCI's MSDEVLineSelect)
2017-10-04 18:44:30 +02:00
Rainer Kottenhoff
3c6bb28361
+ enhanced clipboard recoding detection
...
+ fix: bug in code-page related text conversion
2017-10-04 14:45:48 +02:00
Rainer Kottenhoff
0b68bebf97
+ fix DPI awareness in manifest
...
+ minor code refactoring
2017-09-29 09:49:11 +02:00
Rainer Kottenhoff
bca27c37a6
- fix: do mouse wheel scrolling in editor area only
2017-09-28 15:38:26 +02:00
Rainer Kottenhoff
d2e5897e9c
+ fixing punctuation chars for "Accelerated Word Navigation" (Settings2: ExtendedWhiteSpaceChars= add non word chars here)
...
+ add count for "Mark(ed) Occurences" in StatusBar
2017-09-28 14:02:07 +02:00
Rainer Kottenhoff
5523f5a442
+ fix: StatusBar SelectionCount (Sel) : count chars instead of bytes
2017-09-28 09:37:15 +02:00
Rainer Kottenhoff
c3949edf22
- fixing issue #92 : Undo/Redo of virtual space selection rectangle not correct
2017-09-25 16:08:52 +02:00
Rainer Kottenhoff
8cceac6cda
fixing issues:
...
- #79 : Paste from clipboard to ANSI code page: unnecessary switching encoding to UTF-8
- #90 : FILE status becomes [MODIFIED] when doing CONTROL+A ie to select ALL
2017-09-25 12:21:18 +02:00
Rainer Kottenhoff
7569ff93c7
+ add new Settings "Virtual Space on Rectangular Selection" used to select rectange not delemited by line endings
...
(but including virtual space)
2017-09-10 10:20:17 +02:00
Rainer Kottenhoff
8208d6e39d
+ code cleanup
2017-09-08 14:00:09 +02:00
Rainer Kottenhoff
34ce1288d0
+ change accelerator key for feature "Complete Word" from Ctrl+Enter to Ctrl+Alt+Enter
...
+ add feature "Insert New (empty) Line above current line Ctrl+Enter (as in VisualStudio)
2017-09-08 13:57:51 +02:00
Rainer Kottenhoff
1736875cad
+ fix broken "Complete Word" feature (Ctrl+Enter/Return)
2017-09-08 12:52:39 +02:00
Rainer Kottenhoff
c4e31c396e
- remove FindReplaceDlg handle declared as external from compilation unit Edit.c - not really needed here.
...
(externals (handles / pointers) seemed to be a problem on module init instance time in 64-bit ?)
2017-09-05 18:41:54 +02:00
Rainer Kottenhoff
d6775f7161
+ NP2E issue #100 "File lock not released on open" ( https://github.com/ProgerXP/Notepad2e/issues/100 ):
2017-09-05 00:11:45 +02:00
Rainer Kottenhoff
cdbf84a2b0
+ cleanup tmp filebuffer, if elevation has been rejected
2017-09-04 20:53:54 +02:00
Rainer Kottenhoff
9fcfe39f70
"Relaunch elevated": use current .ini-file instead of new user's (Admin's) .ini
2017-09-04 20:33:34 +02:00
Rainer Kottenhoff
95543b97c1
+ "Relaunch elevated", infinite loop protection
2017-09-04 18:13:36 +02:00
Rainer Kottenhoff
348dee6801
+ enhance consistency between toolbar (save button) and titlebar (modified marker)
2017-09-04 12:59:02 +02:00
Rainer Kottenhoff
f35e6ec96d
+ fixing problem memory initialization problem during InitInstance()
2017-09-04 10:20:08 +02:00
Rainer Kottenhoff
837f22c588
+ remember window position in case of "relaunch elevated"
2017-09-02 14:02:24 +02:00
Rainer Kottenhoff
239f54b0ca
+ small fixes for "Relaunch elevated"
...
+ consistency: raising WINVER macros to Win7 (abandoned WinXP support)
2017-09-02 09:09:23 +02:00
Rainer Kottenhoff
a553fa4d9a
+ fixing some problems for feature "relaunch elevated preserve changes"
2017-09-01 20:25:38 +02:00
Rainer Kottenhoff
d1a53c3fb1
+ relaunch elevated keeping current changes in a buffer
2017-09-01 16:45:31 +02:00
Rainer Kottenhoff
04752d0bb5
+ clipboard encoding handling refined
2017-09-01 12:03:03 +02:00
Rainer Kottenhoff
a4f0b5c56e
+ add text file documentation for Notepad3 (includes Notepad2 and Notepad2-mod docs and detailed description of encryption feature)
...
+ add [Settings2] parameter for "mark occurence" max. count (which was fix at 2000 before) - now configurable, max is 100000
2017-08-31 20:48:38 +02:00
Rainer Kottenhoff
afb5140b0a
+ replace lstrcmp() and lstrcmpi() by StrSafe (helper.h defined) methods, where applicable
2017-08-31 14:21:45 +02:00
Rainer Kottenhoff
11c29871e1
+ replace lstrlen() by safe StrSafe method (where applicable)
2017-08-30 23:32:56 +02:00
Rainer Kottenhoff
e5ab61a440
- dropping WinXP support , using compiler toolset vc141 Win SDK 10.0.14393.0
...
(current VC++ redistributable needed ?)
2017-08-30 18:18:00 +02:00
Rainer Kottenhoff
d3e17140e4
+ remove internal codepage support for Chinese, Japan, Korean DBCS use generalized UTF-8 codepage instead
...
(conversions do not work as expected within scintilla lib)
2017-08-30 12:35:07 +02:00
Rainer Kottenhoff
98f7649aee
+ enable "unlimited" (as in Scintilla Lib: dep. on memory and INT_MAX) undo / redo selection history
...
using utarray from uthash header library (https://troydhanson.github.io/uthash/index.html )
2017-08-30 11:43:18 +02:00
Rainer Kottenhoff
3ca370a13c
+ minor findings
2017-08-30 00:21:29 +02:00
Rainer Kottenhoff
fcd9630519
+ refactoring: Encoding handling
...
+ more operations for selctions undo/redo
2017-08-29 14:55:13 +02:00
Rainer Kottenhoff
31a6c93f18
+ unicode to codepage clipboard handling
2017-08-29 00:28:51 +02:00
Rainer Kottenhoff
8ff4bad83f
+ clean code
2017-08-28 17:33:00 +02:00
Rainer Kottenhoff
369fbe814b
+ remove support for obsolete Korean Johab (1361) codepage.
2017-08-28 16:34:29 +02:00
Rainer Kottenhoff
f0524f0321
+ switching Scintilla internal codepage to UTF-8 only (resp. Japanese, Chinese and Korean DBCS)
...
single-byte encoding is supported externally and converted (fore and back) to UTF-8 internally,
this simplifies i.e. clipboard exchange, etc.
2017-08-28 16:19:03 +02:00
Rainer Kottenhoff
803e39f771
+ changes to EditGetClipboardText() solved the SCI_CUT problem, so it can be switched back from SCI_COPY & SCI_CLEAR to SCI_CUT (byte alignment in 64-bit , i am nut sure)
2017-08-27 08:59:13 +02:00
Rainer Kottenhoff
291da00a50
+ extended: remember selection undo / redo
...
+ 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)
2017-08-26 12:48:47 +02:00
Rainer Kottenhoff
e0606ff986
+ refactoring of "Accelerated Word Navigation" to be compliant with Scintillas WhiteSpace and Punctuation defines
...
+ "Accelerated Word Navigation" activation influences "Mark Occurrences" (whole word) if set
2017-08-25 15:24:40 +02:00
Rainer Kottenhoff
432db22943
+ adapt lstrcpyn() calls according to StrSafe.h requirements ...
2017-08-24 17:31:56 +02:00
Rainer Kottenhoff
f4ce0193b6
+ found bug caused by StrSafe migration (COUNTOF() for buffer size must not be used on buffer pointer)
...
+ migrate StrCpyN() and StrCatBuff() to corresponding StrSafe.h methods
2017-08-24 15:15:56 +02:00
Rainer Kottenhoff
b7523f4d53
+ last chunk of StrSafe.h replacements for deprecated string functions
...
* no functional changes compared origin master
- despite of regression tests, there is a small possibility of
introducing changed/wrong behavior regarding string operations ... :-O
2017-08-23 12:22:48 +02:00
Rainer Kottenhoff
3d0359ae6b
nth+ StrSafe code hardening
2017-08-23 00:02:48 +02:00
Rainer Kottenhoff
4dce5f0c0f
nth StrSafe adaption
2017-08-22 22:03:12 +02:00
Rainer Kottenhoff
814a4893bf
Merge branch 'Bugfixes_0822' into Feature_Branch
2017-08-22 09:12:20 +02:00
Rainer Kottenhoff
8b54c33aa2
+fix: settings SciFontQuality have been overwritten by Scheme configuration - adapted
...
(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)
2017-08-22 01:38:58 +02:00
Rainer Kottenhoff
bfe3962a35
StrSafe adaptions
2017-08-21 19:42:19 +02:00
Rainer Kottenhoff
d289084fd4
+ extended default "space char set" for "Accelerated Word Navigation"
...
+ 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).
2017-08-21 11:03:46 +02:00
Rainer Kottenhoff
399efd2de2
+ manually merge changes from Bugfix branch 450
2017-08-19 09:00:55 +02:00
Rainer Kottenhoff
4e71b4cf2f
+ fix: manually edited settings (SciDirectWriteTech, SciFontQuality) should be placed in settings section [Settings2].
2017-08-19 08:51:40 +02:00
Rainer Kottenhoff
32bdf25167
+ 1st chunk of StrSafe migration
2017-08-19 00:53:24 +02:00
Rainer Kottenhoff
1fb17d30c8
+ code modernizing: replacing some ZeroMemory() by C++11 struct initializer
2017-08-18 19:26:41 +02:00
Rainer Kottenhoff
d78d417f7d
+ fixed: "file modified" flag not set on Ctrl+X actions
2017-08-18 17:05:57 +02:00
Rainer Kottenhoff
aa52069372
+ fix: re-enable accidentally disabled toolbar buttons (find, replace, clear, toggle-folds, file-launch)
2017-08-18 12:39:23 +02:00
Rainer Kottenhoff
f22d0198b9
+ fix: remove obsolete settings entry, never read (SciDrawTechnology)
...
- 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)
2017-08-18 12:01:50 +02:00
Rainer Kottenhoff
fbf995a5c1
+ fixing crash: no good idea to make char array (char*) external to other compilation unit
...
(might be a 64-bit pointer problem or (higher probability) an order of initialization problem)
found another (better) solution for that
2017-08-18 10:18:57 +02:00
Rainer Kottenhoff
accbcdcb2e
+ fix: wrong shortcut in menu on word navigation (Ctrl+LEFT/RIGHT)
...
+ 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
2017-08-17 17:56:08 +02:00
Rainer Kottenhoff
6474ab9a22
+ Save Edit.c and Version.h as UTF-8 w/BOM to make Unicode chars independant from encoding ANSI local codepage.
...
+ remove some unneccessary comments with unicode chars
2017-08-16 22:58:37 +02:00
Rainer Kottenhoff
1a9f19d961
+ fix: restore selection after undo: revert selection mode too
2017-08-16 21:40:55 +02:00
Rainer Kottenhoff
b88fe6bf26
+ add Del/Back Selection preserving on Undo/Redo
2017-08-16 15:39:21 +02:00
Rainer Kottenhoff
7f52ae6a4d
+ fix: restore "rectangular" selection too on "Selection Cut" Undo/Redo
2017-08-16 14:13:18 +02:00
Rainer Kottenhoff
ba09c53f27
+ Cut Selection (Ctrl-X) will preserve Selection on Undo/Redo
2017-08-16 12:33:45 +02:00
Rainer Kottenhoff
e66c9cae8f
dev trial 1
2017-08-16 00:18:06 +02:00
Rainer Kottenhoff
d9ef89f715
+ fix Toolbar Button "Save" has to be enabled on encoding changes
...
+ encode Notepad.rc as Unicode BOM (UTF-16LE) to enable unicode characters for resource embedding
2017-08-15 21:45:29 +02:00
Rainer Kottenhoff
490b99831a
+ fix bug on path compare for editing own settings file (.ini) to disable "save settings" menu entries (should be case insensitive)
2017-08-15 19:27:16 +02:00
Rainer Kottenhoff
2e2e1707cd
+ further discussions on notepad2-mod PR #200 convinced me, that the "reload UTF-8 bugfix" solves a problem regarding pure ASCII files reloaded as UTF-8.
...
+ add menu entries for launching WebTemplates (specified in section [Settings2]) with selected text as arguments
2017-08-15 19:12:13 +02:00
Rainer Kottenhoff
2a11751359
+ Zero initializing string buffers (hardening code while searching an issue regarding "Recent Files" list in "relative paths" mode ...
2017-08-15 17:32:31 +02:00
Rainer Kottenhoff
461b848156
+ add Enabling/Disabling Save-Button in toolbar according to file modified indicator
...
- moving Save Settings enabler (in case of own settings loaded into editor) to method (instead of define)
2017-08-15 09:12:18 +02:00
Rainer Kottenhoff
63479b9a26
Merge branch 'master' into NP2-mod_Enhancements
2017-08-14 21:34:34 +02:00
Rainer Kottenhoff
640274b0a5
+ took the nice pull request from @zufuliu (notepad2-mod PR #200 : ( https://github.com/XhmikosR/notepad2-mod/pull/200 )
...
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 ...)
2017-08-14 21:30:16 +02:00
Rainer Kottenhoff
592796d44f
menu integration of "hidden" commands
2017-08-14 18:12:13 +02:00
Rainer Kottenhoff
223a977207
Merge branch 'Sandbox' into Code_Quality
2017-08-11 20:13:03 +02:00
Rainer Kottenhoff
93325e250d
+ add printing additional option /v(d)ialog to allow access to the Printer dialog (as on Menu: Print... )
2017-08-11 20:10:52 +02:00
Rainer Kottenhoff
935eed6d1e
Merge branch 'Sandbox' into Code_Quality
...
# Conflicts:
# src/Notepad3.c (manually linebased merged)
2017-08-11 19:07:32 +02:00
Rainer Kottenhoff
fc10dbf655
+ add command line option ( /v ) to print file immediately and quit (like Window's original notepad.exe /p option)
2017-08-11 18:33:38 +02:00
Rainer Kottenhoff
af4d1292f4
+ raise Warning Level from 3 -> 4, and fix corresponding warnings
...
+ 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)
2017-08-11 14:18:39 +02:00
Rainer Kottenhoff
8600d566db
fixing issue #35 (preserve FileExtension settings while switching Styles / 2nd Default Scheme)
...
+ enlarge some string buffers for dialogs
+ fixing np3encrypt vcxproj files
2017-08-11 03:35:21 +02:00
Rainer Kottenhoff
d4ce0417ba
- move settings for HighDPI Toolbar to [Window] section, to ge more portable configuration (same .ini-File on different screens)
2017-08-09 16:44:48 +02:00
Rainer Kottenhoff
1b71079b13
- fix: nullptr access while pressing "favorites" toolbar button on 'virgin' NP3
...
- reintroduce HighDPI toolbar:
.ini-File settings: section [Toolbar Images]
+ (new) HighDpiToolBar=
val -1 (or not set at all) => depending on screen resolution:
higher than Full-HD (1920x1080) -> select internal HighDPI-Toolbar
val 0: use internal low resolution Toolbar (old behaviour)
val 1: use internal HighDPI-Toolbar
- (old) BitmapDefault=<bitmap-file-path> overrides HighDpiToolBar setting and uses <bitmap-file-path> (if valid)
2017-08-09 10:51:43 +02:00
Rainer Kottenhoff
b944089efc
- cleanup .vcxproj to support "All Config" ans "All Platform" selection
...
~ 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))
2017-08-08 11:56:56 +02:00
Derick Payne
92a23f0bf3
Merge pull request #43 from RaiKoHoff/Bugfixes_and_More
...
some fixes and features, that missed the latest notepad2-mod
2017-08-07 09:31:40 +02:00
Rainer Kottenhoff
d5e480f1eb
- minor cleanups reported by CppCheck v.1.79
...
- 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?
2017-08-06 23:35:37 +02:00
Derick Payne
489db38dc4
Back to smaller toolbar buttons.
2017-08-06 18:38:45 +02:00
Rainer Kottenhoff
74ec34dad3
integrate Scintillas DirectWrite technology:
...
- Settings: SciDirectWriteTech, SciFontQuality
+ values according to Scintilla documentation
+ values = -1 (or not set) - don't call SCI API anyway - should be the same as DEFAULT technology settings (values = 0)
SC_TECHNOLOGY_DEFAULT = 0, SC_TECHNOLOGY_DIRECTWRITE = 1, SC_TECHNOLOGY_DIRECTWRITERETAIN = 2, SC_TECHNOLOGY_DIRECTWRITEDC = 3
SC_EFF_QUALITY_DEFAULT = 0, SC_EFF_QUALITY_NON_ANTIALIASED = 1, SC_EFF_QUALITY_ANTIALIASED = 2, SC_EFF_QUALITY_LCD_OPTIMIZED = 3
2017-08-05 22:01:46 +02:00
Rainer Kottenhoff
da073686dc
reverting, and fixing encoding / code-page issues:
...
- 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)
2017-08-05 20:20:22 +02:00
Rainer Kottenhoff
7647e03801
refactoring encoding and code-page handling:
...
- 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")
2017-08-04 22:49:21 +02:00
Rainer Kottenhoff
bc7c7f98bd
Issue #32 : add VisualStudio's editor behaviour for Ctrl-C and Ctrl-X if nothing is selected (copy / cut current line)
2017-08-03 17:30:03 +02:00
Rainer Kottenhoff
67ff6f274e
Refactoring/Fixes:
...
- 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)
2017-08-03 15:34:28 +02:00
Rainer Kottenhoff
854f0a7cec
reverting: don't use current system codepage for encoding default (this will lead to problems on changing encoding)
2017-08-03 12:36:39 +02:00
Rainer Kottenhoff
c299225d6c
to fix locale code page / encoding issue: using systems default CodePage for default encoding (and default code page), if default encodig is not persisted in .ini-file
...
to preserve old standard behaviour, DefaultEncoding "ANSI" may be set in .ini-File
2017-08-02 20:48:14 +02:00
Rainer Kottenhoff
8a94087563
- fixed: broken Ctrl-Q (toggle line comments)
...
- 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
2017-08-02 15:48:40 +02:00
Rainer Kottenhoff
db8b9361c8
- set UTF-8 as character encoding, if no valid character encoding is chosen for default (.ini) - see notepad2-mod merge #69
...
- change "Notepad3.ini": don't use 2nd default syntax scheme by default (Notepad3 issue #21 )
- Add Microsoft Visual C++ 2017 (vc141)
2017-03-30 14:02:35 +02:00
Rainer Kottenhoff
1f5354b194
+ update to Scintilla 371 (NP2 adaption due to deprecated data types)
2016-12-06 11:49:54 +01:00
Rainer Kottenhoff
86c8fcaea0
+ update Scintilla to Version 3.7.0
...
- add _SCL_SECURE_NO_WARNINGS preprocessor define (Scintilla uses "unsafe" std::copy now)
+ integrate additional Lexers: lexJSON, lexMATLAB, lexRegistry (see also McNeight/notepad2-mod)
+ Insert GUID insertion option (XhmikosR/notepad2-mod#171 )
+ fixing sporadic initial crash (XhmikosR/notepad2-mod#172 )
2016-11-15 10:37:30 +01:00
Derick Payne
b843870b5a
Updated Scintilla to version 3.6.4
...
Updated Scintilla to version 3.6.4
2016-04-17 20:44:10 +02:00
Derick Payne
229fb8ac22
New Encryption Feature
2016-01-29 22:24:29 +02:00
Derick Payne
ddf6a172bb
Fixed Missing Wildcard Search
...
Fixed Missing questions marks on search and replace windows.
2016-01-29 19:33:38 +02:00
Derick Payne
b8c5f0717c
Update Scintilla to version 3.6.2
2015-11-14 11:20:53 +02:00
Derick Payne
17a2bd3629
Support for MiniPath added
...
Support for MiniPath added
2015-11-14 11:01:10 +02:00
Derick Payne
eef8262263
Replaced swscanf with the safer swscanf_s
2015-11-13 08:51:12 +02:00
Derick Payne
3737845a15
Initial Release
...
This is the start of the project.
2015-11-13 07:44:58 +02:00