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
943 B
R

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