Commit Graph

3163 Commits (aca736b766ee8781b9ea9e2cbf56ee92c2b1abd8)

Author SHA1 Message Date
Don HO c94f84000b
Remove beep while ESC & TAB keystroke in Function list 2020-10-02 02:08:57 +02:00
Udo Hoffmann fc470152e1
Remove TreeView Beep when pressing return key
Fix #8938, close #8940
2020-10-02 00:49:32 +02:00
Scott Sumner 8c1e15377f
Add missing SCI_VCHOMExxx to Shortcut Mapper
Fix #8932, close #8936
2020-10-01 22:10:41 +02:00
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
Don HO 8516c7b48e
Update Spanish localization file 2020-09-30 16:05:02 +02:00
Vladimír Kubala 522b0b6b4d
Update Slovak translation 2020-09-30 09:31:07 +02:00
Don HO bb175082d2
Fix the build error 2020-09-30 04:47:32 +02:00
Don HO 285172e36b
Make alternate icons of Tab bar changing dynamically 2020-09-30 03:33:37 +02:00
Scott Sumner 79cf60f498
Add alternative icon set for tab bar
Close #8068, close #8871
2020-09-30 03:04:06 +02:00
Vladimír Kubala aabba6845e
Update Slovak translation 2020-09-29 11:59:17 +02:00
Vladimír Kubala 79a4183eaf
Update Slovak translation 2020-09-29 11:50:57 +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
Youssef Victor de202d9a14
Add C# 9.0 keywords for auto-completion
Close #8872
2020-09-29 02:32:51 +02:00
Roshni-P 861f863ef7
Fix closing file in 2nd view not removed from Doc Switcher
Fix #8800, close #8862
2020-09-29 02:02:40 +02:00
Simon Buhrow 98c4990175
Add new VHDL-2019 keywords into langs.model.xml
Fix #8511, close #8863
2020-09-29 00:14:47 +02:00
Scott Sumner 61bf9bd3c4
Add case insensitive lines sorting
Close #4479, close #8869
2020-09-28 23:29:33 +02:00
Udo Hoffmann 1a37b64fe6
Avoid unnecessary notifications
This is an enhancement of PR #8475 which fixed (and still fixes) #8466.

It takes into account, that `WM_ACTIVATE` is not called only, when the window is being activated, but also, when the window is being **de**activated. In the latter case it is not necessary to do the activation actions.

This was pointed out to me by @Predelnik, who had a problem with the additional `SCN_UPDATEUI/SC_UPDATE_H_SCROLL` notification occurring when the window is being deactivated, see https://github.com/Predelnik/DSpellCheck/issues/221#issuecomment-696652074 for details.
2020-09-28 23:16:28 +02:00
Don HO 2f90a0de18
Update Slovenian localization file 2020-09-28 18:51:41 +02:00
Jack Tolfree 174ae29f18
Add ESC keystroke shortcut to close Search Results Window
Closes the focused Search Results Window by hitting ESC.

Close #2946, close #8898
2020-09-28 18:43:04 +02:00
Don HO 320aca73be
Add "Open Containing Folder as Workspace" command
and add this command in context menu of tabs.

Close #3028, close #8880
2020-09-28 17:57:57 +02:00
ArkadiuszMichalski b0b119411b
Add ^data- to langs.model.xml to support data-prefixed attributes in HTML
Tip from https://sourceforge.net/p/scintilla/feature-requests/1278/.

Fix #6200, close #8895
2020-09-28 17:53:18 +02:00
Don HO 30ab547198 Notepad++ v7.9 release
Notepad++ Stand with Hong Kong edition
2020-09-28 00:48:14 +02:00
Don HO a66e8a2646 Fix release binary name format 2020-09-24 01:36:45 +02:00
Don HO 85914b3c66
Change the package name for the future releases
Fix #5415
2020-09-23 19:32:12 +02:00
Don HO e4d45436b4
Change the comment symbol of properties file to the standard one
Fix #8464
2020-09-23 15:58:53 +02:00
Don HO 95dec01e27
Fix 2 typos in all stylers files
Fix #3578
2020-09-20 01:54:44 +02:00
Don HO a2264e5b36
Restore Folder as Workspace's latest selected item of last session on start up
Fix #8353
2020-09-19 00:36:03 +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 93ae69e92d Scroll visible area horizontally so a FindNext match is fully viewable
Fix #8804, close #8818
2020-09-14 19:33:04 +02:00
Don HO d82aba7b0c Improve the computing of number of digit in line number margin display 2020-09-14 14:33:51 +02:00
Don HO 8e73f5d116 Simplify the logic and improve the performance 2020-09-14 14:02:07 +02:00
Don HO fe18e41d5d Fix inaccurate line margin update with word wrap enabled
And improve the performance of line margin update.
2020-09-14 02:31:44 +02:00
Don HO 00841d5a22 Fix build warning issue by using v140_xp 2020-09-12 16:32:53 +02:00
jofon c5e594e3ea Fix Monitoring not scrolling to the last line with word wrap enabled
Fix #8850, close #8851
2020-09-12 15:52:10 +02:00
Don HO c607e427fc Fix auto scroll to last line after update not working
This fix comes from the suggestion of this thread:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8782#issuecomment-690752536

