Commit Graph

152 Commits

Author SHA1 Message Date
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
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
fc13d3b966 + UTF-8 encoding of License.txt (fixing: different ANSI codepage for copyright sign)
+ add Google search WebTemplate1 in distrib's Notepad3.ini (Ctrl+Shift+1) for Google search with selected string
2017-08-17 10:58:57 +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
Rainer Kottenhoff
57bf27edba Merge branch 'master' into NP2-mod_Enhancements 2017-08-16 20:28:10 +02:00
Rainer Kottenhoff
29cbcba185 Merge remote-tracking branch 'notepad3_orig_rizone/master' 2017-08-16 20:27:00 +02:00
Derick Payne
370a878d92 Merge pull request #55 from RaiKoHoff/NP2-mod_Enhancements
Cut/Delete selected text:  now preserving selection on undo/redo
2017-08-16 19:07:05 +02:00
Rainer Kottenhoff
878a84b9ad + fix: unicode conversion error fixed in .rc 2017-08-16 16:19:48 +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
ddd3bcf43d Merge remote-tracking branch 'notepad3_orig_rizone/master' into NP2-mod_Enhancements 2017-08-15 22:19:47 +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
Derick Payne
b4ff559d0b Merge pull request #53 from RaiKoHoff/NP2-mod_Enhancements
NP2-mod PR #200  (slightly modified for NP3)
2017-08-15 19:11:27 +02:00
Derick Payne
b325368e73 Merge pull request #52 from RaiKoHoff/master
Notepad3Portable: fixing build script and cleanup
2017-08-15 19:10:37 +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
12942271f8 + fixing and cleanup build for Notepad3Portable 2017-08-14 01:11:38 +02:00
Rainer Kottenhoff
87fb54b316 Merge branch 'NP3_PortableAppsCom' 2017-08-13 16:45:06 +02:00
Rainer Kottenhoff
1ee3447b8e Merge branch 'Code_Quality' 2017-08-13 16:44:24 +02:00
Rainer Kottenhoff
17befb07d2 Merge branch 'Sandbox' 2017-08-13 16:43:25 +02:00
Derick Payne
b2c1510096 Small setup file update 2017-08-12 21:19:26 +02:00
Derick Payne
49b7372766 Updated build bat files 2017-08-12 20:13:24 +02:00
Derick Payne
4bcbb0592c Merge pull request #50 from RaiKoHoff/NP3_PortableAppsCom
Notepad3Portable:  PortableApps.com's build environment to create the App
2017-08-12 19:15:04 +02:00
Derick Payne
22099d5186 Merge pull request #49 from RaiKoHoff/Code_Quality
code quality enhancements only branch (no functional changes)
2017-08-12 19:14:35 +02:00
Derick Payne
33a09f77ac Merge pull request #47 from RaiKoHoff/Sandbox
fixing issue #35  and feature request #48
2017-08-12 19:14:20 +02:00
Rainer Kottenhoff
d7a1e5a912 Build environment, to create Notepad3Portable (according to PortableApps.com) (x86/x64)
+ need to (portable) install PortableApps.com's build tools (Launcher Creator, Installer Builder) on build server
+ fixing build_np3portableapp.cmd script - please read doc within this script
   - unfortunately the neccessary PortableApps.com build tools do not work the same in CmdLn-Version vs. GUI-Version ???
     so we have still manual interaction to build the Installer Package :-(( - try to figure out, whats going wrong in upcoming commits
+ build process is working, still some to todos left for releasing the Notepad3Portable Installer
2017-08-12 13:05:59 +02:00
Rainer Kottenhoff
d14ea57acb - remove .ini files, they are copied from distrib dir 2017-08-12 11:27:50 +02:00
Rainer Kottenhoff
7af3cd394a - initial version of PortableApps.com Launche and Installer build 2017-08-12 11:22:36 +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
1ebeb4ceca + minor fixes for .vcxproj files regarding optimization and linker settings 2017-08-11 19:48:46 +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
f96832ab7e Merge branch 'Sandbox' into Code_Quality 2017-08-11 09:05:34 +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
d8efdd07d4 Merge branch 'master' into Sandbox 2017-08-11 00:47:10 +02:00
Rainer Kottenhoff
b2cf67be9e Merge remote-tracking branch 'notepad3_orig_rizone/master' 2017-08-11 00:17:42 +02:00