Commit Graph

85 Commits (666f228027e24a616cf17deb88b708d949c3530c)

Author SHA1 Message Date
Christian Grasser ab58c8ee3e One button to compile them all
1. Build Notepad++ with Scintilla static lib (libscintilla.lib) and Boost (v1.76) RegExpr.
2. ARM64 build is available.

Fix #5158, close #9594
2021-04-17 05:55:10 +02:00
Udo Hoffmann 62d07f7f7c Fix wrong global locale setting committed in 86c66bb
Fix wrong global locale setting due to PR #9707 (86c66bba90 (r49146650))

Close #9733
2021-04-06 20:40:39 +02:00
Udo Hoffmann 86c66bba90 Improve character case handling in RegEx
Fix #9636, close #9707
2021-04-04 15:18:11 +02:00
Udo Hoffmann 926e6e97d8 Catch regex search exceptions and show exception message
Fix #9565, close #9566
2021-03-24 01:24:24 +01:00
Don HO d7819cf601
Upgrade Scintilla from v4.2.0 to v4.4.6
Close #8900, close #9550
2021-02-21 19:14:40 +01:00
Don HO 4768fec82d
Remove obsolete code 2020-12-10 14:56:47 +01:00
Don HO 6c3ecacdb7
Enhance localization of "Line" of Search result
This enhancement translates "Line" prefix of Search resulton when user change each time the localization.

Inspired from #9233
2020-12-09 16:25:35 +01:00
Don HO 2f6454a085
Fix Search result line number highlighting inaccurate issue 2020-12-09 03:34:18 +01:00
Udo Hoffmann 08190bbe96
Fix RegEx look behind operations and \A and and \b and \z
Fix #713, fix #1870, fix #2216, fix #2360, fix #9004, fix #4855, close #8926, close #9008
2020-10-25 21:23:19 +01:00
Scott Sumner 4830b770d5
Increase untruncated Find-result window line length to 2048
There has been a complaint about long lines not being "well-represented" in the Find result window. See https://notepad-plus-plus.org/community/topic/18028/how-do-i-see-the-full-line-in-find-results-window.

Fix #7723, close #9030
2020-10-21 18:42:33 +02:00
Udo Hoffmann a19dc77525 Fix hovered indicators issue in Scintilla
Close #8769
2020-09-08 16:20:45 +02:00
Udo Hoffmann 84430809df Add back hovered blue underlined URLs
Fix #8654, close #8713
2020-08-23 12:28:14 +02:00
Udo Hoffmann d55350b4b5
Fix mouse cursor flicker while hovering
The reason, why the flicker occurs, is the following: There are two Windows messages sent by Windows to Scintilla, when the mouse is moved: WM_MOUSEMOVE and WM_SETCURSOR.

WM_MOUSEMOVE informs Scintilla, that the mouse has been moved inside its window.
WM_SETCURSOR informs Scintilla, that the mouse cursor has been moved. Anywhere, not necessarily in its window.
Scintilla calls the Windows function SetCursor (, which sets the mouse cursor shape, not the position), while processing both messages. Unfortunately, Scintilla uses different ways to calculate the desired cursor shape. So, whenever the mouse cursor is moved, two SetCursor calls are applied, sometimes with two different cursor shapes.

On WM_MOUSEMOVE, Scintilla calls ButtonMoveWithModifiers, which sets the correct cursor shape.
On WM_SETCURSOR, Scintilla calls SetCursor directly, sometimes with the wrong cursor shape.

This PR shows how to eliminate this effect in the modified Scintilla version used by Notepad++. This may be the fastest way to get results without introducing new effects.

The current original Scintilla version (Version 4.4.4, downloaded 2020-07-30, 5d134721c303ceecbdcb28ec82b28f0cbbdb4a55) has the same effect and can be fixed in the same way, although the WM_SETCURSOR code has been changed a little. Before updating to a new Scintilla version, we should try to get it fixed in the original Scintilla.

Fix #8588, fix #8647, close #8641
2020-08-01 15:41:04 +02:00
Don HO ade01204c8
Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +02:00
Don HO 2b345c8f39
Make Find result panel translatable
Fix also a folding visual glitchy in Find result.
2020-05-05 01:37:47 +02:00
Christian Grasser c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
ssk97 dd401f1379
Fix folding in user-defined languages for non-windows line endings
Close #3372, fix #2873
2019-08-05 00:45:58 +02:00
Don HO 92bad0a60a
Upgrade Scintilla from 4.1.4 to 4.2.0
Fix #5822
2019-07-22 13:08:41 +02:00
Don HO cc2d246ae2
Fix Cyrillic, Turkish and other languages input issue in ANSI mode.
For more information, check:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5671

Fix #5671
2019-06-11 08:38:35 +02:00
Don HO f548db82ed
Upgrade Scintilla - Update Scintilla build informtion 2019-05-08 22:10:04 +02:00
Don HO 2d90b38795
Upgrade Scintilla - integrate boost's PCRE in 64 build
And remove compiling warning.
2019-05-08 10:43:30 +02:00
Don HO 37c4b894cc
Upgrade Scintilla from v3.56 to v4.14 2019-05-04 21:14:48 +03:00
dail8859 8c84e92349 Fix EOLs 2018-02-27 20:31:22 -05:00
Christian Grasser eba913d887 Scintilla Namespace
- corrected missing scintilla namespaces
- activated usage of scintilla namespace in nmakefile and vcxproj

Closes #3033
2017-03-15 09:29:28 +01:00
Markus Heidelberg 6dab6621ba
Make Scintilla build properly with GCC/MinGW
Fix GCC compile error: extra qualification 'WordList::' on member 'SetWordAt' [-fpermissive]

Fix GCC compile error: a storage class can only be specified for objects and functions