Fix #8477, fix #8214
2020-09-11 16:05:06 +02:00
Don HO 009563f52d Update 2 localization files 2020-09-10 19:50:37 +02:00
schnurlos ee3555b968 Update german.xml to v7.9
Following last commit 55d671719c

Close #8835
2020-09-10 16:02:57 +02:00
xomx 2f3594da2b Update czech.xml to v7.8.9
Close #8836
2020-09-10 16:00:25 +02:00
Bruce Yoon f853d306e2 Update korean 7.9
Close #8837
2020-09-10 15:54:47 +02:00
Don HO 6d939d3e79 Add some languages for -L flag of command line
irish.xml, aranese.xml, extremaduran.xml, kabyle.xml, ligurian.xml and samogitian.xml are added for -L flag.

Fix #8347
2020-09-09 23:14:59 +02:00
conky77 97f5cb364f Update Venetian.xml to 7.8.10
Close #8817
2020-09-09 22:32:52 +02:00
Vladimír Kubala 8bfe6c2d58 Update slovak.xml
Close #8646
2020-09-09 18:48:19 +02:00
popcorner 736bf89f57 Update chineseSimplified.xml
Close #8766
2020-09-09 18:40:32 +02:00
~GOLEM~ 87467d41f1 Update russian.xml to v7.9.0
Close #8656
2020-09-09 15:33:13 +02:00
Luca 0432e1d155 Update italian.xml
Correct some typos and position of entry 6237

Close #8543
2020-09-09 15:30:56 +02:00
Don HO 423bfcf289 Fix miss-placed Alt-F shortcut for Polish & German 2020-09-09 15:24:09 +02:00
Don HO 55d671719c Fix a shortcut causing a bug in Column editor dialog
The shortcut "&Format" in Column editor dialog is unecessary.
Furthermore, some characters 'o' are inserted in colomn mode when Alt-F is triggered (and Column editor dialog is closed).
2020-09-09 14:43:57 +02:00
ArkadiuszMichalski d42e3c7dda Update polish.xml to 7.8.9
Update polish.xml to 7.8.9 + one small correct.

Close #8552
2020-09-09 04:48:42 +02:00
yasmise 058f7ca7de Update japanese.xml to v7.8.9
Close #8649

Follow-ups for these changes:
* Add keyboard navigation ability to Column Editor (7d289139e8)
* Add 'Searching' subpage to Preferences (84ea510b67)
2020-09-09 04:44:31 +02:00
Patriccollu 02658f1ab4 Update Corsican translation for Notepad++ 7.8.8
Close #8537
2020-09-08 23:27:19 +02:00
Tmp341 8a4f646d25 Update Turkish localization
* According to 71b98a7, 95c6d1e, 19bdbd0 and 07b2a11 commits.

Close #8590
2020-09-08 23:16:49 +02:00
rddim 56c218eb40 Update Bulgarian localization
Close #8643
2020-09-08 23:14:02 +02:00
schnurlos 281352b75d Update german.xml to 7.8.9
Close #8645
2020-09-08 23:06:35 +02:00
Christian Grasser 648e6eb891 Integrate unit-tests for function list into appveyor CI
- run unitTestLauncher.ps1 on win32 debug builds (release is not possible due to missing scintilla crypto signing)
- SciLexer.dll needs to be taken from an official build, because boost is required for functionlist to be functional
- slightly optimized test script, added timing traces

It's for #8762

Close #8816
2020-09-07 01:43:06 +02:00
Don HO 399452167f Revert "Enhance info provided in Sel portion of main status bar"
This reverts commit 4ca25503bc, due to the performance issue.
2020-09-06 03:55:10 +02:00
Scott Sumner 8f3d7c1026 Disable controls on unshown tabs of Find dialog
Fix #8696, close #8760
2020-09-05 23:16:32 +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
Scott Sumner 4ca25503bc Enhance info provided in Sel portion of main status bar
No selection:
Example: Pos : 1,234
Meaning: Single caret is at position 1233 in document (user position 1234)

