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
67806856c8
+ fix ConvertText() according to internal SCI codepage
2017-08-29 01:15:45 +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
Derick Payne
72db927b90
Visual C++ 2017 now required
2017-08-27 18:36:14 +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
db9dd13422
Merge branch 'master' into StrSafe_Branch
2017-08-23 17:38:25 +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
cb9b514f36
code cleanup
2017-08-23 00:20:27 +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
Derick Payne
3ea54a6c74
Merge pull request #67 from RaiKoHoff/Bugfixes_0822
...
SCIs FontQuality: configuration in NP3
2017-08-22 08:49:05 +02:00
Rainer Kottenhoff
9e64559c25
+ add font "Source Code Pro" to list of special fonts for cleartype smoothing
2017-08-22 01:56:17 +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
3db1dbd0ab
StrSafe adaptions
2017-08-21 18:02:50 +02:00
Derick Payne
c442af31ab
Merge pull request #65 from RaiKoHoff/Bugfix_450
...
wrong settings section for SciDirectWrite and SciFontQuality
2017-08-21 16:01:56 +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
58c93ef280
+ some more StrSafe changes
2017-08-19 08:11:26 +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
Derick Payne
af8410e070
Merge pull request #64 from RaiKoHoff/Bugfix_500
...
+ fixed: "file modified" flag not set on Ctrl+X actions
2017-08-18 19:04:42 +02:00
Rainer Kottenhoff
d78d417f7d
+ fixed: "file modified" flag not set on Ctrl+X actions
2017-08-18 17:05:57 +02:00
Derick Payne
56a988ea77
Merge pull request #58 from RaiKoHoff/Scintilla_400
...
Update to Scintilla 400 (VS2017 vc140+ needed for C++14 & C++17 features)
2017-08-18 14:31:36 +02:00
Derick Payne
43f51f7b18
Merge pull request #62 from RaiKoHoff/Bugfix_440
...
Bugfixes post build 440
2017-08-18 14:30:35 +02:00
Rainer Kottenhoff
d6808ea031
Merge branch 'Bugfixes' into Scintilla_400
2017-08-18 12:39:50 +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
f435a159c4
Merge branch 'Bugfixes' into Scintilla_400
2017-08-18 12:19:51 +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
89ecc77915
Merge branch 'Bugfixes' into Scintilla_400
2017-08-18 10:20:44 +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
d9c017c9f9
+ version info changed from "unstable" to "early bird"
2017-08-17 23:03:11 +02:00
Rainer Kottenhoff
0a4e3ae13c
Merge branch 'Bugfixes' into Scintilla_400
2017-08-17 17:57:54 +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
f6f1c5ad0d
+ rename encoding menu item: "Recode No FileVars" (Alt+F8) =>> "Ignore Encoding Tags" (Alt-F8)
2017-08-17 15:06:34 +02:00
Rainer Kottenhoff
c708a522e3
+ update to Scintilla 400 (unstable) pre release
2017-08-17 10:23:15 +02:00
Rainer Kottenhoff
362738769a
+ update to Scintilla 376 (root of long term maintenance branch avoiding C++14, C++17 and later features)
...
(one change only: the Baan lexer correctly highlights numbers when followed by an operator.)
2017-08-17 08:47:57 +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