65 Commits

Author SHA1 Message Date
Vince
80d98f05b2
Add tab stops in Function List
Add tab stops in Function List to switch between search field and list.

Fix 8665, close #8924
2020-10-01 04:10:35 +02:00
Vince
aaa93025f0
Add ESC key in Function List to switch to edit window
Fix #8886, close #8890
2020-09-29 03:01:22 +02:00
Don HO
f3fce2de4a
Fix Escape key on FunctionList's text field causing bell sound
https://community.notepad-plus-plus.org/topic/19995/notepad-7-9-rc?_=1600343113189
2020-09-17 13:34:18 +02:00
Scott Sumner
5bcbd9e5ab Add Escape keypress in functionlist searchbox clears its text
Fix #8667, close #8789
2020-09-05 18:20:25 +02:00
Udo Hoffmann
5e76ba238e
Fix function list focus problem on double clicking
Change focus to edit window after activating function in function list

Fix #4356, close #8370
2020-06-13 17:40:07 +02:00
Don HO
3de506bf48
Update copyright
Close #5919
2020-04-04 23:03:18 +02:00
Don HO
cb8fd0c438
TreeView refactoring
Shift the allocation of TreeView item's "lParam" member from TreeView class to the derived class, so "lParam" could be the pointer of anything, not necessary anymore the string pointer.
2020-03-27 13:05:54 +01:00
Don HO
585cc27b1f
Make TreeView sorting unrecursivable
And update coding style.
2020-03-26 14:54:04 +01:00
Christian Grasser
c741f83bde
Update makefile for mingw gcc builds
Close #4145
2019-11-07 22:13:47 +01:00
Don HO
06db9ee338
Code improvement for NppParameters 2019-08-14 22:13:24 +02:00
Don HO
bbc55d06f2
Code improvement for WcharMbcsConvertor 2019-08-14 01:54:56 +02:00
Don HO
2d15d90e02
Fix local variable shadows outer variable issues 2019-07-08 14:39:14 +02:00
Don HO
7fe3cda1d0 [EU-FOSSA] Use wcscpy_s instead of lstrcpy to prevent from buffer overflow 2019-02-11 02:07:04 +01:00
Don HO
985fa654b9 Fix Javascript not working regression in Function list since 2016
due to 2 commits:
5d438aa
fb189fa
2018-04-09 00:35:53 +02:00
Don HO
01cfe5d083 Rename label in functionlist output json 2018-04-04 01:14:11 +02:00
GaryBloom
a724cc49a6 Function List enhancement: Highlight the current function based on cursor position
Closes #715, close #4113
2018-03-11 01:27:32 +01:00
dail8859
8c84e92349 Fix EOLs 2018-02-27 20:31:22 -05:00
SinghRajenM
fcb3ce31a0 Code improvement
Closes #4085
2018-01-28 23:22:47 +01:00
Don HO
b033d907b2 Export function list in json format 2017-09-11 02:46:15 +02:00
Don HO
78ea2110d2 Fix export fuctionlist bug 2017-08-07 02:00:50 +02:00
Don HO
1d58c1d3d3 Add function list export feature
"notepad++.exe -export=functionList -lcpp c:\funcListTests\whatever.cpp"
will open whatever.cpp as cpp file, then parse this file to write the
funcLst result on disk, then exit Notepad++.
The result will write into c:\funcListTests\whatever.cpp.result.
2017-08-06 00:03:18 +02:00
Don HO
d4bcec1c01 Lost in Translation 3 2016-08-11 22:29:39 +02: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
797765173d Improve code quality by using static code analysis tool (cppchecker) 2016-07-18 02:08:29 +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
Don Ho
49260a1dee Fix functionlist not working for Javascript regression. 2015-10-19 23:32:44 +02:00
Don Ho
ea548169cc Fix a display regression in functionList Panel.
Fix a regression inserted by:

bd6d650e8a
2015-09-03 20:50:51 +02:00
Rikk
bd6d650e8a Fix functionList display problem under high DPI (closes #739, fixes #733)
- Fix: when search field is not empty, Function List's background color does not follow Npp theme.
- Fix: close button and textual search box now scale in high-dpi.
- Fix: icons' image not centered in icons' rectangle.
- Fix: when double-clicking the panel's toolbar, it briefly displayed a dialog to customize icons, but we can't use it there.

Known issues:
- I couldn't made toolbar icon images scale properly in high-dpi; I imagine they need to be in a ImageList, something I don't know how to use.
- TreeView icons should also be scaled, and I've done it, but they displayed strange gray background, so I decided to leave it as is now.
- It would be better to wrap icons when they don't fit in panel's width, but I don't know how to refresh the toolbar properly.
2015-09-03 17:24:27 +02:00
Damien GERARD
660951bdf6 Coding style / Code cleanup 2015-08-04 18:09:17 +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
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
Don Ho
e9e710a3d4 [UPDATE] Unprecompile headers (part 2) 2015-05-31 22:40:07 +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
b139d878e0 [BUG_FIXED] Make icons' background color of functionList and projectManager transparent.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1272 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-08-10 23:22:04 +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
a171d5fbdc [ENHANCEMENT] Add button tips in function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1138 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-25 07:32:04 +00:00
Don Ho
81f5a3613e [BUG_FIXED] Fix sort settings bug in function list while reloading.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1137 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-21 21:50:04 +00:00
Don Ho
641c1af0e1 [ENHANCEMENT] change the icon buttons of functionlist.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1136 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-20 21:41:22 +00:00
Don Ho
fbf9b8983a [ENHANCEMENT] Enhance GUI in function list (in progress).
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1135 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-19 09:44:28 +00:00
Don Ho
7e6e8f6fba [ENHANCEMENT] Enhance sort feature in function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1134 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-18 07:10:46 +00:00
Don Ho
d3afa41a9f [NEW_FEATURE] Add sort button in function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1133 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-15 12:00:10 +00:00
Don Ho
61a78b6628 [BUG_FIXED] Fix the error background bug of functionList.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1132 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-14 07:07:39 +00:00
Don Ho
ea1f12e7a2 [ENHANCEMENT] Warn to user for unfound result of functionlist.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1131 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-14 06:09:48 +00:00
Don Ho
0da8942be8 [NEW_FEATURE] Add search ability into function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1130 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-10-12 09:10:03 +00:00
Don Ho
f1e75559b2 [ENHANCEMENT] Add reload feature in function list.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1126 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-24 20:06:07 +00:00
Don Ho
3a593808a5 [NEW_FEATURE] Add User Defined Languages support for the build-in function list.
[BUG_FIXED] Fix a minor problem of file extension support for the build-in function list.
[NEW] Add php, perl, xml, batch, ini and nsis for the build-in function list.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1113 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-09-08 22:02:26 +00:00