Single stream selection (no change to existing behavior):
Example: Sel : 27 | 2
Meaning: 27 characters selected on 2 lines

Multiple stream selections (this PR behavior):
Example: Sel 3 : 72 | 6
Meaning: 3 selections of 72 characters on 6 lines

Rectangular selection with no virtual space in column block (this PR behavior):
Example: Sel : 2x4 = 8
Meaning: selection of 2 rows(lines) by 4 columns; 8 characters in that selection

Rectangular selection with some virtual space in column block (this PR behavior):
Example: Sel : 2x4 🡢 6
Meaning: selection of 2 rows(lines) by 4 columns; 6 real characters in that selection

Close #8524, close #8780
2020-09-05 04:04:10 +02:00
Scott Sumner 3fd3e85a54 Enable and disable controls correctly for reg exp search mode in find-in-finder
Fix #8768, close #8776
2020-09-04 19:19:23 +02:00
Roshni-P e44ed31434
Add the ability to open the target file of a Shortcut (.lnk)
Fix #8483, close #8810
2020-09-04 14:29:39 +02:00
Udo Hoffmann d9959c1a7c
Enhance side panels behaviour: close a single panel instead of the entire stack
Close #8471, close #8753
2020-09-03 19:36:00 +02:00
Scott Sumner 00d75495c9
Disable ClearAll in FindAllInTheseFoundResults context menu
Fix #8691, close #8742
2020-09-03 18:41:04 +02:00
eljefe7000 7c7dcd8fcc
Fix an issue in Window dialog
The bug: after closing last file opened in 2nd view in Window sialog, the last file opened in 2nd view in Notepad++ is closed, but remain in Window dialog.
This PR is a workaround solution to close Window dialog if the last document is closed.

Fix #8697, close #8721
2020-09-02 21:02:15 +02:00
Rodrigo Cesar 230c7ef235
Add "nameof" reserved word of C# in auto-completion
Close #8633
2020-09-02 01:36:48 +02:00
Don HO 509c46b8f7 Make expected result corrected for C++ parser unit test 2020-09-01 02:36:16 +02:00
Don HO 56e4290501 Add the ability to have more than 1 unit-test per language
For function list, each language can have 2 or mor unit-test files.
The 2nd added unit-test file should be added in a sub-directory, the 3rd added unit-test file should be added into anather sub-directory, and so on.
2020-08-31 04:21:32 +02:00
Baptiste Thémine e72d4855de Update functionList.xml C++ parser
Improvements :
- add templated classes (and template-nested templated classes)
- add namespaced classes
- add classes which inherits another class without the accessibility keyword (private is optional for example)
- add classes with virtual inheritance
- add functions defined with the following keywords
  - (left) consteval|constexpr|friend|inline|static|virtual
  - (right) const|final|noexcept|override
- add functions defined with templated types (and template-nested templated types)
- add operator definitions

Close #5175
2020-08-30 18:13:23 +02:00
Don HO f3370ad46e Make Notepad++ invisible on startup while printing and unit-testing
The both flags -export=functionList & -quickPrint don't need Notepad++ GUI, so Notepad++ will start up invisiblely while one of these 2 flags is given. It doesn't prevent Notepad++ from being visible in the case of -export=functionList but this PR make unit-tests more bearable.
2020-08-29 20:20:54 +02:00
Don HO 38037035e4 Fix some Perl functions not being recognized in function list issue
Fix Perl functions without parentheses / with attributes are not recognized in function list issue.

Fix #4265, close #4266
2020-08-29 02:06:06 +02:00
Don HO f9fa72b9db Fix unit tests problem for Python 2020-08-28 23:47:29 +02:00
Don HO 71b532710f Fix Python the variable "def" not working correctly in Function List
Fix #3645, close #3672
2020-08-28 14:36:23 +02:00
Don HO fad747300a Update python unit-tests files 2020-08-28 00:18:19 +02:00
Nippur de Lagash 303874fee0 Fix Function list Python parser bad function name detection
Fix #3706, close #3790
2020-08-27 23:54:54 +02:00
Don HO 95a924f4f3 Make valid perl unit tests for function list 2020-08-27 21:17:08 +02:00
Don HO 34357a46cf Unit-tests for function-list
Close #8757, close #8762
2020-08-26 14:01:05 +02:00
Don HO a1a8b1354f Add a new easter egg. 2020-08-26 11:37:45 +02:00
Simon Buhrow ffd6bb0889 Add VHDL to functionList.xml
Add VHDL to functionList.xml supporting ENTITY, BLOCK, PROCESS, COMPONENT, ARCHITECTURE.

