mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-26 12:18:31 +02:00
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
40 lines
980 B
Plaintext
40 lines
980 B
Plaintext
{1}rem remark and comment bug
|
|
{0}
|
|
{5}findstr{0} /c:"rem this" "file"
|
|
{5}findstr{0} /c:":: this" "file"
|
|
|
|
{1}:: SingleQuoted command string
|
|
{2}for{0} /f {6}%%A{2} in{0} ('rem this'){2} do echo{0} {6}%%A{0}
|
|
|
|
{1}:: DoubleQuoted string
|
|
{2}for{0} /f {6}%%A{2} in{0} ("rem this"){2} do echo{0} {6}%%A{0}
|
|
|
|
{1}:: BackQuote command string
|
|
{2}for{0} /f "usebackq" {6}%%A{2} in{0} (`rem this`){2} do echo{0} {6}%%A{0}
|
|
|
|
{1}:: Test the handling of quotes ' and " and escape ^
|
|
:: Comment
|
|
{0}
|
|
{1}:: With quotes
|
|
{0}":: Text
|
|
""{1}:: Comment
|
|
{0}':: Text
|
|
''{1}:: Comment
|
|
:: Mixing quotes - likely incorrect as lexer tries ' and " separately, leaving an active quote
|
|
{0}"'":: Text
|
|
|
|
{1}:: With escapes
|
|
{5}^::{0} Text
|
|
{5}^{0}"{1}:: Comment
|
|
{5}^{0}"":: Text
|
|
{5}^{0}"""{1}:: Comment
|
|
{5}^^{0}":: Text
|
|
{5}^^{0}""{1}:: Comment
|
|
{5}^^{0}""":: Text
|
|
|
|
{1}:: With preceding command
|
|
{5}mkdir{0} archive ":: Text
|
|
{5}mkdir{0} archive ""{1}:: Comment
|
|
{5}mkdir{0} archive ^"{1}:: Comment
|
|
{5}mkdir{0} archive ^"":: Text
|