mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-26 20:28:31 +02:00
Update scintilla with https://www.scintilla.org/scintilla537.zip Release 5.3.7 Released 22 September 2023. For GTK on macOS, fix popup window behaviour by setting type hints. Bug #2401. For GTK, fix assertion failure on some systems when an INDIC_SQUIGGLEPIXMAP drawn for a zero-width character. For Qt, allow parent window to handle context menu events by setting as ignored. Bug #2395. For Qt, fix potential crash when using IME with large amount of text selected. For Windows, fix building with non-English environment. Bug #2400. and lexilla https://www.scintilla.org/lexilla527.zip Release 5.2.7 Released 22 September 2023. Fix building on Windows with non-English environment. Pull request #200. Bash: fix line continuation for comments and when multiple backslashes at line end. Issue #195. Bash: treat += as operator and, inside arithmetic expressions, treat ++ and -- as operators. Issue #197. Bash: improve backslash handling inside backquoted command substitution and fix $ at end of backtick expression. Issue #194. Bash: treat words that are similar to numbers but invalid wholly as identifiers. Issue #199. Bash: consistently handle '-' options at line start and after '|' as identifiers. Issue #202. Bash: handle '-' options differently in [ single ] and [[ double ]] bracket constructs. Issue #203. F#: improve speed of folding long lines. Issue #198. HTML: fix invalid entity at line end and terminate invalid entity before invalid character. Issue #192. Fix #13991, fix #14062, close #14173
53 lines
2.0 KiB
Plaintext
53 lines
2.0 KiB
Plaintext
{2}#!/usr/bin/env bash{0}
|
|
{4}set{0} {8}-e{0}
|
|
{2}# -----------------------------------------------------------------------------{0}
|
|
{2}# Voluptatem dolore magnam eius quisquam eius dolor labore. Porro dolor amet ut.{0}
|
|
{2}# Numquam labore amet modi. Dolorem velit numquam porro est quiquia ipsum quisquam.{0}
|
|
{2}# Magnam consectetur est voluptatem aliquam adipisci. Sed dolorem quaerat quiquia.{0}
|
|
{2}# -----------------------------------------------------------------------------{0}
|
|
{4}export{0} {8}PYTHONPATH{7}={5}"scripts:$PYTHONPATH"{0}
|
|
|
|
{4}if{0} {7}[[{0} {4}-z{0} {5}"$1"{0} {7}]];{0} {4}then{0}
|
|
{8}PROJECT_DIR{7}={11}$(rlwrap -S "Enter source path: " -e '' -i -o cat){0}
|
|
{8}PROJECT_PATH{7}={5}"$(pwd)/$PROJECT_DIR"{0}
|
|
{4}else{0}
|
|
{8}PROJECT_PATH{7}={5}"$(pwd)/${1}"{0}
|
|
{4}fi{0}
|
|
|
|
{8}OUT_FILE{7}={10}${PROJECT_PATH}{7}/{8}testing.txt{0}
|
|
|
|
{7}({4}cat{12}<<EOF{13}
|
|
Last run $(date +'%Y-%m-%d') at $(date +'%H:%M:%S.%2N')
|
|
{12}EOF{0}
|
|
{7}){0} {7}>{0} {9}$OUT_FILE{0}
|
|
|
|
{2}# Issue 188, keyword before redirection operator{0}
|
|
{4}pwd{7}>>{9}$OUT_FILE{0}
|
|
|
|
{4}find{0} {5}"$PROJECT_PATH/src"{0} {8}-maxdepth{0} {3}1{0} {8}-type{0} {8}f{0} {7}|\{0}
|
|
{4}while{0} {8}read{0} {8}-r{0} {8}f{7};{0} {4}do{0}
|
|
{7}{{0}
|
|
{8}python3{0} {8}-c{0} {5}"print();print('='*50)"{7};\{0}
|
|
{4}echo{0} {11}`basename "$f"`{0} {7}|{0} {8}tr{0} {8}-d{0} {6}'x'{7};\{0}
|
|
{8}python3{0} {8}-c{0} {5}"print('='*50)"{7};\{0}
|
|
{8}python3{0} {5}"$f"{7};\{0}
|
|
{7}}{0} {7}>>{0} {9}$OUT_FILE{0}
|
|
{4}done{0}
|
|
|
|
{2}# Issue 137, should be shift but here-doc was detected{0}
|
|
{4}echo{0} {7}$(({0} {8}x{0} {7}<<{0} {8}END{0} {7})){0}
|
|
{4}pwd{0}
|
|
{8}END{0}
|
|
|
|
{2}# Issue 194, failed to understand character escaping so string unterminated{0}
|
|
{4}echo{0} {5}"foo `echo foo \\" bar` bar"{0}
|
|
{4}echo{0} {5}"xinput set-prop bla \"blub\" `grep bla $WRITE_APPENDIX/var/lib/path.txt | cut -d \\" -f 4`"{0} {7}>/{8}some_file.sh{0}
|
|
|
|
{2}# Issue 194, $ before end of backticks is literal{0}
|
|
{4}echo{0} {11}`echo \$`{0}
|
|
{4}echo{0} {11}`echo \$bar\$`{0}
|
|
{4}echo{0} {11}`echo $`{0}
|
|
{4}echo{0} {11}`echo $bar$`{0}
|
|
|
|
{8}INVALID_NUMBER{7}={1}0#0000{0}
|