Close #8480, close #8509
2020-08-25 12:28:46 +02:00
Udo Hoffmann 84430809df Add back hovered blue underlined URLs
Fix #8654, close #8713
2020-08-23 12:28:14 +02:00
Don HO 30d4516d23 Fix an empty hole in Preference dialog if there's no GUP.exe
Fix #8749
2020-08-21 01:34:47 +02:00
Udo Hoffmann 0fe971ca88 Add keyboard shortcuts for switching to panels
Close #8719, close #8720
2020-08-19 02:22:43 +02:00
Scott Sumner b072479bb8 Fix column key sort with col block starting in col1 bug
Fix #8716, close #8717
2020-08-18 18:31:27 +02:00
Scott Sumner 209ccb97ec Add confirmation preference for Replace All in All Opened Documents operation
Close #8527, close #8708
2020-08-16 16:15:21 +02:00
Don HO 47bb08ee6c Add Irish localization 2020-08-16 15:23:33 +02:00
Udo Hoffmann ddd2e5fd23 Improve some ambiguous commands naming in Shortcut Mapper
Separate command shortcut names and menu names.

Fix #8689, close #8690
2020-08-15 18:44:12 +02:00
Scott Sumner 03eebf8496 Add RTL capability to localized msgbox function
Fix #8699, close #8701
2020-08-14 11:17:39 +02:00
Scott Sumner 394f762d6b Add SCI_SETCARETLINEBACKALPHA to the list of macroable commands in isMacroable function
Fix #8614, fix #5619, close #8684
2020-08-13 19:47:27 +02:00
Scott Sumner 3a2edb99c4 Add word-wrap option to find-results context menu
Close #8624, close #8681
2020-08-13 17:17:22 +02:00
Scott Sumner 7c28a120d9 Improve single-line indentation and dedentation functionality
Fix #5721, close #8623
2020-08-13 13:08:43 +02:00
Scott Sumner e0f0dc14da Update post-search tracking column for future caret offline movement
Fix #8670, close #8676
2020-08-13 00:40:06 +02:00
Scott Sumner 33f042932f Make (Find) dlgAlwaysVisible a true Preference setting
Close #7908, close #8651
2020-08-12 23:50:47 +02:00
Udo Hoffmann 783798e1ab Enable project panels toggle from menu
Close #8533
2020-08-11 00:04:16 +02:00
Udo Hoffmann a74877f262 Fix false hit result in Find-in-Finder
Fix #8435, close #8437
2020-08-10 15:54:26 +02:00
Udo Hoffmann f74e4ae159 Fix URLs not underlined immediately after copy/paste
Close #8685
2020-08-10 15:03:47 +02:00
Udo Hoffmann 6e5a2d5be2 Fix URL detecting issue
... while URL is in first line of document.

Fix #8668, close Fixes #8669
2020-08-10 04:15:33 +02:00
Don HO 1eb7d2bef5 Fix "Close all BUT this" regression
Due to commit a82819972a
2020-08-09 18:18:42 +02:00
Scott Sumner 5271b88fc3 Fix sorting by column key using incorrect key values
Fix #8674, close #8675
2020-08-09 13:44:25 +02:00
Scott Sumner ca3d514722 Add ability to sort lines randomly
Close #8682, close #8683
2020-08-09 04:19:08 +02:00
Don HO 1efac7dacb
Add a new easter egg
and tune up other easter eggs.
2020-08-07 17:38:16 +02:00
Don HO b8ee9fcc82
Add SQL keyword (ACTION) 2020-08-07 02:38:49 +02:00
Scott Sumner f1b059414b
Add an option to prevent right-click from canceling selection
Fix #8563, close  #8564
2020-08-06 20:11:10 +02:00
Scott Sumner 5ba7f99590
Add search scope to Find window status bar output
Close #8632, close #8639
2020-08-06 18:04:05 +02:00
Don HO a82819972a
Fix "Close All BUT this" looses current document data issue
If a non-existing file is open as the 1st tab (opened then file is deleted outside of Notepad++), and "Close All BUT this" is run, then current document will be closed.

Fix #8617
2020-08-05 04:49:30 +02:00
SciresM 64ba8d7855
Add some c++20 keywords to language model.
This enables syntax highlighting for keywords "concept", "consteval", "constinit", "requires".

