96 Commits

Author SHA1 Message Date
PeterCJ
dab30de9c6 Fix font size inconsistencies
No fontSize definitions except in Default Style, and Default Style always = 10pt

Fix #16924, close #16928
2025-08-20 14:07:05 +02:00
PeterCJ
441b32c5e7 Themes: get rid of fontSize overrides
Themes should not mess up monospacing by changing font size for only certain languages/styles: they should all inherit their font-size from the Default Style in that theme

Fix #16667, close #16756
2025-06-26 21:46:18 +02:00
schnurlos
0443199436 Update Obsidian.xml
Fix #16590, close #16640
2025-06-21 19:06:00 +02:00
PeterCJ
8435308b02 Add XSD-based validation for the various XML files
And fix the themes and javascript.js functionlist that don’t match XSD.

Fix #16618, close #16619
2025-06-04 19:42:01 +02:00
rdipardo
19267aa0ea Make raw string syntax highlighting work for Golang
Enable the raw string lexer property for Golang.
Also: add a new 'STRING RAW' style to all Golang themes.

Fix #16609, close #16615
2025-06-04 14:55:30 +02:00
PeterCJ
a10cebe2cd Change from Nimrod to Nim in three themes
Fix #16578, close #16579
2025-05-22 16:25:54 +02:00
PeterCJ
19e356d616 Add ErrorList syntax highlighting
Enable the errorlist lexer
- Associates ".err" and ".log" with Language > E > ErrorList
- When in ErrorList file, toggling View > Show Symbols > Show Control Characters & Unicode EOL will show/hide the whole `ESC[1;31m` sequence, not just the ESC symbol

Related issues/topics:
- https://community.notepad-plus-plus.org/topic/26801/reading-typescript-of-terminal-session
- https://community.notepad-plus-plus.org/topic/23787/show-printable-ascii-characters-only
- https://community.notepad-plus-plus.org/topic/23147/missing-lexers-from-lexilla
- https://community.notepad-plus-plus.org/topic/22994/ansi-escape-sequences-color-rendering
- https://community.notepad-plus-plus.org/topic/16612/interprete-ansi-color

Fix #16437, fix #8078, close #16480
2025-05-02 04:33:56 +02:00
PeterCJ
17287d7567 Style Configurator: reorder Global Override style in all themes
Fix #16214, close #16215
2025-02-21 21:48:49 +01:00
PeterCJ
4f295de864 Adds SAS programming language support
Enable Sctintilla's SAS lexer, populate langs.model, stylers.model, and themes.
(includes keyword lists from UDLs, notepad4, and SAS documentation)

Fix #16148, close #16183
2025-02-16 15:45:47 +01:00
rdipardo
9e1db77f81 Fix literals wrong style for server side JavaScript
Add styles for SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL in styles.xml.

Fixes #15821, close #15822
2025-01-09 11:29:05 +01:00
pryrt
f5f7c14853 Update Verilog stylers/themes
Update verilog stylers/themes to remove conflicting styleID=2 style named TAGNAME.

Fix #15955, close #15957
2024-12-18 02:16:33 +01:00
Don Ho
624e315686 Add forgotten entries for individual tab color in theme files
Add the entries forgotten in a16261caaa173689da468d5be66e32866681e152
2024-09-04 03:46:11 +02:00
Don Ho
a866900c8d Make find dlg status msgs color customizable via Style Configurator
Fix #5087, close #15597
2024-09-02 18:51:59 +02:00
Don Ho
fb11abc5c0 Add TOML configuration file format
Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/15564#issuecomment-2305174561

Fix #5631, close #15576
2024-08-26 05:04:06 +02:00
PeterCJ
9e4290094d Add user-defined keyword ability for some supported programming languages
Add new SubStyles and their available keyword lists to specific languages:
- Enable 8 Scintilla's SubStyles (each), which allow for new keyword lists and styles for the languages with SubStyles available: ActionScript, ASP, Bash, C, C++, C#, GDScript, Go, HTML, Java, JavaScript (standalone and embedded), JSP, Lua, PHP, Python, Resource (RC), Swift, TypeScript, and XML.
- The new SubStyles have been added to `langs.model.xml`, `stylers.model.xml`, and the themes, which means users can just use the StyleConfigurator for the SubStyles, just like they do for the original Styles.

Fix #15520, close #15537
2024-08-14 20:01:36 +02:00
PeterCJ
da5f896de6 Language enhancement: allow custom tags in HTML
HTML Lexer, TAG Style: enable user-defined keywords
Implement and verify @mpheath solution from https://community.notepad-plus-plus.org/topic/25741/html-user-defined-keywords

