66 Commits

Author SHA1 Message Date
Don Ho
b0e19a786e Remove more conversion from Scintilla 2022-01-16 23:58:27 +01:00
Don Ho
e87342fef6 Fix Notepad++ dockable panels lose bg color issue when swiching it back
It's rather a bug of Windows' API than the bug of Notepad++. The visual glitch comes from TreeView (FunctionList, Folder As WorkSpace, Project Panels etc ...) but ListView (ASCII Insertion Panel & Document List) works fine.
I have done some fixes about this issue. However, it's not perfect when use mouse to do the snapshot.
OTOH, once the click done to show Notepad++, it becomes normal.
This is the best fix I can offer for this bug.

Fix #2202, fix #2937, fix #5980, fix #8980, fix #9905, fix #10091
2021-12-01 02:32:33 +01:00
ozone10
68d293e711 Allow custom color for Document Map
Fix #10052, close #10422
2021-08-26 01:03:18 +02:00
Don HO
1a9307b02d Add padding options in the edit zonze
Fix #2323
2021-04-11 19:59:30 +02:00
Don HO
dbac42edd0
Use unary operator '!' instead of "not" 2021-02-20 04:44:34 +01:00
Don HO
ab5c1d3e2a
Upgrade Notepad++ License
Update GPL version from v2 to v3.

Fix #9425, close #9441
2021-01-24 01:51:19 +01:00
Udo Hoffmann
f821f73110
Fix Document Map regression under Windows 7
Fix #8335, close #8336
2020-05-29 19:54:39 +02:00
Udo Hoffmann
bb6b24ce50
Improve Document Map precision
Fix #8294, close #8295
2020-05-24 21:36:13 +02:00
Udo Hoffmann
7bfaa042b9
Fix Document map overlay stuck to first monitor
This PR fixes the following effects:
1. Document map overlay remains visible after minimize to tray.
2. Document map overlay is left behind on current monitor after moving Npp with Windows+Shift+Arrow to another monitor.
3. Document map overlay escapes to another monitor without Npp, when Windows+Shift+Arrow is pressed while the input focus is at the document map.

Fix #1317, close #8280
2020-05-18 19:55:29 +02:00
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO
d22d1609ab
Upgrade Scintilla - Adaptation of PowerEditor part 2019-05-08 11:13:21 +02:00
Derek
0c55b381da Fix a bug where the document map highlights incorrectly when the view is scrolled past the end of the file.
Fix #4579, close #4580
2018-06-21 02:28:51 +02:00
Don HO
a43c9b9745 Add snapshot on document map feature 2017-04-25 09:28:24 +02:00
Don HO
20e669ff01 Add document snapshot feature (in progress) 2017-04-18 01:31:41 +02:00
Don HO
6a3d9e994d Fix a minor bug in "Show content in doc map on mous hover"
Fix a compiling error for x64 build
2017-03-14 09:09:01 +01:00
Don HO
fe463dc03a Check content via document map on hovering (in progress) 2017-03-13 02:10:47 +01:00
Don HO
b869163609 Check SciLexer.dll certificate
This fix is about the issue "Vault 7: CIA Hacking Tools Revealed"
published on Wikileak:
https://wikileaks.org/ciav7p1/cms/page_26968090.html
2017-03-08 02:52:58 +01:00
Don HO
97573c80a0 (In progress) New feature: check content via Document Map while mouse hovering on a inactivated tab 2017-03-05 14:03:02 +01:00
Don HO
37ed299743 Lost in Translation 2 2016-08-10 00:22:45 +02:00
Don HO
2e82a99649 Lost in translation
while (true)
{
conversion<C++>(C-Style cast );
}
2016-08-06 01:29:54 +02:00
Don HO
64d7535be1 x64 ready
1. Remove all warning while compiling in x64
2. Treat warning as error (W4) while compiling in x64
2016-06-05 20:30:22 +02:00
Christian Grasser
10dfc331bf merge with master 2015-06-08 13:39:07 +02:00
NN
def5952213 Merge branch 'master' into DlgProc 2015-06-03 07:19:34 +03:00
Christian Grasser
4a14960090 correct whitespace merge difference to master 2015-06-03 01:38:44 +02:00
Christian Grasser
d11cba6798 merge with master and resolve confilcts 2015-06-03 01:31:39 +02:00
Don Ho
246c8bd168 [UPDATE] Unprecompile headers (part 3) 2015-06-02 18:01:47 +02:00
NN
dbb43a729f DlgProc returns INT_PTR and not BOOL. Use correct prototype and remove casts.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms645469(v=vs.85).aspx
2015-06-01 21:30:41 +03:00
milipili
9f5f8d13c5 documentmap: ViewZoneDlg: fixed uninitialized variables
The real problem is `_viewZoneCanvas`, which can be used unitialized by `drawZone`.
2015-05-30 23:34:58 +02:00
Christian Grasser
c3697d2055 Cleanup usage of remaining Pre-Unicode interface usage of SetWindowLongPtrW, SetWindowLongPtrA -> SetWindowLongPtr; GetWindowLongPtrW -> GetWindowLongPtr 2015-05-27 22:59:46 +02:00
Christian Grasser
311c7d578e Further x86, x64 compatibility fix by reinterpret_cast<LONG_PTR> instead of reinterpret_cast<LONG> for SetWindowLongPtr 2015-05-27 22:47:40 +02:00
Christian Grasser
4d694ea704 Add patch from http://sourceforge.net/p/notepad-plus/patches/648/ by Xileer Torias with comment:
Updated the GetWindowLongPtr and SetWindowLongPtrW nIndex reference as per https://msdn.microsoft.com/en-us/library/windows/desktop/ms633585%28v=vs.85%29.aspx and https://msdn.microsoft.com/en-us/library/windows/desktop/ms644898(v=vs.85).aspx

