Commit Graph

3368 Commits

Author SHA1 Message Date
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
Scott Sumner
13f0717a1b
Improve compatibility for IDC_FINDNEXT and IDC_FINDPREV macros
Close #8064, close #8065
2020-03-26 15:10:15 +01:00
Don HO
585cc27b1f
Make TreeView sorting unrecursivable
And update coding style.
2020-03-26 14:54:04 +01:00
Don HO
0c80bf8cb9
Apply the better style on previous commit 2020-03-22 05:21:31 +01:00
Scott Sumner
d36ea6124a
Editing tab closure activates MRU tab instead of rightmost tab, if MRU behaviour enabled
MRU = Most Recently Used/Active
Thanks to gstavi's patch:
https://github.com/gstavi/npp/blob/master/patch/0005-Use-MRU-when-choosing-new-file-to-activate-after-clo.patch

Close #885, close #8059
2020-03-22 04:54:30 +01:00
Don HO
3ca82bebf1
Make retro-compatible to 7.8.4 and older versions for recorded macro
In the following commit (521ff86665) IDC_FINDNEXT & IDC_FINDPREV are removed from macro record and play. This change broke old macro playing if IDC_FINDNEXT or IDC_FINDPREV was recorded in the macro:
https://community.notepad-plus-plus.org/topic/19011/notepad-v7-8-5-released

Adding IDC_FINDNEXT or IDC_FINDPREV & making them treated as IDOK make fix this broken issue.
2020-03-17 02:52:00 +01:00
Don HO
2f9f395eff
Fix Chinese translation order issue 2020-03-10 04:59:15 +01:00
Don HO
c6fdb89f88
Add support of smart-indenting for Perl and Rust
Close #7980, fix #7958, fix #7961
2020-03-10 03:49:51 +01:00
Scott Sumner
b5bd5bb026
Make Replace-in-Files confirmation dialog modal
In order to prevent from crashing

Fix #7995, close #8022
2020-03-09 21:03:04 +01:00
Don HO
32fc08c7e8 Notepad++ 7.8.5 release 2020-03-06 01:18:44 +01:00
Don HO
5c7660b7b9
Fix inaccurate sorting result in Windows dialog
Both sorting results of size & type columns in Windows dialog were incorrect.
Now they are fixed.
2020-03-04 10:45:34 +01:00
schnurlos
b645875196 Update german.xml
Following eb6da8195b

Close #7993
2020-03-03 03:25:58 +01:00
conky77
ae96df5f9f Update Venetian translation
Close #7994
2020-03-03 03:23:10 +01:00
rddim
f98667d5ee Update Bulgarian localization
Close #8001
2020-03-03 03:20:26 +01:00
Don HO
eb6da8195b
Fix new added size info translation issue in Windows dialog 2020-03-01 03:01:42 +01:00
Don HO
5f34579008 Enlarge 2 last columns in Windows Select dialog 2020-02-28 18:52:56 +01:00
eljefe7000
b9af79f86c Add the document size column to the Windows Selection dialog
Close #7905, close #7971
2020-02-28 18:48:12 +01:00
nulLeeKH
e9b0cfedfd
Update Korean translation
[FIX] Apply opinions of issue #7979 in korean.xml - 1

Close #7982
2020-02-27 18:53:01 +01:00
Scott Sumner
521ff86665
Remove unneeded IDC_FINDPREV and IDC_FINDNEXT from macros
Fix #7928, close #7976
2020-02-26 22:26:20 +01:00
Don HO
40b49d0b66
Make better variable names & coding style 2020-02-26 01:37:00 +01:00
Jorge Rocha Gualtieri
66893f980f
Fix "Monitoring" not detecting all file changes issue
This patch adds an active monitor to detect changes on files since Windows isn't honoring FILE_NOTIFY_CHANGE_SIZE or FILE_NOTIFY_CHANGE_LAST_WRITE on ReadDirectoryChangesW correctly if the file writer keep it opened.
This solution is based on GNU tail for Windows does. It does it at
static void tail_forever (struct File_spec *f, int nfiles, double sleep_interval) on tail.c.