Close #8638
2020-08-02 20:08:58 +02:00
Scott Sumner 5adb75dc89
Prevent redundant line-data copy when using Finder's rclick-Copy
Fix #8580, close #8620
2020-08-02 03:50:07 +02:00
Don HO c119dd41a2
Update French & Taiwanese Madarin translation for 84ea510b67 2020-07-30 18:24:32 +02:00
Scott Sumner 84ea510b67
Add 'Searching' subpage to Preferences for Find-Replace-Mark settings
Fix #8131, close #8541
2020-07-30 02:35:26 +02:00
Scott Sumner 7d289139e8
Add keyboard navigation ability to Column Editor
Fix #8488, close #8569
2020-07-28 19:31:05 +02:00
Scott Sumner 1182371e07
Allow user to start making a stream selection and then change to column block
Allow user to start making a stream selection and then change to column block by pressing ALT key during mouse or keyboard selection.

Fix #8555, close #8557
2020-07-28 12:03:44 +02:00
Scott Sumner 202f6de4e1
Allow 'Remove Consecutive Duplicate Lines' command to be mapped via Shortcut Mapper
Fix #8546, close #8547
2020-07-21 18:38:41 +02:00
Scott Sumner d42f13071d
Do not modify doc if sort when doc is already sorted
Fix #8558, close #8559
2020-07-20 17:13:34 +02:00
Udo Hoffmann b724a04eeb
Fix URL is opened inadvertently when clicking white space outside document
Fix #8581, close #8584
2020-07-20 14:49:06 +02:00
Don HO efd7b56af9 Make label length fit better on About box 2020-07-17 19:24:39 +02:00
Don HO 3b2d2bb300 Notepad++ v7.8.9 release
Notepad++ Stand with Hong Kong edition
2020-07-16 12:09:10 +02:00
Scott Sumner acb4e5ae18
Add ability to limit removal of consecutive duplicate lines to selected text
Fix #8459, close #8535
2020-07-08 03:52:28 +02:00
conky77 8f1b4aa6cc
Update italian.xml 7.8.7
Close #8385
2020-07-08 00:04:19 +02:00
Hiro5 e02a0c12b9
Update catalan.xml
Close #8396
2020-07-08 00:01:29 +02:00
schnurlos 745d30030f
Update german.xml to 7.8.7
Following 07b2a11 & c655a60

Close #8458
2020-07-07 23:58:53 +02:00
yasmise b538db08ae
Update japanese.xml to v7.8.8
* find-all in selected text (71b98a7a28)
* zero-length-match calltip (95c6d1ea1e)
* confirmation to Replace-in-all-opened-docs (19bdbd093c)
* Use DirectWrite (07b2a11e0a)

Close #8465
2020-07-07 23:56:16 +02:00
popcorner c9c900db5b
Update chineseSimplified.xml
Close #8491
2020-07-07 23:54:06 +02:00
conky77 3961cbc2ed
Update venetian.xml to 7.8.8
Close #8523
2020-07-07 23:27:34 +02:00
Don HO 4b8d83a8f8
Fix the regression of jump line failure via command line (-n)
This regression is due to 9387dcdaef
Fixed by using the provided solution:
https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8476#issuecomment-653826008

Fix #8476, fix #8477
2020-07-07 13:00:30 +02:00
Udo Hoffmann 8920dc40be
Fix Flickering cursor after double-clicking a found line
Fix #8487, fix #8522
2020-07-04 14:14:31 +02:00
Udo Hoffmann d18faf13fc
Fix Found line may not be centered if word wrap is on
Fix #8489, close #8516
2020-07-04 03:04:14 +02:00
Scott Sumner 8b93240c59
Fix condition where Join Lines does one too many lines
Fix #8503, close #8506
2020-07-02 18:10:53 +02:00
Scott Sumner 4bf662d031
Fix condition where Split Lines does one too many lines
Fix #8504, close #8507
2020-07-02 18:05:27 +02:00
Udo Hoffmann b935bc6bf3
Fix URL is not clickable in certain stuation while wrapped is enabled
Fix #5503, close #8467
2020-07-01 01:04:12 +02:00
Scott Sumner 5a2cabf14e
Fix stream sort of selected text doing one too many lines
Fix #8447, close #8453
2020-06-30 21:33:55 +02:00
Udo Hoffmann 267da64d33
Fix wrong horizontal scroll bar position after restoring Window position
Fix #8466, close #8475
2020-06-30 20:58:15 +02:00
Scott Sumner 53b03cc5c5
Fix Find-result window output tab-width incoherent issue
Hard-set tab-width in Find-result window to 4.

