Commit Graph

17 Commits (4b2997116898d7e69728396f46ab8648972b895d)

Author SHA1 Message Date
Don HO ade01204c8
Fix minor coding error & remove unused variables 2020-05-10 05:19:08 +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 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
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
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 9d9be045ae avoid access violation with empty string s -> length == 0 2015-06-11 11:22:05 +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 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 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 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 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
Don Ho a58e54bc68 [NEW_FEATURE] (Author: Loreia L.) New implementation of User Defined Language - UDL2.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@960 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-09-28 21:04:16 +00:00
Don Ho c1ff1bfafb [UPDATE] Adapt LexObjC LexSearchResult and LexUser to a new configuration.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@654 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-22 02:20:44 +00:00
Don Ho d4d42f8a1a [UPDATE] Update Scintilla from 2.12 to 2.20
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@653 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-21 23:59:56 +00:00