Skip to content

Commit f1e32be

Browse files
author
livecodeali
committed
[[ Bug 15845 ]] Ensure inline docs for SolidPaintMake are immediately preceding syntax def
1 parent ba4c3d2 commit f1e32be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/notes/bugfix-15845.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Solid Paint With Color API entry incorrect

engine/src/canvas.mlc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,8 @@ end syntax
11071107

11081108
// Constructors
11091109

1110+
public foreign handler MCCanvasSolidPaintMakeWithColor(in pColor as Color, out rSolid as SolidPaint) returns nothing binds to "<builtin>"
1111+
11101112
/*
11111113
Summary: Creates a new solid color paint.
11121114

@@ -1122,8 +1124,6 @@ Example:
11221124
Tags: Canvas
11231125
*/
11241126

1125-
public foreign handler MCCanvasSolidPaintMakeWithColor(in pColor as Color, out rSolid as SolidPaint) returns nothing binds to "<builtin>"
1126-
11271127
syntax SolidPaintMake is prefix operator with precedence 4
11281128
"solid" "paint" "with" <mColor: Expression>
11291129
begin

0 commit comments

Comments
 (0)