Fix #8406, close #8499
2020-06-30 19:52:32 +02:00
Simon Buhrow 7bdb3706f9
Add "COMMENT LINE BANG" for VHDL
Close #8500
2020-06-30 19:46:22 +02:00
Udo Hoffmann 5e2e167d3e
Fix Save function in Windows dialog
Fix #8455, close #8478
2020-06-30 19:39:33 +02:00
Don HO 930873a957
Update Spanish localization 2020-06-30 13:38:59 +02:00
Udo Hoffmann 3315303050
Fix URL Hovered colour disappears after modifying any Clickable Link Settings regression
Fix #8493, close #8496
2020-06-30 03:13:16 +02:00
Don HO 26d360dd9e Notepad++ 7.8.8 release 2020-06-28 17:17:49 +02:00
~GOLEM~ 1314af7d6f
Fix russian.xml for v7.8.7
Little fix
Added future line 6349

Close #8390
2020-06-23 20:40:33 +02:00
rddim 8e73a728b6
Update Bulgarian localization
Close #8411
2020-06-23 20:36:25 +02:00
Don HO 584b3fead4
Add "URL Hovered" style for themes 2020-06-23 12:18:44 +02:00
Don HO 07b2a11e0a
Add a new translation unit 2020-06-23 03:25:02 +02:00
Don HO c655a605a7
Update French and Taiwanese Mandarin localization files
According 19bdbd093c and 95c6d1ea1e
2020-06-23 02:52:18 +02:00
Scott Sumner 4e4e40c338
Allow scope of Remove Empty Lines to be limited by an active selection
Close #8428, close #8429
2020-06-22 23:34:43 +02:00
Scott Sumner d13795a37a
Fix wrong treatment of backslashes as escape sequences in autocompletion
Change autocomplete to not use regex mode replacement.

Fix #8397, close #8440
2020-06-22 22:37:14 +02:00
Scott Sumner 19bdbd093c
Add confirmation prompt to Replace-in-all-opened-docs command
Fix #5253, fix #8432, close #8438
2020-06-21 21:35:58 +02:00
Don HO 68d66a560c
Fix compiling warning 2020-06-21 05:15:41 +02:00
Don HO c5a0ed7c1a
Fix accented characters not found in "find in files" issues
Fix accented characters in ANSI files not found in "find in files" and "replace in files" commands issues.
This regression (in v7.7 from v7.6.6) is due to the upgrade of Scintilla from v3.56 to v4.14.

Fix #5825, fix #5830, fix #7668, fix #7773
2020-06-21 02:14:44 +02:00
Udo Hoffmann f7efc2abc0
Fix the focus not on the opening new file issue
Move focus to edit window when opening a new file.

Fix #8426, close #8442
2020-06-20 16:28:53 +02:00
Udo Hoffmann 6f09695c2d
Fix three small focus issues
Fix #8419, close #8420
2020-06-19 01:16:19 +02:00
Scott Sumner 95c6d1ea1e
Make regex zero-length-match calltip transatable
Close #8393, close #8414
2020-06-17 20:21:54 +02:00
Don HO abadbc6b21
Remove outdated comment 2020-06-17 03:00:24 +02:00
Udo Hoffmann f657618887
Fix URL underline always black, invisible in dark themes
Fix #8405, close #8409
2020-06-16 21:02:52 +02:00
Stefan Lederer fb5c30002f
Add Ctrl+Backspace ability to delete word for comboboxes in Find dialog
Close #8363, close #3809, close #8383
2020-06-16 03:01:37 +02:00
Scott Sumner 71b98a7a28
Add ability to find-all in selected text
Fix #7927, close #8133, close #8213, close #5089, close #8413
2020-06-16 01:39:19 +02:00
Udo Hoffmann 87dc9cc5d2
Fix Load project file by dragging doesn't work
Make workspace (project) & session xml setting files consistent while their file extensions are defined in Preferences dialog:
1. If I specify a session file in the command line (, or if I double-click a session file in the Explorer), not the session file itself is opened, but the session stored in it.
2. If I specify a workspace file in the command line (, or if I double-click a workspace file in the Explorer), not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
3. If I specify a session file in the `File` menu `Open Ctrl-O`, not the session file itself is opened, but the session stored in it.
4. If I specify a workspace file in the `File` menu `Open Ctrl-O`, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.
5. If I drag a session file to Npp, not the session file itself is opened, but the session stored in it.
6. If I drag a workspace file to Npp, not the workspace file itself is opened, but the Project Panel 1 switches to the specified workspace file.

