mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-26 12:18:31 +02:00
Release 5.5.3 (https://www.scintilla.org/scintilla553.zip) Released 19 October 2024. On Win32 change direction of horizontal mouse wheel and touchpad scrolling to match other applications. Bug #2449. Release 5.4.1 (https://www.scintilla.org/lexilla541.zip) Released 19 October 2024. Lexer added for Dart "dart". Pull request #265, Pull request #275. Lexer added for troff / nroff "troff". Pull request #264. Lexer added for Zig "zig". Pull request #267. C++: Fix crash for empty documentation comment keyword where '<' occurs at line end. F#: Include EOLs in the style range of SCE_FSHARP_COMMENTLINE. Stabilizes EOL detection when folding line comment groups. Issue #276. F#: Fix per-line folding in F# documents. Issue #277. HTML: Improve SGML/DTD lexing. Don't terminate SGML when > inside quoted string. Lex both [ and ] as SCE_H_SGML_DEFAULT. Nested sections handled instead of switching to SCE_H_SGML_ERROR. Issue #272. JavaScript: New SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL styles for template literals when lexer is hypertext, or xml. Issue #280. PHP: Fix failure to recognize PHP start "<?php' at end of document. Caused by not capping retrieval range at document end causing no text to be retrieved. Issue #269. Smalltalk: Fix scaled decimal numbers without decimal separator. Pull request #274. Fix #15228, fix #15368, fix #15650, close #15717
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
{8}(*
|
|
(** nested comment 1 **)
|
|
(*
|
|
nested comment 2
|
|
(*
|
|
nested comment 3
|
|
(*
|
|
nested comment 4
|
|
(*
|
|
nested comment 5
|
|
*)
|
|
*)
|
|
*)
|
|
*)
|
|
*){0}
|
|
{9}// declare a namespace
|
|
// for the module
|
|
{1}namespace{0} {6}Issue93{0}
|
|
|
|
{1}module{0} {6}NestedComments{0} {12}={0}
|
|
{1}open{0} {3}FSharp{0}.{6}Quotations{0}
|
|
{1}open{0} {3}FSharp{0}.{6}Quotations{0}.{6}Patterns{0}
|
|
{9}// print the arguments
|
|
{0} {9}// of an evaluated expression
|
|
{0} {8}(* Example:
|
|
(*
|
|
printArgs <@ 1 + 2 @> ;;
|
|
// 1
|
|
// 2
|
|
*)
|
|
*){0}
|
|
{1}let{0} {6}printArgs{0} {6}expr{0} {12}={0}
|
|
{1}let{0} {6}getVal{0} {12}={0} {1}function{0} {6}Value{0} {12}({6}v{12},{0} {6}_{12}){0} {12}->{0} {1}downcast{0} {6}v{0} {12}|{0} {6}_{0} {12}->{0} {1}null{0}
|
|
{1}match{0} {6}expr{0} {1}with{0}
|
|
{12}|{0} {6}Call{0} {12}({6}_{12},{0} {6}_{12},{0} {6}args{12}){0} {12}->{0}
|
|
{3}List{0}.{2}map{0} {6}getVal{0} {6}args{0} {12}|>{0} {3}List{0}.{2}iter{0} {12}({2}printfn{0} {15}"{19}%A{15}"{12}){0}
|
|
{12}|{0} {6}_{0} {12}->{0}
|
|
{2}printfn{0} {15}"not an evaluated expression"{0}
|
|
{8}(* Example:
|
|
(*
|
|
let constExpr = <@ true @> ;;
|
|
printArgs constExpr ;;
|
|
*)
|
|
*){0}
|
|
{9}// Prints:
|
|
{0} {9}// "not an evaluated expression"
|