Commit Graph

4649 Commits (3750cf8fa34470e3196fd041254960d88534cd80)

Author SHA1 Message Date
Don Ho 3750cf8fa3 Fix horizontal scrolling with scroll wheel on Logitech MX issue
Fix #10490, close #11700
2022-05-20 15:05:13 +02:00
Shridhar Kumar b3a9ec5dfe Fix a small regression of DebugInfo
Select the entire DebugInfo text, with the command line params inserted.

This is a minor fix for an issue resulting from the last-minute changes in commit 0f8d572 (Add command line argument for plugin, a related notification and an API).

Close #11697
2022-05-20 02:24:18 +02:00
Don Ho 10f48e36ad Fix typos 2022-05-19 19:32:35 +02:00
ozone10 a577564699 Make dark mode groupbox edge to use edge color
Make also combobox border round on Windows 11 to match style, and fix visual glitch with transparency groupbox in Find dialog.

Fix #11693, close #11694
2022-05-18 20:12:19 +02:00
Don Ho c9b177bb9e Fix a memory leak in "Copy Binary Content" comment
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11671#issuecomment-1128975960
2022-05-17 18:08:40 +02:00
Don Ho 8a37bed448 Make file description shorter to suit the context menu
Fix #11688
2022-05-17 17:52:08 +02:00
Shridhar Kumar df438ea944 Fix crash on "Copy Binary Content" command without selection on edit zone
Fix also an issue that the word where the cursor is on in the edit zone is selected after running ABOUT box, that makes all the occurence of same word highlighted in the edit zone.

Fix #11639, fix 11671, close #11673
2022-05-17 17:09:29 +02:00
ozone10 def3aba4e6 Fix dark mode tab left-right control for floating docking containers
Fix #11683, close #11684
2022-05-17 14:51:58 +02:00
ozone10 c72dac69c5 Add dark mode support on shortcut mapper entirely
Fix #11530, close #11682
2022-05-17 04:44:43 +02:00
Shridhar Kumar 2aa85006d2 Fix crashes by re-invoking with command line argument "-udl"
Fix crashes when re-invoked with -udl command line parameter with more than 7 characters as its value:
Serialize _udlName from generic_string to wchar_t _udlName[MAX_PATH].

Fix #11633, close #11681
2022-05-17 04:29:35 +02:00
ozone10 a630b63c9a Add encoding context menu via right/double click on encoding display zone of status bar
Fix #9998, fix #400, fix #756, close #11678
2022-05-16 14:40:40 +02:00
Shridhar Kumar 0f8d5724af Add command line argument for plugin, a related notification and an API
1. Add a cmd argument for plugin: -pluginMessage="SPECIFIC_PLUGIN_MESSQGE" where SPECIFIC_PLUGIN_MESSQGE is a string which can contain white space. For example: -pluginMessage="arg1 arg2 arg3".
2. NPPN_CMDLINEPLUGINMSG notification: which will be triggered by -pluginMessage and plugins will get their specific message "arg1 arg2 arg3" via idFrom field:
   //scnNotification->nmhdr.code = NPPN_CMDLINEPLUGINMSG;
   //scnNotification->nmhdr.hwndFrom = hwndNpp;
   //scnNotification->nmhdr.idFrom = pluginMessage; //where pluginMessage is pointer of type wchar_t
3. Add NPPM_GETCURRENTCMDLINE API for getting the latest command line.
4. Update command line dynamically in Debug info dialog.

Fix #11576, close #11589
2022-05-16 04:54:31 +02:00
ozone10 67297397d4 Make Alternate Icons behaviour in dark mode consistent
The usage of alternate icons in dark mode can be remember now though the sessions.

