Commit Graph

205 Commits

Author SHA1 Message Date
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
Derick Payne
93b4511eb7 Merge pull request #70 from RaiKoHoff/StrSafe_Branch2
StrSafe migration
2017-08-27 17:52:42 +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
5b382254f1 Merge branch 'Selection_Undo' into StrSafe_Branch2 2017-08-26 12:50:05 +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
87763d9d89 Merge remote-tracking branch 'Notepad3_upstream_Rizone/master' 2017-08-24 10:24:10 +02:00
Rainer Kottenhoff
b644ede5f3 Merge commit '13f1d4a7076cce44bd5909ccb45fedf5dc1e1f23' 2017-08-24 10:23:43 +02:00
Derick Payne
a8fbb0a45e Merge pull request #69 from RaiKoHoff/StrSafe_Branch
StrSafe branch
2017-08-24 09:38:01 +02:00
Derick Payne
b2954be90f Merge branch 'master' into StrSafe_Branch 2017-08-24 09:37:48 +02:00
Derick Payne
13f1d4a707 Merge pull request #68 from RaiKoHoff/Bugfix_0823B
+ fix:  undo destructive operation on selection (rectangle) does not restore selection
2017-08-24 09:34:02 +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
b2b96ded8e + minor code cleanup 2017-08-23 00:12:15 +02:00
Rainer Kottenhoff
3d0359ae6b nth+ StrSafe code hardening 2017-08-23 00:02:48 +02:00
Rainer Kottenhoff
aad331f1be + fix: undo destructive operation on selection (rectangle) does not restore selection
or preserves selection mode (extends selection on caret movement)
   -> need to send SCI_CANCEL at the end of restored selection
2017-08-22 22:53:00 +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
5e9426cae1 Merge branch 'Bugfix_450' 2017-08-21 19:43:17 +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
0046d2a2d7 Merge branch 'Bugfix_500' 2017-08-18 19:27:15 +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
3fa2cdb349 Merge branch 'Bugfix_500' into Feature_Branch 2017-08-18 18:38:24 +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