Fix #15093, close #15094
2024-05-11 03:36:14 +02:00
PeterCJ
aa6a55cb7e Enable remaining 4 keyword lists
including langs.model.xml, stylers.xml and all themes.

Fix #15081, fix #7615, close #15088
2024-05-05 17:43:55 +02:00
PeterCJ
161bb41425 Add syntax highlighting for Raku
Based on SciTE, Go/Golang can use cpp lexer.
Use the Perl color scheme from each theme as the basis for the Raku color scheme.

Fix #4465, close #15000
2024-04-16 01:33:40 +02:00
PeterCJ
8f24e89824 Add syntax highlighting for Go/Golang
(as done in SciTE, Go/Golang can use cpp lexer)

Fix #8090, close #14966
2024-04-11 17:58:43 +02:00
mpheath
fd1f785b89 Add Change History colour configuration
Fix #12321, fix #13915, close #14819
2024-03-06 15:48:15 +01:00
Don Ho
b3ff400cc8 Fix python wrong decorator attribute colors
Add "ATTRIBUTE" color in Python.

Only DarkModeDefault.xml & Zenburn.xml are modified due to the other themes missing "DECORATOR" color with which "ATTRIBUTE" color uses.
I let people who use those themes and need "DECORATOR" & "ATTRIBUTE" colors to modify them.

Fix #5894, close #14830
2024-03-05 20:20:01 +01:00
Don Ho
2a90f11487 Add new styler entries to themes 2023-11-22 18:26:37 +01:00
mpheath
37a968e6f4 [xml] Add Batch After Label style configuration
Fix #14283, close #14284
2023-11-04 00:30:46 +01:00
PeterCJ
d33e297847 Update Stylers for Perl
- update `stylers.model.xml` to have the 41 styles supported by LexPerl
- update `themes\DarkModeDefault.xml` to have the 41 styles supported by LexPerl

Fix  #14192, close #14193
2023-10-05 20:08:12 +02:00
Hedman
193a19ccb2 Add PowerShell block comment style in HotFudgeSundae.xml
Fix #13271, close #13273
2023-04-02 16:38:30 +02:00
Robert Di Pardo
38d23d36e9 [xml] Provide a default Dark Mode theme for MS Transact-SQL
Ref. https://community.notepad-plus-plus.org/post/85179

Close #13461
2023-04-02 14:33:46 +02:00
Karlo-F
778e1f568e Add show non-printable characters style in Deep Black theme
Close #13258
2023-04-02 03:29:32 +02:00
Don Ho
641b6e71c2 Fix XML syntax error 2023-03-27 14:15:02 +02:00
afalkenhahn
d21f7cbf5c Added Hollywood support
Close #13417
2023-03-26 23:39:47 +02:00
zeltop
816fa3e414 Add GDScript language
Adds GDScript language support, autocomplete file, functionlist, default and dark themes.

Fix #13329, close #13335
2023-03-14 23:45:57 +01:00
ozone10
aaab190763 Add show non-printable characters command
| Name                         | Codepoint | Abbreviation |
|------------------------------|-----------|--------------|
| No-Break Space               | U+00A0    | NBSP         |
| Ogham Space Mark             | U+1680    | OSPM         |
| Mongolian Vowel Separator    | U+180E    | MVS          |
| En Quad                      | U+2000    | NQSP         |
| Em Quad                      | U+2001    | MQSP         |
| En Space                     | U+2002    | ENSP         |
| Em Space                     | U+2003    | EMSP         |
| Three-Per-Em Space           | U+2004    | 3/MSP        |
| Four-Per-Em Space            | U+2005    | 4/MSP        |
| Six-Per-Em Space             | U+2006    | 6/MSP        |
| Figure Space                 | U+2007    | FSP          |
| Punctation Space             | U+2008    | PSP          |
| Thin Space                   | U+2009    | THSP         |
| Hair Space                   | U+200A    | HSP          |
| Zero-Width Space             | U+200B    | ZWSP         |
| Zero-Width Non-Joiner        | U+200C    | ZWNJ         |
| Zero-Width Joiner            | U+200D    | ZWJ          |
| Left-To-Right Mark           | U+200E    | LRM          |
| Right-To-Left Mark           | U+200F    | RLM          |
| Line Separator               | U+2028    | LS           |
| Paragraph Separator          | U+2029    | PS           |
| Left-To-Right Embedding      | U+202A    | LRE          |
| Right-To-Left Embedding      | U+202B    | RLE          |
| Pop Directional Formatting   | U+202C    | PDF          |
| Left-To-Right Override       | U+202D    | LRO          |
| Right-To-Left Override       | U+202E    | RLO          |
| Narrow No-Break Space        | U+202F    | NNBSP        |
| Medium Mathematical Space    | U+205F    | MMSP         |
| Word Joiner                  | U+2060    | WJ           |
| Left-To-Right Isolate        | U+2066    | LRI          |
| Right-To-Left Isolate        | U+2067    | RLI          |
| First Strong Isolate         | U+2068    | FSI          |
| Pop Directional Isolate      | U+2069    | PDI          |
| Inhibit Symmetric Swapping   | U+206A    | ISS          |
| Activate Symmetric Swapping  | U+206B    | ASS          |
| Inhibit Arabic Form Shaping  | U+206C    | IAFS         |
| Activate Arabic Form Shaping | U+206D    | AAFS         |
| National Digit Shapes        | U+206E    | NADS         |
| Nominal Digit Shapes         | U+206F    | NODS         |
| Ideographic Space            | U+3000    | IDSP         |
| Zero-Width No-Break Space    | U+FEFF    | ZWNBSP       |