Fix #3142, fix #4955, fix #4527, close #7969
2020-02-25 22:16:57 +01:00
Don HO
e309ec23ec
Fix duplicate names in stylers.model.xml
Fix #7965
2020-02-25 02:28:43 +01:00
Scott Sumner
8de226dca7
Make view-in-browser commands macro recordable
Fix #7851, close #7975
2020-02-24 23:33:40 +01:00
Don HO
62efa463b0 Fix Notepad++ doesn't exit correctly while Windows 10 update restart
If Windows 10 update needs to restart, and Notepad++ has one (some) dirty document(s), and "Enable session snapshot and periodic backup" is not enabled, then WM_ENDSESSION is send with wParam == FALSE, not waiting for WM_QUERYENDSESSION's treatment finish. In this case Notepad++ should quit after saving its current session.

Fix #6086, fix #5831, fix #7854
2020-02-24 03:57:15 +01:00
pan93412
4d5abdf1c8 Make some Chinese translation more accurate
Close #7954
2020-02-20 16:54:53 +01:00
Hen Ry
7c40030a10 Fix an entry in german.xml
Close #7953
2020-02-20 15:46:55 +01:00
Don HO
cfa3041c4d
Enhancement of preventing from null pointer exception of localtime
Fix #7952
2020-02-18 05:14:21 +01:00
Scott Sumner
d3cb2ceb36
Add external sound control capability for unsuccessful search bell
Fix #7950, close #7951
2020-02-17 03:37:18 +01:00
Don HO
1c55e0daa7
Fix loading localization file (-L) not working regression 2020-02-15 04:52:46 +01:00
Don HO
f3261f8620
Fix auto-updater disabling not working
Fix #5375
2020-02-14 01:33:16 +01:00
Scott Sumner
4eac7d8e94
Make Count command respect Backward-direction and Wrap-around options
Fix #7876, close #7917
2020-02-09 19:19:33 +01:00
Scott Sumner
4cc6215e63
Implement issue 905 to make Find window remember its position across runs
Close #905, close #7898
2020-02-07 23:31:29 +01:00
gnodarse
fcf00c7f53
Fix broken link
Close #7919
2020-02-06 13:14:01 +01:00
conky77
3491d3f3ed
Fix Venetian translation
Close #7912
2020-02-06 13:08:20 +01:00
Don HO
a674f96cff
Update ISSUE_TEMPLATE.md
Close #7844
2020-02-06 02:19:43 +01:00
Byungjo
33a8fc86a0
Update korean
Close #7846
2020-02-06 02:06:45 +01:00
Timmy Almroth
5512b90dad
Update Swedish localization
Close #7893
2020-02-06 01:47:23 +01:00
Don HO
ca1ec9b506
Make README.md more readable 2020-02-05 20:00:45 +01:00
Don HO
409336963b
Add 2 entries in README.md
Add License & Contribution entries.
2020-02-05 18:44:42 +01:00
György Bata
bfa9eb69a4
Hungarian translation update for 7.8.4
Close #7907
2020-02-05 14:45:22 +01:00
Don HO
9089b643f6
Update CONTRIBUTING.md 2020-02-03 23:52:52 +01:00
Don HO
a6b02b5803
Add a quote from Alexandria Ocasio-Cortez
"No one ever makes a billion dollars.
You TAKE a billion dollars."
2020-02-01 09:56:22 +01:00
Don HO
401360912b
Update irish.xml 2020-01-31 10:21:07 +01:00
Don HO
5c069cfa24
Add Irish localization file 2020-01-31 03:13:36 +01:00
Don HO
c2c94b9855
Update Slovenian and Spanish localization files 2020-01-31 02:35:40 +01:00
Don HO
1eb5f43886 Notepad++ release 7.8.4 2020-01-30 02:07:41 +01:00
Don HO
6e6341cc61
Make some codes conform to the defined coding style 2020-01-28 02:20:44 +01:00
Don HO
230cd415dd Merge branch 'master' of https://github.com/notepad-plus-plus/notepad-plus-plus 2020-01-27 10:45:25 +01:00
Waldi Ravens
0db5b6d3d8 Fix HashFromDlg title bar localization issue
Fix #7884, close #7885
2020-01-27 10:36:07 +01:00
conky77
1c786b6ccc
Update Venetian translation 7.8.3
Close #7842
2020-01-26 02:28:44 +01:00