Don Ho
88ee2eddb0
Fix the crash regression due to the array size increase
...
LexerStylerArray contains a MAX_LEXER_STYLE-element array (currently 100) of LexerStyler objects. Every one of them in turn via inheritance from StyleArray contains a SCE_STYLE_ARRAY_SIZE-element array (I tested with 99) of Style objects each at least 56 bytes in size. This in my test case requires over 550k of memory, and if LexerStylerArray is allocated on stack, the stack becomes corrupted. (Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10454#issuecomment-908732786 )
Inline arrays are a part of an object and increase its size while std::vector uses memory from the heap and stores internally only a pointer to a chunk of memory, thus the size of an object with a vector is substantially smaller than the one with an inline array. (Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10454#issuecomment-908780106 )
Fix #10454 , fix #10206
2021-08-31 01:38:55 +02:00
ozone10
68d293e711
Allow custom color for Document Map
...
Fix #10052 , close #10422
2021-08-26 01:03:18 +02: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
92bad0a60a
Upgrade Scintilla from 4.1.4 to 4.2.0
...
Fix #5822
2019-07-22 13:08:41 +02:00
Don HO
37c4b894cc
Upgrade Scintilla from v3.56 to v4.14
2019-05-04 21:14:48 +03:00
Don Ho
4ac665d0ce
[UPGRADE] Upgrade Scintilla from v3.34 to v3.56.
2015-06-07 23:19:26 +02: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
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
0152ded3ff
[UPDATE] Scintilla update from 2.21 to 2.25
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@742 f5eea248-9336-0410-98b8-ebc06183d4e3
2011-03-22 00:16:49 +00:00
Don Ho
059f9977ef
[UPDATE] Update Scintilla to v2.21.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@662 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-09-05 22:56:27 +00:00
Don Ho
f602782337
[BUG_FIXED] Fix Lexer SearchResult syntax highlighting bug.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@656 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-08-27 01:01:10 +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
Don Ho
a2dd828443
[UPDATE] Update Scintilla from 2.0.1 to 2.1.2
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@640 f5eea248-9336-0410-98b8-ebc06183d4e3
2010-07-12 22:19:51 +00:00
Don Ho
f5d7e44e2c
[NEW_FEATURE] Add Marker Jumper feature.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@561 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-11-15 13:35:15 +00:00
Don Ho
c84437b0d1
[UPDATE] Update Scintilla from v1.78 to v2.01.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@525 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-08-23 02:24:48 +00:00
Don Ho
8ee30eaef2
[NEW] Upgrade Scintilla from 1.77 to 1.78.
...
Signed-off-by: Don HO <don.h@free.fr>
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@499 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-06-24 19:09:31 +00:00
Don Ho
83ac50e3dd
[CLEAN] Remove C notion (void).
...
[BUG_FIXED] Fix a crash bug of docking manager
[ADD] Add LexMySQL.cxx
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@465 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-26 18:59:23 +00:00
Don Ho
9b645c68d3
[UPDATE] Update Scintilla from v1.75 to v1.77.
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@464 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-25 23:38:15 +00:00
Don Ho
9d4a4a9edb
Moved scintilla in trunk remotely
...
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@461 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-04-24 23:35:41 +00:00