48 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
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
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
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
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
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
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
52e8c68f90
Change XML encoding from Windows-1252 to UTF-8 (config.xml and others)
and add XML declaration for session.xml, shortcuts.xml & userDefineLang.xml for conforming to XML standard specs.

Regarding the suggestions from #9339
2021-01-04 15:02:09 +01:00
ekopalypse
2ff50ec9bc
Update themes to v7.9.1
Fix #9071, close #9070
2020-10-29 13:47:36 +01:00
Don HO
13d2fdadb0
Add "Bookmark margin" into GlobalStyles for all themes 2020-10-29 05:40:37 +01:00
Don HO
95dec01e27
Fix 2 typos in all stylers files
Fix #3578
2020-09-20 01:54:44 +02:00
Don HO
584b3fead4
Add "URL Hovered" style for themes 2020-06-23 12:18:44 +02:00
appelgran
b693be75ac
Added powershell styles for Monokai theme
Close #8041
2020-04-14 04:57:33 +02:00
Waldi Ravens
f02d166081
Enable two more SQL keyword list
KEYWORD2 – data types, highlighted in a different style.
USER1 – user-defined keywords, empty list by default.

Close #5937, close #7693
2019-12-14 23:51:04 +01:00
dail8859
6ae03f64e8 Add Python literal string interpolation
Closes #5698

Add support for:
- SCE_P_DECORATOR
- SCE_P_FSTRING
- SCE_P_FCHARACTER
- SCE_P_FTRIPLE
- SCE_P_FTRIPLEDOUBLE
2019-05-25 15:44:49 -04:00
dail8859
9a2dfeb263 Add literal string style to SQL lexer
Closes #3305
2019-05-25 14:49:56 -04:00
dail8859
c9e5b0b1e3 Add comment doc style to SQL lexer
Closes #3086
2019-05-24 11:59:52 -04:00
stonecrusher
fbfa15378c
Fix '\' display problem in CSS while using themes
Remove Batang font for CSS tags

fixes #3952, closes #5490
2019-04-07 14:03:38 +02:00
Antoine Lang-Cavelier
e76b5dc869 Add foreground colours for diff in Monokai.xml
Some styles were missing and hence, was replaced by black.

Closes #3433
2017-07-21 14:22:56 +02:00
dail8859
e1f01e00ba Add C# type keywords to style configurator
Closes #2415
2016-10-12 12:27:59 -04:00
nmlgc
ddf81ecc02 Update old themes to use the correct style IDs for Pascal
Scintilla got a [new Pascal lexer] in version 1.78, which was included in
Notepad++ version 5.4.4. However, this lexer also introduced [new style IDs]
and most of Notepad++'s bundled themes that were created before version 5.4.4
haven't been updated in all that time.

Fixes #249, closes #1912
2016-07-15 02:32:27 +02:00
dail8859
cf4d3d2599 Add xml entity style
Fixes #1991
2016-07-03 16:01:06 -04:00
vlakoff
2b87e3a850 Correct "JavaScript" capitalization in themes
Closes #1860
2016-07-03 18:30:23 +02:00
WGriffing
3ff59b2a70 Update themes' styles for fortran.
Closes #1741, closes #1784
2016-05-15 18:14:55 +02:00
Stanislav Golovin
7fbdb31dee Add back-quoted string support for javascript
Closes #1084, Fixes: #1055
2015-11-21 15:25:17 +01:00
Don Ho
4479476230 [BUG_FIXED] Prevent Notepad++ from crash due to indexation in clipbordHistory object.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1262 f5eea248-9336-0410-98b8-ebc06183d4e3
2014-07-21 06:07:19 +00:00
Don Ho
56a236af40 [RELEASE] Notepad++ v5.6.3 release
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@591 f5eea248-9336-0410-98b8-ebc06183d4e3
2009-12-17 23:33:39 +00:00