Fix also issue with tooltips in preference dialog, when changing between dark/light mode.

Fix #827, fix #4731, fix #8284, close #13020
2023-02-05 04:20:25 +01:00
ArkadiuszMichalski
e45c1fc322 [xml] Fix disabled options activated in themes issue
Don't use non-working attributes for WidgetStyle in themes.

Fix #12508, close #12635
2022-12-16 00:24:27 +01:00
ArkadiuszMichalski
8785b29e21 Update PowerShell keywords
Close #12609
2022-12-06 16:35:24 +01:00
CennoxX
22963f53dd Add Mark Styles to theme DansLeRuSH-Dark
Add missing Mark Styles, remove missplaced tabs.

Fix #12504, close #12551
2022-11-23 18:03:49 +01:00
Harvey R
6f67656f8c Make solarized.xml up-to-date with stylers.xml
Fix #12425, close #12444
2022-11-01 22:23:29 +01:00
Don Ho
3e9413d615 Restore Scintilla header files
Restore Sci_Position.h & ScintillaStructures.h (ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/12327#issuecomment-1296020276)
And add R styles.
2022-10-31 01:52:42 +01:00
Harvey R
06a082d35f Add Python missing option in theme files
Fix #12066, close #12070
2022-10-05 04:19:21 +02:00
Don Ho
848b412cf7 Fix Change History margin visual glichy under dark mode
Ref: https://community.notepad-plus-plus.org/topic/23510/notepad-v8-4-6-release-candidate/2?_=1663857801779
2022-09-22 19:28:08 +02:00
Don Ho
79e766755d Make EOL (CRLF) display customizable
Fix #11413, close #11773
2022-06-12 19:41:09 +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
Ian O'Neill
c40c90e8a4 Make the dark mode color scheme palatable for ini, json & props files
Fix #11544, close #11555
2022-04-26 16:01:43 +02:00
Karlo-F
235d9dea76 Update Deep Black.xml
Add stylers for "registry" files.

Close #11513
2022-04-13 05:15:04 +02:00
Don Ho
0ee65fd826 Fix x64 build error in 3f1a582a36db175a4f86b35dcd47f3aa5bf331fa
Fix x64 build error, remove unnecessary codes and add enhancement for the previous commit 3f1a582a36db175a4f86b35dcd47f3aa5bf331fa
2022-04-13 04:43:08 +02:00
ozone10
3f1a582a36 Add dark mode support for autocomplete list & calltip
Fix fix #11522, close #11523
2022-04-13 03:42:38 +02:00
Oren Farhi
66ca02a015 Update Bespin theme website url
Close #11428
2022-04-04 21:13:55 +02:00
Don Ho
3ce90f56d6 Fix wrong keywords (of preprocessor in C) highlighting in Java
Remove C Preprocessor color settings from stylers.model.xml + all theme files.

Fix #11026
2022-01-12 18:09:55 +01:00
Don Ho
540fbeddda Add JSON syntanx highlighting in the dark themes 2021-10-15 00:42:45 +02:00
Kyle K
324a7ab8cc Enhance dark themes for some programming languages
Tweak themes for python and makefile.
Also apply default color to other items in need.

Fix #10648, close #10661
2021-10-14 16:41:15 +02:00
Don HO
c7e1da48ff Align dark mode styles with light mode styles
1. Improve JSON, PYTHON, BANNC and VHDL syntax highlighting in dark mode.
2. Reosort light mode style.
2021-09-18 02:52:09 +02:00
Don Ho
cddcbb5d61 Fix CSS pseudo-elements not recognized issue
Update CSS keywords and add new styles.

Fix #10425, close #10501
2021-09-05 16:39:49 +02:00