That means that once an user extension is defined for these 2 types of file, Notepad++ stores only the session or the workspace but not opens the file itself. The session and workspace setting files are not supposed to be edited manually.

If a defined conflict happens (for example, a non session or workspace setting file with the defined extension), user can always remove the defined extension from Preferences dialog temporarily to open it.

cherry picked from commit 70e746b7a8fe44c9a1e724581ceb3b457138a474

Close #8374, fix #8324
2020-06-15 16:45:39 +02:00
Udo Hoffmann 58ded005bd
Fix Folder As Workspace double clicking issue
Fix input focus not in edit window after double click in Project or Folder As Workspace.

Fix #4656, fix #8361, close #8369
2020-06-14 01:59:09 +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 8bbe8c571f
Update Slovenian localization 2020-06-13 04:58:21 +02:00
Udo Hoffmann 0a821b60e2
Add an option to improve rendering special Unicode characters
... by using Scintilla's DirectWrite technology.
It allows ligature support if the font needed (for exemple "Fira Code") is installed.

Fix #2287, close #8326
Fix #442, fix #675, fix #813, fix #870, fix #1621, fix #3458, fix #4056, fix #4086, fix #4490, fix #8305
2020-06-12 19:16:39 +02:00
Don HO 723a555884
Update Spanish localization 2020-06-12 04:54:25 +02:00
Don HO 97a6862d82
Remove outdated quotes 2020-06-11 02:40:14 +02:00
Udo Hoffmann 6602840117
Fix block selection cursor position after TAB
Fix #8400, close #8402
2020-06-11 02:27:36 +02:00
Don HO b9c526dfcb Notepad++ 7.8.7 release 2020-06-09 00:02:00 +02:00
Don HO 5e262c8122
Add an non-UI option to allow regEx backward search
Set "regexBackward4PowerUser" to "yes" in config.xml to eanable this option.
2020-06-05 00:56:25 +02:00
ArkadiuszMichalski 766a380325
Update polish.xml to 7.8.7
Add missing translations from the latest version 7.8.7, some cleanup and fix https://github.com/notepad-plus-plus/notepad-plus-plus/issues/7903.

Close #8367
2020-06-04 17:50:28 +02:00
PeterCJ 18105aa882
Make cpp the first extension for C++
Since save-as appends the first extension from the list to all files, the first extension for C++ should be cpp, not h

Close #8368
2020-06-04 17:42:01 +02:00
Artem Polivanchuk a28dcb56ec
Update belarusian.xml (7.8.7)
Close #8360
2020-06-03 15:03:29 +02:00
conky77 aec68999b2
Update venetian.xml
Close #8365
2020-06-03 14:57:36 +02:00
Don HO 69ef27b654
Improve new style save file dialog
The right file extension (which correspond to document type) is selected while saving a new file in the new style save file dialog.
2020-06-03 14:32:43 +02:00
Don HO fa51c2af6e
Make URL hover foreground colour work again 2020-06-03 01:57:12 +02:00
Don HO c1d7898c24
Update belarusian.xml 2020-06-01 17:20:15 +02:00
Artem Polivanchuk 42c89df517
Update belarusian.xml
Close #8163
2020-06-01 16:57:24 +02:00
Udo Hoffmann c891c593d3
Fix clickable link regression
Fix #8354, close #8355
2020-06-01 14:03:25 +02:00
Don HO fce153a5fe Fix x86 build error 2020-05-31 12:21:59 +02:00
Don HO a49f027195
Mutual Recursion
The creation of Notepad++ is due to my need for a decent editor to edit the source code of Notepad++
2020-05-30 23:37:01 +02:00
Don HO d4124108bc
Enhance Save file dialog
Make file extensions shorter in the file extension list for Save file dialog, so it displays more nicely while user clicking the drop down commbobox.
2020-05-30 18:40:57 +02:00
schnurlos a8bde7fdaf
Update german.xml to 7.8.6
Close #8113
2020-05-29 22:51:16 +02: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 b73721f0b4
Add sub-menu bullets for cascaded Encoding and Language menus
Fix #8327, close #8328
2020-05-29 02:56:41 +02:00
yasmise 9b36ba102a
Update japanese.xml to v7.8.7
Close #8194
2020-05-29 00:05:58 +02:00
Scott Sumner 7cf43795ac
Add right-click context menu to bookmark margin
Close #8319, close #8320
2020-05-28 19:18:08 +02:00
Patriccollu 24252c02e1
Update Corsican translation for Notepad++ 7.8.7
Close #8334
2020-05-28 18:15:31 +02:00
Vladimír Kubala 9f1455a5ae
Update slovak.xml
Close #8332
2020-05-28 17:11:03 +02:00
xomx dbf14b80ad
Update Czech translation to v7.8.6
Close #8164
2020-05-28 00:42:05 +02:00
rddim e8873823e1
Update Bulgarian localization
Close #8192
2020-05-28 00:38:27 +02:00
Waldi Ravens f938bcbb43
Update dutch.xml to 7.8.7
Close #8205
2020-05-27 20:44:00 +02:00
Tmp341 4fbdaa256a
Update Turkish Localization
Updated according to 924e4b2, 2b345c8, f637901, 2b713fb and 5a95153 commits. Hope nothing missed.

