notepad-plus-plus/lexilla/test/examples/lua/AllStyles.lua.folded
Christian Grasser 881e8c285e Update to scintilla 5.5.0 & Lexilla 5.3.2
Sintilla Release 5.5.0 (https://www.scintilla.org/scintilla550.zip)

    Released 23 April 2024.
    Add elements for inactive additional selections SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT and SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK. When not set these default to SC_ELEMENT_SELECTION_INACTIVE_TEXT and SC_ELEMENT_SELECTION_INACTIVE_BACK. Bug #2417.
    On Cocoa, avoid use of NSUserDefaults which will soon require justification when used in applications on the App Store.
    Fix Win32 IME crash in windowed mode. Bug #2433.
    Scale reverse arrow cursor for margins to match other cursors when user changes pointer size. Bug #2321.

Lexilla Release 5.3.2 (https://www.scintilla.org/lexilla532.zip)

    Released 23 April 2024.
    COBOL: Stop string literal continuing over line end. Issue #229.
    COBOL: Stop doc comment assigning different styles to \r and \n at line end. Issue #229.
    COBOL: Recognize keywords that start with 'V'. Issue #230.
    COBOL: Recognize comments after tag or that start with '/'. Issue #231.
    HTML: Implement substyles for tags, attributes, and identifiers SCE_H_TAG, SCE_H_ATTRIBUTE, SCE_HJ_WORD, SCE_HJA_WORD, SCE_HB_WORD, SCE_HP_WORD, SCE_HPHP_WORD.
    HTML: Implement context-sensitive attributes. "tag.attribute" matches "attribute" only inside "tag".
    HTML: Match standard handling of comments. Issue #232.
    Lua: Implement substyles for identifiers SCE_LUA_IDENTIFIER.
    Ruby: Allow non-ASCII here-doc delimiters. Issue #234.
    Ruby: Allow modifier if, unless, while and until after heredoc delimiter. Issue #236.
    Rust: Recognize raw identifiers. Issue #239, Pull request #240.

Close #15042
2024-04-30 04:19:49 +02:00

70 lines
1.6 KiB
Plaintext

0 400 0 -- Enumerate all styles: 0 to 20
0 400 0 -- 3 (comment doc) is not currently produced by lexer
1 400 0
0 400 0 --[[ comment=1 ]]
1 400 0
0 400 0 --[[ whitespace=0 ]]
0 400 0 -- w
1 400 0
0 400 0 -- comment line=2
1 400 0
0 400 0 --- comment doc=3
0 400 0 -- still comment doc
1 400 0
0 400 0 -- still comment doc
0 400 0 3 -- comment doc broken only by code
1 400 0
0 400 0 -- number=4
0 400 0 37
1 400 0
0 400 0 -- keyword=5
0 400 0 local a
1 400 0
0 400 0 -- double-quoted-string=6
0 400 0 "str"
1 400 0
0 400 0 -- single-quoted-string=7
0 400 0 'str'
1 400 0
0 400 0 -- literal string=8
0 400 0 [[ literal ]]
1 400 0
0 400 0 -- unused preprocessor=9
0 400 0 $if
1 400 0
0 400 0 -- operator=10
0 400 0 *
1 400 0
0 400 0 -- identifier=11
0 400 0 identifier=1
1 400 0
0 400 0 -- string EOL=12
0 400 0 "unclosed
1 400 0
0 400 0 -- keyword 2=13
0 400 0 print
1 400 0
0 400 0 -- keyword 3=14
0 400 0 keyword3
1 400 0
0 400 0 -- keyword 4=15
0 400 0 keyword4
1 400 0
0 400 0 -- keyword 5=16
0 400 0 keyword5
1 400 0
0 400 0 -- keyword 6=17
0 400 0 keyword6
1 400 0
0 400 0 -- keyword 7=18
0 400 0 keyword7
1 400 0
0 400 0 -- keyword 8=19
0 400 0 keyword8
1 400 0
0 400 0 -- label=20
0 400 0 ::label::
1 400 0
0 400 0 -- identifier substyles.11.1=128
0 400 0 moon
0 400 0