This alters the function to be compatible with both x86, and x64 as to simplify future x64 builds.
2015-05-27 22:06:53 +02:00
Don Ho
428df19cbc [NEW] Document map follows the current text direction (RTL/LTR).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1303 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-12-07 16:43:31 +00:00
Don Ho
a8ebab987f [BUG_FIXED] Update internal docking dialog colors while selecting themes.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1260 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-18 08:58:52 +00:00
Don Ho
0e36da7399 [ENHANCEMENT] prevent switched-in document from parsing for function list and document map while these 2 panels are hidden.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1159 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-12-19 11:22:33 +00:00
Don Ho
6264ef03d0 [ENHANCEMENT] Code optimization.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1073 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-07-08 00:12:50 +00:00
Don Ho
3b9f24ba51 [NEW] Add FunctionList toolbar button.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1054 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-06-04 23:46:24 +00:00
Don Ho
d7cce21309 [RESTORE_FEATURE] Restore remembering session folding feature with the optimized algorithm.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1036 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-04-20 23:10:07 +00:00
Don Ho
25ae135f82 [BUG_FIXED] (Author: Ivan Radić, aka Loreia) Fix link hotspot colourising issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@970 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-10-19 00:20:40 +00:00
Don Ho
8d4f1a36c5 [NEW_FEATURE] (Author: Andreas Jonsson) Make Document map togglable via menu.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@931 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-07-21 00:46:03 +00:00
Don Ho
86f444f829 [BUG_FIXED] Fix un regression: folding/unfolding performance issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@919 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-06-26 00:55:01 +00:00
Don Ho
a896922136 [UPDATE] Update the GPL of all project source code to avoid the bundle version made by the tiers sites : cnet, softonic and 01net.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@896 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-15 16:54:38 +00:00
Don Ho
21b729be97 [BUG_FIXED] Fix selectAll-copy-paste on the same document crash bug while document map has been activated.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@893 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-13 12:44:33 +00:00
Don Ho
0bc0a42ec0 [BUG_FIXED] Fix selecting all the text in doc map while clicking on doc map dialog caption.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@890 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-08 10:44:10 +00:00
Don Ho
88ea280978 [BUG_FIXED] Fix find/replace bug while doc mapper is opened.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@889 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-04 19:50:19 +00:00
Don Ho
8c27c2a20d [BUG_FIXED]
1. User Defined Language syntax highlighting problem while Doc Map is opened.
2. Chinese characters showing problem while Doc Map is opened.
3. the old behaviour (comment/uncomment w/o selection) is restored.


git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@888 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-04-02 01:39:09 +00:00
Don Ho
870a4f1050 [ENHANCEMENT] Enhance doc map.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@885 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-03-18 23:48:54 +00:00
Don Ho
c1c738348d [ENHANCEMENT] Doc map: Improve wrapping operation.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@884 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-03-18 23:16:54 +00:00
Don Ho
989a970dd2 [ENHANCEMENT] Enhance doc map.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@883 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-03-15 01:28:31 +00:00
Don Ho
671e7b1b4d [ENHANCEMENT] Doc map: Improve wrapping operation.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@882 f5eea248-9336-0410-98b8-ebc06183d4e3
2012-03-14 20:47:01 +00:00