Commit Graph

73 Commits (5d2fc0d8c08e44afec176b3c37987810897e8a5c)

Author SHA1 Message Date
Andrey Smolyakov 8c3c30efae Fix VHDL comments highlighting
Comments styles in stylers.model.xml are inconsistent with Scintilla's states
described in /scintilla/include/SciLexer.h. Moreover, block comments are
highlighted with not the same style as line comments, but with style used for
"COMMENT LINE BANG" in other languages.
I eliminated the "COMMENT LINE" style, which Scintilla does not generate, fixed
the "COMMENT BLOCK" style to be the same as regular "COMMENT", and added a
separate style, "COMMENT LINE BANG", for special comments.

Close #10748
2021-11-06 00:57:02 +01:00
Don Ho 635f1d41ab Fix a typo & add a pun 2021-09-20 18:34:50 +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
ozone10 68d293e711 Allow custom color for Document Map
Fix #10052, close #10422
2021-08-26 01:03:18 +02:00
0xlay 9a3152faa2 Add TypeScript language
Fix #10353, close #10361
2021-08-13 20:12:02 +02:00
Scott Sumner 44b2bef69b Allow selected text foreground color to be changed
Fix #3397, fix #1314, close #9817
2021-05-01 04:28:27 +02:00
Don HO af56713079 Change name of programming language from Nimrod to Nim
Fix #9768
2021-04-15 03:40:30 +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
Don HO 4768fec82d
Remove obsolete code 2020-12-10 14:56:47 +01:00
Don HO 2f6454a085
Fix Search result line number highlighting inaccurate issue 2020-12-09 03:34:18 +01:00
ArkadiuszMichalski 2770539dea
Restore complex variables in strings for PHP
Bring back complex variables in strings for PHP, was removed by mistake.

Fix #5065, close #8995
2020-10-12 15:53:00 +02:00
ArkadiuszMichalski 9151d0a7dc
Add "KEY" for ini and properties files in stylers.model.xml
Lexer https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/scintilla/lexers/LexProps.cxx support style for KEY so expose it in `stylers.model.xml`.

Fix #8230, close #8968
2020-10-12 04:16:28 +02:00
Scott Sumner 5da0817ecb
Allow setting of background color for bookmark margin
Fix #8833, close #8874
2020-10-02 21:49:08 +02:00
Don HO 95dec01e27
Fix 2 typos in all stylers files
Fix #3578
2020-09-20 01:54:44 +02:00
Simon Buhrow 7bdb3706f9
Add "COMMENT LINE BANG" for VHDL
Close #8500
2020-06-30 19:46:22 +02:00
Don HO e309ec23ec
Fix duplicate names in stylers.model.xml
Fix #7965
2020-02-25 02:28:43 +01:00
Don HO be6f797e65
Improve Json syntax highlighting 2019-12-21 11:47:04 +05: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
Pavel_Blend 6f56b44118
Add python keywords
Close #7613
2019-12-01 22:45:00 +01:00
Oirfeodent c92b3ca578
BaanC Add keyword lists and respective langs & styler xml tags
PR #6081 added the required keyword sets for BaanC.
Continuation of #5807 and the last change to enable all available scintilla keyword sets.

Close #6128
2019-09-25 09:53:25 +02:00
Oirfeodent 025236be6b
Enhance BaanC language support
Changes for BaanC based on new Scintilla Version.

Close #5807
2019-08-20 12:56:03 +02: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
Christian Grasser 0686435d1a Fix invalid xml syntax issue from #4572
Close #5112
2018-12-09 15:50:23 +01:00
Brad G 184a6f6ce5 PHP: Add styler entry for complex variables
Close #5066
2018-12-03 02:39:06 +01:00
vlakoff ef1b04b6fc Adjust displayed name for Swift language in stylers
Close #5052
2018-12-02 23:27:20 +01:00
nikita.smirnov 087add6490 Remove DIRECTIVE from VHDL styles table
Close #4931
2018-12-02 23:24:44 +01:00
Don HO ce1ffd441d Update stylers.xml model 2018-04-13 18:22:57 +02:00
Thomas Linder Puls 854acae4a1 Add Visual Prolog language support
Closes #1439
2017-08-25 09:43:36 +02:00
Cyrillev 02bdd11700 Add new languages support
Connect Scintilla Lexers to npp : SCLEX_ASN1 (Abstract Syntax Notation One), SCLEX_AVS (AviSynth), SCLEX_BLITZBASIC, SCLEX_PUREBASIC, SCLEX_FREEBASIC, SCLEX_CSOUND, SCLEX_ERLANG, SCLEX_ESCRIPT, SCLEX_FORTH, SCLEX_LATEX, SCLEX_MMIXAL, SCLEX_NIMROD, SCLEX_NNCRONTAB, SCLEX_OSCRIPT, SCLEX_REBOL, SCLEX_REGISTRY, SCLEX_RUST, SCLEX_SPICE, SCLEX_TXT2TAGS