Fix #10159, close #11674
2022-05-16 01:48:04 +02:00
Robert Di Pardo 77a53ebd2f Show installed plugin versions in Debug Info dialog
Fix #11284, close #11662
2022-05-16 01:19:46 +02:00
Karlo-F 74395977bb Improve "Deep Black" theme
* Corrected description
* Added new lines for PHP, INI, CSS and GlobalStyles
* Darkened YAML (it wasn't dark)
* Minor corrections

Close #11608
2022-05-15 04:11:30 +02:00
ozone10 ad8b1791b4 Add edge highlight color in customized dark colors of Preferences dialog
Fix #11642, close #11641
2022-05-14 17:52:28 +02:00
Don Ho 62e916edec Notepad++ v8.4.1 release
Disclaimer: these binaries were compiled at 13,500 metres altitude!
2022-05-11 14:41:08 +02:00
Edditoria a1eed77953 Update localization: Hong Kong Cantonese...
As at commit ef9e836 of this repo.
Also bump version to v8.4.1 in advance.

Close #11645
2022-05-08 23:09:35 +02:00
Don Ho 6e83e6810a Restore auto-completion & calltip default fg/bg colors (no theme)
Fix #11637
2022-05-08 15:20:21 +02:00
Don Ho 82c03424bb Fix a typo and update version number 2022-05-08 14:01:48 +02:00
Don Ho ef609c896f Add a new format argument/option "ADD_ZERO_PADDING" to NPPM_GETNPPVERSION
Fix #11535
2022-05-08 13:58:45 +02:00
Karlo-F bdf60d80ff Update croatian.xml
Update Croatian localization to v8.4.1

Close #11625
2022-05-05 22:02:48 +02:00
Iñigo Zendegi fcd88d73bb Update basque.xml
Close #11624
2022-05-05 21:55:50 +02:00
~GOLEM~ 8d1a294bf0 Update russian.xml v8.4.1
Close #11621
2022-05-05 21:52:43 +02:00
yasmise 7b327c583f update japanese.xml to v8.4.1
Add a translation for this commit:
* Update localization files according to d3e77c0 (c32da953cf)

Close #11615
2022-05-05 21:47:22 +02:00
rddim 3050766379 Update Bulgarian localization
Close #11614
2022-05-05 21:44:39 +02:00
schnurlos 5d55e9bdde Update german.xml to v8.4.1
Following c32da953cf

Close #11612
2022-05-05 21:39:33 +02:00
Hugo Carvalho bc05457133 Update portuguese.xml
For commit: c32da953cf and other minor corrections

Close #11640
2022-05-05 21:37:06 +02:00
xomx b6876663b9 Update czech.xml to v8.4.1
Close #11605
2022-05-05 21:32:41 +02:00
kubalav b8b5a9bc5d Update Slovak translation to 8.4
Close #11604
2022-05-05 14:06:19 +02:00
anishbl feeda47995 Update tamil.xml
Changes:
     1) Removal of redundant lines (redundancy as defined by absence from the English version, I have not gone on to check the code for where each term is used, refer to Issue https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11561#issue-1210847469)
     2) Addition of lines which are found in the English version but were absent in the Tamil
     3) Spelling error rectifications (eg: "கீல்" is an erroneous form of கீழ்)
     4) Retention of English words for certain terms best left untranslated (eg: Macro; பெருநிரல் _does_ convey the literal meaning, but would be extremely confusing, as such usage is specialized and not directly connected to the literal meaning. Macro here performs much like a proper noun, an untranslatable, and I opine that translating that would be quite similar to translating Notepad++, Windows etc. In other cases, perceived rarity of the term's usage, potential confusion, and lack of sufficient systematicity in the usage of programming terms in Tamil have also been reasons)
     5) Rewording certain terms as they seem of a fringe usage, and replacing them with commoner alternatives (eg: படி எடு for Copy has been replaced by நகலெடு, whose use is fairly universal nowadays, in OSs, apps, websites, etc. which display in Tamil.  It must be noted that the previous version seems to be nearly ten years old, and probably the usage was more fluid and non-standard back then.)
     6) Removal of lines that are plainly copied out from the English version untranslated, and cannot be translated
     7) Addition of &/alt codes (I'm not sure exactly what they're called) as in English

Unresolved Problem Points:
     1) The alt codes have been presented to a user using the Latin/English keyboard.  (eg: for "&File", "கோப்பு (&F)" has been provided instead of the equally viable "&கோப்பு") This, although in keeping with the previous version, may present Tamil users an inconsistent display, what with the numerous bracketed and seemingly random English letters beside Tamil text, and inconvenience users of Tamil keyboard(s).
The example of other Indian languages may be used to argue for "&கோப்பு", while the example of Chinese, Japanese and Korean may be used to argue otherwise (it must be noted, though, that Tamil and Indian languages have their own keyboards as well as phonetic typing from English, whereas Chinese et.al. are typed, as far as I am aware, solely using the phonetic English method, and therefore the first argument may not stand)
To be very honest, I almost set out removing all the old bracketed-English-letter style stuff and creating them based off Tamil letters, but chickened out seeing the utter scale.  I also am not sure how this would be welcomed by users, since they may now be quite habituated to using the English letters, and tampering with the functionality of the application (to a tiny extent, admittedly) is _not_ what I thought I was taking into my hands when I started doing this
     2) Most of the popup messages have been left untranslated, coming to more than hundred lines (I'm sorry, I'm not doing any more now, maybe later, or hopefully someone else who uses N++ in Tamil/knows Tamil can step up and help; I'm sure my version of even those parts that I _have_ edited is not up to snuff either)
     3) There are some technical vocabulary issues. For instance, there is a general confusion between அழி, நீக்கு and அகற்று for delete and remove.  I have chosen அகற்று for remove, and kept the other two both for delete, due to how often both were used. But I think there could be a better solution, and a more systematic one.  This is also, incidentally, just the tip of the iceberg.
     4) I was also unsure about where to draw the line between translating an English word to Tamil and retaining the English word.  In several cases, I used my familiarity with the words in a technical context to make such a decision.  Since I also relied quite a bit on online dictionaries, and cross checked them across websites to be sure, I cannot vouch for all of them, and probably quite a few have been excessively Tamilised, or retained in English even when a patently viable and common alternative exists. I hope some others can account for those

