mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-11-05 22:13:50 +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
2.3 KiB
Plaintext
71 lines
2.3 KiB
Plaintext
0 400 400 //line comment
|
|
0 400 400
|
|
0 400 400 /* block comment */
|
|
0 400 400
|
|
2 400 401 + /* block comment on
|
|
0 401 400 | multiple lines */
|
|
0 400 400
|
|
0 400 400 /* //line comment within block comment */
|
|
0 400 400
|
|
0 400 400 // /*block comment within line comment */
|
|
0 400 400
|
|
0 400 400 // using open-block-comment symbol alone on line comment /*
|
|
0 400 400
|
|
0 400 400 /* /* nested block comment */ */
|
|
0 400 400
|
|
0 400 400 DISPLAY "this line of code is a test".
|
|
0 400 400 DISPLAY "//this line of code is a test".
|
|
0 400 400 DISPLAY "/* this line of code is a test */".
|
|
0 400 400
|
|
0 400 400 // using close-block-comment symbol alone on line comment */
|
|
0 400 400
|
|
0 400 400 // /* improperly closed block comment within line comment */ */
|
|
0 400 400
|
|
2 400 401 + /*
|
|
0 401 401 | //line comment 1 in block comment
|
|
0 401 401 | //line comment 2 in block comment
|
|
0 401 401 | //line comment 3 in block comment
|
|
0 401 400 | */
|
|
0 400 400
|
|
2 400 401 + /*
|
|
0 401 401 | block comment text
|
|
0 401 401 | //line comment text
|
|
0 401 401 | /* inner block comment text*/
|
|
0 401 400 | */
|
|
0 400 400
|
|
0 400 400 DISPLAY "This is a open-block-comment symbol /*".
|
|
0 400 400 DISPLAY "This is a close-block-comment symbol */".
|
|
0 400 400
|
|
0 400 400 //* line comment plus * looks like open-block-comment
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400 DISPLAY "this line of code is a test".
|
|
0 400 400
|
|
2 400 401 + /*display statement within block comment
|
|
0 401 401 | DISPLAY "this is a string".
|
|
0 401 400 | */
|
|
0 400 400
|
|
0 400 400 DISPLAY "//line comment within string".
|
|
0 400 400
|
|
0 400 400 DISPLAY "/* //line comment within block comment within string */".
|
|
0 400 400
|
|
0 400 400 /* Improperly closed block comment */ */
|
|
0 400 400
|
|
0 400 400 DISPLAY "this line of code is a test".
|
|
0 400 400
|
|
0 400 400 DISPLAY "line comment with leading whitespace". // this is a line comment
|
|
0 400 400 DISPLAY "line comment without leading whitespace".// this is not a line comment
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
0 400 400
|
|
1 400 400 |