mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-11-05 14:04:12 +01:00
Release 5.5.2 ( https://www.scintilla.org/scintilla552.zip ) Released 21 August 2024. Add SCI_SETCOPYSEPARATOR for separator between parts of a multiple selection when copied to the clipboard. Feature #1530. Add SCI_GETUNDOSEQUENCE to determine whether an undo sequence is active and its nesting depth. Add SCI_STYLESETSTRETCH to support condensed and expanded text styles. Add SCI_LINEINDENT and SCI_LINEDEDENT. Feature #1524. Fix bug on Cocoa where double-click stopped working when system had been running for a long time. On Cocoa implement more values of font weight and stretch. Release 5.4.0 ( https://www.scintilla.org/lexilla540.zip ) Released 21 August 2024. Inside Lexilla, LexerModule instances are now const. This will require changes to applications that modify Lexilla.cxx, which may be done to add custom lexers. Lexer added for TOML "toml". Bash: Handle backslash in heredoc delimiter. Issue #257. Progress: Fix lexing of nested comments. Pull request #258. Force lower-casing of case-insensitive keyword lists so keywords match in some lexers. Issue #259. Close #15564
71 lines
1.7 KiB
Plaintext
71 lines
1.7 KiB
Plaintext
{12}//line comment
|
|
{0}
|
|
{10}/* block comment */{0}
|
|
|
|
{10}/* block comment on
|
|
multiple lines */{0}
|
|
|
|
{10}/* //line comment within block comment */{0}
|
|
|
|
{12}// /*block comment within line comment */
|
|
{0}
|
|
{12}// using open-block-comment symbol alone on line comment /*
|
|
{0}
|
|
{10}/* /* nested block comment */ */{0}
|
|
|
|
{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0}
|
|
{2}DISPLAY{0} {3}"//this line of code is a test"{6}.{0}
|
|
{2}DISPLAY{0} {3}"/* this line of code is a test */"{6}.{0}
|
|
|
|
{12}// using close-block-comment symbol alone on line comment */
|
|
{0}
|
|
{12}// /* improperly closed block comment within line comment */ */
|
|
{0}
|
|
{10}/*
|
|
//line comment 1 in block comment
|
|
//line comment 2 in block comment
|
|
//line comment 3 in block comment
|
|
*/{0}
|
|
|
|
{10}/*
|
|
block comment text
|
|
//line comment text
|
|
/* inner block comment text*/
|
|
*/{0}
|
|
|
|
{2}DISPLAY{0} {3}"This is a open-block-comment symbol /*"{6}.{0}
|
|
{2}DISPLAY{0} {3}"This is a close-block-comment symbol */"{6}.{0}
|
|
|
|
{12}//* line comment plus * looks like open-block-comment
|
|
{0}
|
|
|
|
{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0}
|
|
|
|
{10}/*display statement within block comment
|
|
DISPLAY "this is a string".
|
|
*/{0}
|
|
|
|
{2}DISPLAY{0} {3}"//line comment within string"{6}.{0}
|
|
|
|
{2}DISPLAY{0} {3}"/* //line comment within block comment within string */"{6}.{0}
|
|
|
|
{10}/* Improperly closed block comment */{0} {6}*/{0}
|
|
|
|
{2}DISPLAY{0} {3}"this line of code is a test"{6}.{0}
|
|
|
|
{2}DISPLAY{0} {3}"line comment with leading whitespace"{6}.{0} {12}// this is a line comment
|
|
{2}DISPLAY{0} {3}"line comment without leading whitespace"{6}.//{0} {7}this{0} {7}is{0} {7}not{0} {7}a{0} {7}line{0} {7}comment{0}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|