Close #11579
2022-05-05 14:02:16 +02:00
Patriccollu d84be6c2fe Update Corsican translation for Notepad++ 8.4.1
Close #11593
2022-05-05 13:57:48 +02:00
Don Ho 77d62496df Update localization files 2022-05-05 13:50:49 +02:00
mere-human ccbf08dc98 CustomFileDialog: Focus the file name when file already exists
Fix #11630, close 11631
2022-05-05 01:20:07 +02:00
ozone10 ef9e836903 Add border to dark mode tabs
Minor tweaks to autocomplete, to make top white rectangle dark on resize.

Fix #11622, close #11623
2022-05-02 14:24:19 +02:00
Shridhar Kumar 664d46084b Override "current line indicator" style in "Search results"
Fix #11596, close #11598
2022-05-02 01:45:04 +02:00
SnipUndercover 3f322faf62 Fix a crash in UDL
Fix infinite loop while lexing UDL multi-part keyword in prefix mode.

Fix #11434, close #11543
2022-05-01 02:07:19 +02:00
Shridhar Kumar b57254aece Minor cosmetic touchups to Preferences & Style Configurator UIs
Preferences Dialog - MultiInstance UI:
1. Increased the height of the 1st groupbox by 3 units.
2. Shifted the controls inside it by 4 units.
3. Reduced the height of the 2nd groupbox by 3 units.
4. Shifted the groupbox top and the checkbox only down by 3 units.

Style Configurator Dialog:
5. Added 'BS_CENTER' modifier to "Font Style" & "Colour Style" groupboxes.

Fix #11590, close #11591
2022-04-30 01:01:41 +02:00
Don Ho 9cc01de97c Fix "Reload from disk" loosing syntax highlighting regression
In Scintilla4 reloaded document keeps its syntax highlighting without re-applying the lexer for its syntax highlighting.
It seems the behaviour has been changed in Scintilla5. Hence this workaround to force to apply syntax highlighting after reloading.

Fix #11606, close #11610
2022-04-29 19:44:54 +02:00
Rajendra Singh 77fcedbd19 Fix "Find progress bar" UI clipping
Close #11572
2022-04-29 16:25:48 +02:00
ozone10 dfc9fb6f3b Highlight dark mode combobox border on focus
Fix #11574, close #11575
2022-04-29 13:50:27 +02:00
Robert Di Pardo 2fbac354ed Fix HTML syntax highlighting in PHP files regression
Restore HTML syntax highlighting in PHP files.

Fix #11585, fix #11602, close #11588
2022-04-29 04:08:13 +02:00
Christian Grasser 100d45f7cf Update Scintilla from 5.2.1 to 5.2.2 and Lexilla from 5.1.5 to 5.1.6
Close #11537
2022-04-28 23:27:54 +02:00
Don Ho 3b0d5242ac Fix unfocused selected text background color changed problem
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/11419#issuecomment-1094362796

Fix #11595, close #11601
2022-04-28 02:39:11 +02:00
mere-human c94d50842e Fix file name field highlighted while focus is on type combobox in Save As dialog
Fix #11517, close #11540
2022-04-28 01:40:47 +02:00
ozone10 87f4249d6b Add support for dark tab updown control
Fix #10054, close #11554
2022-04-26 19:30:52 +02:00
Leonardo Silva 1eb5b10e41 Add DarkMode usage detection support for plugins
Add APIs: 2 new messages NPPM_ISDARKMODEENABLED & NPPM_GETDARKMODECOLORS, and 1 new notification NPPN_DARKMODECHANGED.

Fixed also a bug in dark mode for PushLike CheckBoxes.

Fix #11546, close #11547
2022-04-26 19:27:35 +02:00
Ibrahim Kosgi 1dffb05e0a Add file monitoring command line argument [-monitor]
Fix #10562, close #11539
2022-04-26 19:17:25 +02:00
Don Ho c32da953cf Update localization files
according to d3e77c0e6f
2022-04-26 18:52:30 +02:00
Shridhar Kumar d3e77c0e6f Add "Framed current line" option beside of "Highlight current line background"
The related GUI in Preferences dialog has been organized in the adapted way for the new option.

Fix #11501, close #11534
2022-04-26 16:59:21 +02:00