notepad-plus-plus/lexilla/test/examples/cpp/AllStyles.cxx.styled

194 lines
2.9 KiB
Plaintext
Raw Normal View History

{2}// Enumerate all primary styles: 0 to 27 and secondary styles 64 to 91
{0}
{2}// default=0
{0}
{2}// comment=1
{1}/* */{0}
{1}/* commentline=2 */{0}
{2}// example line
{0}
{2}// commentdoc=3
{3}/** */{0}
{2}// number=4
{4}123{0}
{2}// word=5
{5}int{0}
{2}// string=6
{6}"string"{0}
{2}// character=7
{7}'c'{0}
{2}// uuid=8
{5}uuid{10}({8}3fd43029-1354-42f0-a5be-4a484c9c5250{10}){0}
{2}// preprocessor=9
{9}#define xxx 1
{0}
{2}// operator=10
{10}{}{0}
{2}// identifier=11
{11}identifier{0}
{2}// stringeol=12
{12}"
{0}
{2}// verbatim=13
{13}@"verbatim"{0}
{2}// regex=14
{10}({14}/regex/{10}){0}
{2}// commentlinedoc=15
{15}/// example
{0}
{2}// word2=16
{16}second{0}
{2}// commentdockeyword=17
{3}/** {17}@file{3} */{0}
{2}// commentdockeyworderror=18
{3}/** {18}@wrongkey{3} */{0}
{2}// globalclass=19
{19}global{0}
{2}// stringraw=20
{20}R"( )"{0}
{2}// tripleverbatim=21
{21}""" xx """{0}
{2}// hashquotedstring=22
{22}#" xx "{0}
{2}// preprocessorcomment=23
{9}#define {23}/* comment */{9}
{0}
{2}// preprocessorcommentdoc=24
{9}#define {24}/** comment */{9}
{0}
{2}// userliteral=25
{25}1_date_{0}
{2}// taskmarker=26
{1}/* {26}TODO{1}: sleep */{0}
{2}// escapesequence=27
{6}"{27}\001{6} {27}\b{6}"{0}
Update scintilla 5.3.4 and lexilla 5.2.4 with: https://www.scintilla.org/scintilla534.zip Released 8 March 2023. Add multithreaded wrap to significantly improve performance of wrapping large files. More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477. Fix overlapping of text with line end wrap marker. Bug #2378. Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT. Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers. Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character. lexilla523 Released 8 March 2023. Add scripts/PromoteNew.bat script to promote .new files after checking. Makefile: Remove 1024-byte line length limit.. Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124. Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182. Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132. Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134. Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134. Ruby: Improve regex and heredoc recognition. Issue #136. Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140. Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135. YAML: Remove 1024-byte line length limit. https://www.scintilla.org/lexilla524.zip Released 13 March 2023. C++: Fix failure to recognize keywords containing upper case. Issue #149. GDScript: Support % and $ node paths. Issue #145, Pull request #146. Close #13338
2023-03-10 02:37:21 +00:00
{2}// identifier substyles.11.1=128
{128}vector{0}
{2}// identifier substyles.11.2=129
{129}std{0}
{2}// commentdockeyword substyles.17.1=130
{3}/** {130}@module{3} */{0}
{2}// Secondary styles inside preprocessor excluded section
{0}
{9}#if 0
{64}
{66}// default=0
{64}
{66}// comment=1
{65}/* */{64}
{65}/* commentline=2 */{64}
{66}// example line
{64}
{66}// commentdoc=3
{67}/** */{64}
{66}// number=4
{68}123{64}
{66}// word=5
{69}int{64}
{66}// string=6
{70}"string"{64}
{66}// character=7
{71}'c'{64}
{66}// uuid=8
{69}uuid{74}({72}3fd43029-1354-42f0-a5be-4a484c9c5250{74}){64}
{66}// preprocessor=9
{73}#define xxx 1
{64}
{66}// operator=10
{74}{}{64}
{66}// identifier=11
{75}identifier{64}
{66}// stringeol=12
{76}"
{64}
{66}// verbatim=13
{77}@"verbatim"{64}
{66}// regex=14
{74}({78}/regex/{74}){64}
{66}// commentlinedoc=15
{79}/// example
{64}
{66}// word2=16
{80}second{64}
{66}// commentdockeyword=17
{67}/** {81}@file{67} */{64}
{66}// commentdockeyworderror=18
{67}/** {82}@wrongkey{67} */{64}
{66}// globalclass=19
{83}global{64}
{66}// stringraw=20
{84}R"( )"{64}
{66}// tripleverbatim=21
{85}""" xx """{64}
{66}// hashquotedstring=22
{86}#" xx "{64}
{66}// preprocessorcomment=23
{73}#define {87}/* comment */{73}
{64}
{66}// preprocessorcommentdoc=24
{73}#define {88}/** comment */{73}
{64}
{66}// userliteral=25
{89}1_date_{64}
{66}// taskmarker=26
{65}/* {90}TODO{65}: sleep */{64}
{66}// escapesequence=27
{70}"{91}\001{70} {91}\b{70}"{64}
Update scintilla 5.3.4 and lexilla 5.2.4 with: https://www.scintilla.org/scintilla534.zip Released 8 March 2023. Add multithreaded wrap to significantly improve performance of wrapping large files. More typesafe bindings of *Full APIs in ScintillaCall. Feature #1477. Fix overlapping of text with line end wrap marker. Bug #2378. Fix clipping of line end wrap symbol for SC_WRAPVISUALFLAGLOC_END_BY_TEXT. Where a multi-byte character contains multiple styles, display each byte as a representation. This makes it easier to see and fix lexers that change styles mid-character, commonly because they use fixed size buffers. Fix a potential crash with autocompletion list fill-ups where a SCN_CHARADDED handler retriggered an autocompletion list, but with no items that match the typed character. lexilla523 Released 8 March 2023. Add scripts/PromoteNew.bat script to promote .new files after checking. Makefile: Remove 1024-byte line length limit.. Ruby: Add new lexical classes for % literals SCE_RB_STRING_W (%w non-interpolable string array), SCE_RB_STRING_I (%i non-interpolable symbol array), SCE_RB_STRING_QI (%I interpolable symbol array), and SCE_RB_STRING_QS (%s symbol). Issue #124. Ruby: Disambiguate %= which may be a quote or modulo assignment. Issue #124, Bug #1255, Bug #2182. Ruby: Fix additional fold level for single character in SCE_RB_STRING_QW. Issue #132. Ruby: Set SCE_RB_HERE_QQ for unquoted and double-quoted heredocs and SCE_RB_HERE_QX for backticks-quoted heredocs. Issue #134. Ruby: Recognise #{} inside SCE_RB_HERE_QQ and SCE_RB_HERE_QX. Issue #134. Ruby: Improve regex and heredoc recognition. Issue #136. Ruby: Highlight #@, #@@ and #$ style interpolation. Issue #140. Ruby: Fix folding for multiple heredocs started on one line. Fix folding when there is a space after heredoc opening delimiter. Issue #135. YAML: Remove 1024-byte line length limit. https://www.scintilla.org/lexilla524.zip Released 13 March 2023. C++: Fix failure to recognize keywords containing upper case. Issue #149. GDScript: Support % and $ node paths. Issue #145, Pull request #146. Close #13338
2023-03-10 02:37:21 +00:00
{66}// identifier substyles.75.1=192
{192}vector{64}
{66}// identifier substyles.75.2=193
{193}std{64}
{66}// commentdockeyword substyles.81.1=194
{67}/** {194}@module{67} */{64}
{9}#endif