Connect Scintilla Lexers to npp :

asn1 (Abstract Syntax Notation One) : https://fr.wikipedia.org/wiki/ASN.1#Exemple
avs (AviSynth) : http://avisynth.nl/index.php/Script_examples
blitzbasic : http://www.blitzbasic.com/bmdocs/command.php?name=Mid&ref=2d_cat
http://www.blitzbasic.com/codearcs/codearcs.php?cat=8"
csound : http://www.csounds.com/manual/html/PrefaceGettingStarted.html
erlang : http://erlang.org/doc/man/file.html
http://erlang.org/documentation/doc-5.3.6.13/doc/getting_started/getting_started.html"
escript : http://erlang.org/doc/man/escript.html
forth : http://wiki.c2.com/?ExampleForthCode
freebasic : http://www.freebasic.net/
latex : http://physics.clarku.edu/sip/tutorials/TeX/intro.html (Sample LaTeX file)
mmixal : http://mmix.cs.hm.edu/examples/hello.html
nimrod : http://www.csse.monash.edu.au/~nimrod/nimrodportal/manual/planfileexamples.shtml
nncrontab : http://www.nncron.ru/help/EN/working/cron-format.htm
oscript : http://www.oscriptadventures.com/
purebasic : https://www.purebasic.com/documentation/reference/ide_form.html
rebol : http://www.rebol.net/cookbook/recipes/0031.html
registry : windows registry file
rust : http://rustbyexample.com/std_misc/file/open.html
spice : http://www.seas.upenn.edu/~jan/spice/spice.overview.html
txt2tags : https://github.com/txt2tags/txt2tags/blob/master/samples/sample.t2t
2017-07-23 10:24:53 +02:00
Don HO c8969b773f Add SWIFT language support 2017-06-17 20:03:28 +02:00
Cimon Lucas (LCM) b2e46391ab Putting unused javascript.js type2 keywords into instre2 keywords
Fixes #3117, closes #3119
2017-05-08 19:49:12 +02:00
Markus Heidelberg 6b6b81278b Integrate lexers for several hex file formats
Integrate Motorola S-Record lexer.
Integrate Intel HEX lexer.
Integrate Tektronix extended HEX lexer.

Fixes #1256, closes #1257
2017-02-26 00:25:05 +01:00
Don Ho 67b0ed9b42 Minors fixes
Closes #2797, closes #2663
2017-02-09 23:35:17 +01:00
oirfeodent 1b1265302f Enable Scintilla Lexer SCLEX_BAAN (BaanC Language)
Closes #2696
2017-01-22 23:10:08 +01:00
SinghRajenM bc38c74c3a Improve Javascript string readability
Fixes #1543, closes #2550
2016-11-11 18:59:56 +01:00
SinghRajenM f9d1341cf3 Change styler to make makefile more readable
Closes #2482
2016-10-31 12:34:49 +01:00
dail8859 e1f01e00ba Add C# type keywords to style configurator
Closes #2415
2016-10-12 12:27:59 -04:00
Don HO f3d88284d7 Make NSIS String more readable 2016-09-21 10:48:06 +02:00
dail8859 cf4d3d2599 Add xml entity style
Fixes #1991
2016-07-03 16:01:06 -04:00
Don Ho e584c47429 Fix several typos 2016-05-14 13:14:22 +02:00
vlakoff 4a89971ee4 Improvements for JSON highlighting
Closes #1349
2016-03-18 17:16:52 +01:00
YWX cfa57b6818 Notepad++ support both SCLEX_FORTRAN and SCLEX_F77
Closes #1381
2016-03-01 21:34:52 +01:00
dail8859 03c8e0c80c Add identifier style to R
Closes #1264, closes #1265
2016-01-02 20:05:43 +01:00
dail8859 7b2b640357 Add styles for additional strings in D
Closes #1099, closes #1210
2015-12-04 12:58:49 +01:00
dail8859 4fee79907b Add styles for Powershell
Close #1184
Comment blocks, here-strings, here-characters, and comment document keywords. Closes #1183
2015-12-01 17:03:27 +01:00
dail8859 378673da90 Add styles for Lua label and identifier
Closes #1181, closes #1182
2015-12-01 17:01:43 +01:00
dail8859 5b45ddb7d9 Add style for Python decorator
Closes #1179, closes #1180
2015-12-01 16:56:47 +01:00