You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libscript/src/char.mlc
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ public foreign handler MCCharEvalOffsetOfChars(in IsLast as bool, in Needle as s
16
16
public foreign handler MCCharEvalOffsetOfCharsBefore(in IsLast as bool, in Needle as string, in Before as index, in Target as string, out Offset as index) as undefined binds to "<builtin>"
17
17
public foreign handler MCCharEvalOffsetOfCharsAfter(in IsFirst as bool, in Needle as string, in After as index, in Target as string, out Offset as index) as undefined binds to "<builtin>"
18
18
19
+
public foreign handler MCCharEvalNewlineCharacter(out Value as string) as undefined binds to "<builtin>"
20
+
19
21
--
20
22
21
23
/*
@@ -123,7 +125,7 @@ output: Returns the number of chars between the first char of <Targe
123
125
*/
124
126
125
127
syntax CharOffset is prefix operator with precedence 1
0 commit comments