notepad-plus-plus/lexilla/test/examples/r/AllStyles.r.folded
Christian Grasser 69998ab7de Update Scintilla to v5.3.8 & Lexilla to v5.2.8
Scintilla Release 5.3.8 https://www.scintilla.org/scintilla538.zip

    Released 5 November 2023.
    Fix excessive memory use when deleting contiguous ranges backwards. Notepad++ Issue #13442.
    Fix incorrect substitution when searching for a regular expression backwards. Bug #2405.
    Make SCI_MOVESELECTEDLINESUP and SCI_MOVESELECTEDLINESDOWN work for rectangular selections. Bug #2078.
    For Cocoa, minimum supported macOS release increased to 10.13.
    For Cocoa, fix invisible text on macOS 14 Sonoma. Bug #2402.
    For Cocoa, do nothing for suspendDrawing on macOS 10.14+ as the underlying calls have been deprecated.

and lexilla

Release 5.2.8 https://www.scintilla.org/lexilla528.zip

    Released 5 November 2023.
    Python: Update f-string handling to match PEP 701 and Python 3.12. Controlled with property lexer.python.strings.f.pep.701. Issue #150, Pull request #209.
    R: Fix escape sequence highlighting with change of for loop to while loop. Issue #206, Pull request #207.
    Minimum supported macOS release increased to 10.13.

Related to Notepad++ issue #13442, #14188 & #14288
Tested with: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14188#issuecomment-1740088956
Result: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14188#issuecomment-1799039503

Fix #13442, fix #14188, fix #14288, close #14320
2023-11-07 17:00:13 +01:00

52 lines
1.6 KiB
Plaintext

0 400 400 # https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Reserved-words
0 400 400 if
1 400 400
0 400 400 # base keyword (3)
0 400 400 abbreviate
1 400 400
0 400 400 # other keyword (4)
0 400 400 acme
1 400 400
0 400 400 # infix operator
0 400 400 # https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Special-operators
0 400 400 %x%
1 400 400
0 400 400 # https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Literal-constants
0 400 400 # Valid integer constants
0 400 400 1L, 0x10L, 1000000L, 1e6L
1 400 400
0 400 400 # Valid numeric constants
0 400 400 1 10 0.1 .2 1e-7 1.2e+7
0 400 400 1.1L, 1e-3L, 0x1.1p-2
1 400 400
0 400 400 # Valid complex constants
0 400 400 2i 4.1i 1e-2i
1 400 400
0 400 400 # https://search.r-project.org/R/refmans/base/html/Quotes.html
0 400 400 # single quotes
0 400 400 '"It\'s alive!", he screamed.'
1 400 400
0 400 400 # double quotes
0 400 400 "\"It's alive!\", he screamed."
1 400 400
0 400 400 # escape sequence
0 400 400 "\n0\r1\t2\b3\a4\f5\\6\'7\"8\`9"
0 400 400 "\1230\x121\u12342\U000123453\u{1234}4\U{00012345}5\
0 400 400 6\ 7"
0 400 400 # issue #206
0 400 400 "\n"
0 400 400 "\r\n"
1 400 400
0 400 400 # Backticks
0 400 400 d$`1st column`
1 400 400
0 400 400 # double quoted raw string
0 400 400 r"---(\1--)-)---"
1 400 400
0 400 400 # single quoted raw string
0 400 400 R'---(\1--)-)---'
1 400 400
0 400 400 # infix EOL (11)
0 400 400 %a
0 400 400 #back to comment
0 400 0