Close #8272

Btw, ``<replace-in-files-confirm-filetype value="For file type :"/>`` is that file type means like ``txt`` or ``type this``?
2020-05-27 20:36:25 +02:00
~GOLEM~ 64229ee003
Update russian.xml
Close #8259
2020-05-27 20:26:43 +02:00
Artem Polivanchuk 51518aeca9
Update ukrainian.xml
Close #8135
2020-05-27 20:22:18 +02:00
Udo Hoffmann aba75b5643
Automatic file extensions for session/workspace while opening
Close #8317
2020-05-27 19:19:20 +02:00
Don HO e9e9e8daa9
Remove Irish translation due to its bad quality
Please check:
https://github.com/notepad-plus-plus/notepad-plus-plus/pull/8273
2020-05-26 18:53:30 +02:00
Udo Hoffmann 3f0627b75f
Display file name as root of workspace instead of "Workspace"
Close #8314, close #8315
2020-05-26 17:52:38 +02:00
Don HO b037bb5c95
Update Slovenian localization file 2020-05-26 17:20:15 +02:00
Don HO 93f7853333
Update a checkbox label and its translations 2020-05-26 05:12:42 +02:00
Udo Hoffmann edd746d310
Improve save (new style) dialog by adding file extension automatically
1. Add file extension automatically while changing file type via combobox in new style dialog.
2. Add file extension automatically for session files and workspace files while saving in new style dialog.

Fix #4876, close #8311, close #8312
2020-05-26 02:45:41 +02:00
Udo Hoffmann bb6b24ce50
Improve Document Map precision
Fix #8294, close #8295
2020-05-24 21:36:13 +02:00
Udo Hoffmann cf2175e479
Fix wrong project panel at start by openning a project via command line
Fix #8126, close #8161
2020-05-23 20:04:23 +02:00
Udo Hoffmann 3a9a31afb4
Include current ANSI codepage into debug information
Close #8303, close #8306
2020-05-23 19:38:22 +02:00
Udo Hoffmann e27d1a94c9
Prevent suggestion of autocompletion while word modifying
Fix #330, close #8297
2020-05-21 19:57:04 +02:00
Udo Hoffmann 80c8ee59c9
Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue
Fix Mouse remains in clicked state after resizing docked windows:

The reason for the effect is the mouse hook procedure, which seems to be quite obsolete in contemporary systems: it catches the mouse messages and posts them a second time to the same window. I assume, that was ment to speed up the shifting of the splitters on "prehistoric systems" (That's what you call every system not supporting transparent windows). I see no regression without this hook.

What happens is, the hook catches the WM_LBUTTONUP message and posts it to DockingSplitter::runProc. Here, the hook is released and ReleaseCapture() is called. All fine.

But Windows fails to update its internal key state, when the WM_LBUTTONUP comes as an posted-by-a-hook message. So, if you call GetKeyState(VK_LBUTTON) after ReleaseCapture() in the original code, then it is still in a pressed state. Which confuses the Document Map later.

Fix #8285, close #8286
2020-05-19 16:36:40 +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
Udo Hoffmann 08c11816ce
Fix Document Map shows on all virtual desktops issue
Fix #1247, close #8271
2020-05-18 04:43:33 +02:00
dimon4eg a42c1674e9
Fix file reading failure (network problem) not detected issue
The current bug: the unconnected network or USB drive while loading a file from it is not detected. As a result Notepad++ opens an empty or uncomplete document.
This commit fix it by not opening anything and showing error box, if file reading fails.

Fix #3381, close #8267
2020-05-17 17:40:58 +02:00