mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-27 04:38:26 +02:00
Scintilla 5.4.1 https://www.scintilla.org/scintilla541.zip Released 27 December 2023. 1. Add IDocumentEditable interface to allow efficient interaction with document objects which may not be visible in a Scintilla instance. This feature is provisonal and may change before being declared stable. For better type-safety, the ScintillaCall C++ API uses IDocumentEditable* where void* was used before which may require changes to client code that uses document pointer APIs DocPointer, SetDocPointer, CreateDocument, AddRefDocument, and ReleaseDocument. 2. Ctrl-click on a selection deselects it in multiple selection mode. 3. Add SCI_SELECTIONFROMPOINT for modifying multiple selections. 4. Add SCI_SETMOVEEXTENDSSELECTION and SCI_CHANGESELECTIONMODE to simplify selection mode manipulation. 5. Improve performance of global replace by reducing cache invalidation overhead. [Feature #1502](https://sourceforge.net/p/scintilla/feature-requests/1502/). 6. Fix regular expression search for "\<" matching beginning of search when not beginning of word and for "\>" not matching line end. [Bug #2157](https://sourceforge.net/p/scintilla/bugs/2157/). 7. Fix regular expression search failure when search for "\<" followed by search for "\>". [Bug #2413](https://sourceforge.net/p/scintilla/bugs/2413/). 8. Fix regular expression assertion (^, $, \b. \B) failures when using SCFIND_CXX11REGEX. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/). 9. Fix regular expression bug in reverse direction where shortened match returned. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/). 10. Avoid character fragments in regular expression search results. [Bug #2405](https://sourceforge.net/p/scintilla/bugs/2405/). 11. With a document that does not have the SC_DOCUMENTOPTION_TEXT_LARGE option set, allocating more than 2G (calling SCI_ALLOCATE or similar) will now fail with SC_STATUS_FAILURE. 12. Protect SCI_REPLACETARGET, SCI_REPLACETARGETMINIMAL, and SCI_REPLACETARGETRE from application changing target in notification handlers. [Bug #2289](https://sourceforge.net/p/scintilla/bugs/2289/). Lexilla 5.3.0 https://www.scintilla.org/lexilla530.zip Released 27 December 2023. 1. Fix calling AddStaticLexerModule by defining as C++ instead of C which matches header. [Bug #2421](https://sourceforge.net/p/scintilla/bugs/2421/). 2. Bash: Fix shift operator << incorrectly recognized as here-doc. [Issue #215](https://github.com/ScintillaOrg/lexilla/issues/215). 3. Bash: Fix termination of '${' with first unquoted '}' instead of nesting. [Issue #216](https://github.com/ScintillaOrg/lexilla/issues/216). 4. HTML: JavaScript double-quoted strings may escape line end with '\'. [Issue #214](https://github.com/ScintillaOrg/lexilla/issues/214). 5. Lua: recognize --- doc comments. Defined by [LDoc](https://github.com/lunarmodules/ldoc). Does not recognize --[[-- doc comments which seem less common. Close #14375
82 lines
2.1 KiB
Plaintext
82 lines
2.1 KiB
Plaintext
0 400 0 # Nested elements and other complex cases
|
|
1 400 0
|
|
0 400 0 # String with backtick inclusion
|
|
0 400 0 "x`ls`"
|
|
0 400 0 # Nested string
|
|
0 400 0 "x`ls "*.c"`"
|
|
0 400 0 # Not terminated at first "
|
|
0 400 0 "x`ls" # "`" #
|
|
1 400 0
|
|
0 400 0 # String with command inclusion
|
|
0 400 0 "x$(ls)"
|
|
1 400 0
|
|
0 400 0 # Nested command
|
|
0 400 0 $(ls -la$(ls *.c))
|
|
1 400 0
|
|
0 400 0 # Check strings and backticks in command
|
|
0 400 0 echo $('ls' "." `ls` $'.' $".")
|
|
1 400 0
|
|
0 400 0 # $( not terminated by ) if contains unterminated string
|
|
0 400 0 $('x) # ') #
|
|
0 400 0 $("x) # ") #
|
|
0 400 0 $(`x) # `) # Bash doesn't like this
|
|
0 400 0 $($'x) # ') #
|
|
0 400 0 $($"x) # ") #
|
|
1 400 0
|
|
0 400 0 # Parameter expansion
|
|
0 400 0 var=abcdef
|
|
0 400 0 sub=abc
|
|
0 400 0 rep='& '
|
|
0 400 0 echo ${var/$sub/"${rep}}"} #
|
|
0 400 0 # issue 216
|
|
0 400 0 option="no[foo]"
|
|
0 400 0 option=${option%%[<{().[]*}
|
|
0 400 0 echo $option
|
|
1 400 0
|
|
0 400 0 # '$' in variable
|
|
0 400 0 echo $$PID
|
|
0 400 0 echo $var${var}
|
|
1 400 0
|
|
0 400 0 # Here-doc with internal elements
|
|
2 400 0 + cat <<EOF
|
|
0 401 0 | $scalar
|
|
0 401 0 | ${var}
|
|
0 401 0 | $((1+2))
|
|
0 401 0 | $(pwd)
|
|
0 401 0 | `pwd`
|
|
0 401 0 | EOF
|
|
1 400 0
|
|
0 400 0 # Quoted delimiter treats here-doc as simple string
|
|
2 400 0 + cat <<"EOF"
|
|
0 401 0 | $scalar
|
|
0 401 0 | ${var}
|
|
0 401 0 | $((1+2))
|
|
0 401 0 | $(pwd)
|
|
0 401 0 | `pwd`
|
|
0 401 0 | EOF
|
|
1 400 0
|
|
0 400 0 # Escaped same as quoted
|
|
2 400 0 + cat <<\EOF
|
|
0 401 0 | $scalar
|
|
0 401 0 | EOF
|
|
1 400 0
|
|
0 400 0 # Nesting
|
|
0 400 0 echo "$((1 + 2))" #
|
|
0 400 0 echo "$[1 + 2]" #
|
|
1 400 0
|
|
0 400 0 # Multiple nesting levels
|
|
0 400 0 $(ls -la$(ls $(c) $'*.c' ` $(${s})`))
|
|
1 400 0
|
|
0 400 0 # Multi-line
|
|
0 400 0 $(ls |
|
|
0 400 0 more)
|
|
1 400 0
|
|
0 400 0 $(
|
|
0 400 0 `x`
|
|
0 400 0 "x"
|
|
0 400 0 `ls`
|
|
0 400 0 $'x'
|
|
0 400 0 $"x"
|
|
0 400 0 )
|
|
0 400 0 #end -- checks termination of previous
|
|
0 400 0 |