Fix GCC compile error with invalid usage of conditional operator
  Invoke the "afterthought" part of the for loop in the normal code at the
  end of the loop where proper conditions can be used.
  Error message:
  third operand to the conditional operator is of type 'void', but the second operand
  is neither a throw-expression nor of type 'void'

closes #1656
closes #1655
2016-07-04 18:09:47 +09:00
don4d a82ad53e9c Update given examples 2016-06-20 12:22:47 +02:00
Don HO 5a5582b972 Make Scintilla 64-bit built with boost's pcre 2016-06-15 20:52:24 +02:00
Julien Nabet 7b596fa488 Fix some out of index errors
Closes #1851
[PowerEditor/src/Parameters.cpp:2581]: (warning) Array index -1 is out of bounds. Otherwise there is useless condition at line 2568.
[PowerEditor/src/ScitillaComponent/ScintillaEditView.cpp:3079]: (style) Unused variable: newline
[PowerEditor/src/WinControls/Grid/BabyGrid.cpp:166]: (style) Array index 'j' is used before limits check.
[PowerEditor/src/WinControls/Grid/BabyGrid.cpp:171]: (style) Array index 'j' is used before limits check.
[scintilla/lexers/LexUser.cxx:1128]: (error) Array 'maskMapper[15]' accessed at index 15, which is out of bounds.
2016-05-16 13:25:16 +02:00
Christian Grasser d6c72fa3f7 Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus into x64_build_adaptions 2015-06-18 07:23:03 +02:00
Don Ho c0cd924c1e [BUG_FIXED] Fix js block not recognized in HTML 2015-06-13 18:23:12 +02:00
Christian Grasser a8a6f2c881 - avoid some compiler warning
- build also without SCI_OWNREGEX
2015-06-11 17:41:07 +02:00
Christian Grasser fdd2dbc21f - add npp boostregex dir/sources and define SCI_OWNREGEX
- add boost via nuget package
2015-06-11 17:37:54 +02:00
Christian Grasser a6e0dd9a53 adapted scintilla vs project to notepad++ naming of build configurations from
Debug -> Unicode Debug and Release -> Unicode Release, to hav a consistent look in VS solution
Used same
ToolsVersion="12.0"
and
<PlatformToolset>v120_xp</PlatformToolset>
2015-06-11 11:31:59 +02:00
Christian Grasser 9d9be045ae avoid access violation with empty string s -> length == 0 2015-06-11 11:22:05 +02:00
Christian Grasser e0bc440df7 - avoid compiler warning about unused parameter 2015-06-11 10:10:43 +02:00
Christian Grasser 2a9b099a08 - avoid build issue for unicode:
2>..\lexers\LexUser.cxx(1406): error C2664: 'void GenerateVector(vvstring &,const char *,char *,int)' : cannot convert argument 3 from 'const wchar_t [3]' to 'char *'
2>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
2015-06-11 10:10:19 +02:00
Don Ho 4ac665d0ce [UPGRADE] Upgrade Scintilla from v3.34 to v3.56. 2015-06-07 23:19:26 +02:00
Don Ho 9de1967bf3 [BUG_FIXED] Fix a crash issue for old processors due to SSE2 instruction.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1324 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-31 22:58:26 +00:00
Don Ho b50d2a9a29 [NEW] Add VS 2013 support.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1278 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-10-14 22:29:23 +00:00
Don Ho 545f4f943f [UPDATE] (AUTHOR Chris Covier) Make Scintilla project compilable under VS2013.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1199 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-03-09 19:44:04 +00:00
Don Ho 4c6ea9795e [UPDATE] Remove an incorrect character.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1169 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-01-05 23:15:13 +00:00
Don Ho 01f3148e0e [UPDATE] (Author: Neomi) Remove unnecessary modification in Scintilla.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1106 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-02 08:30:29 +00:00
Don Ho 9e0bf8b63a [UPDATE] Rename "block comment" to "Single line comment" and "stream comment" to "block comment".
[UPDATE] Remove invalid command "Online Documentation".

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1105 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-01 13:11:06 +00:00
Don Ho cb7806e94c [UPDATE] Update Scintilla to 3.3.4
[BUG_FIXED] (Author: Dave Brotherstone) Fix scintilla crash bug while closing a document.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1104 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-08-28 00:44:27 +00:00
Don Ho 5e122d0089 [BUG_FIXED] (Author: Ivan Radić - aka Loreia) UDL 2.1 minor bug fixed.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1018 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-02-02 16:29:30 +00:00
Don Ho d60466eed3 [BUG_FIXED] (Author: Ivan Radić - aka Loreia) UDL 2.1.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1012 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-27 01:03:53 +00:00
Don Ho ffdebe56ed [BUG_FIXED] (Author: François-R Boyer & Dave Brotherstone) Regex search and replace haning problem fix.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1009 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-25 00:46:29 +00:00
Don Ho bcb502808e [BUG_FIXED] (Author: Dave Brotherstone) Fix find "\r\n" in RegExpr mode.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@990 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-12-02 19:29:23 +00:00
Don Ho b31da09c2b [BUG_FIXED] (Author: Ivan Radić, aka Loreia)
- Expanded max array style from 24 to 30 (to accomodate for GlobalStyles).
- UDL Styler dialog has removed close cutton because it is causing application crash in Npp v.6.2
- Fixed bug where "Folder in code" keywords were detected even outside of commnets.
- Fixed bug where 0xfece57 was picked as number, but 0xfe57ce was not.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@972 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-20 16:20:57 +00:00
Don Ho cc1c928b8c [BUG_FIXED] (Author: Ivan Radić, aka Loreia) Fix a minor issue of UDL2.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@967 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-07 21:49:52 +00:00