Closed DanielHudson closed 9 years ago
this.graphics.beginGradientFill( type : flash.display.GradientType , colors : Array<UInt> , alphas : Array<Dynamic> , ratios : Array<Dynamic> , ?matrix : flash.geom.Matrix , ?spreadMethod : flash.display.SpreadMethod , ?interpolationMethod : flash.display.InterpolationMethod , ?focalPointRatio : Float )
Take this...
beginGradientFill(GradientType.LINEAR, [0xff0000, ...
The comma in the inline array will trigger the code completion, if you then keep typing and close the array followed by another comma...
beginGradientFill(GradientType.LINEAR, [0xff0000, 0x00ff00], ...
The code completion will skip a parameter... (ie alphas).
I can confirm, this is also happening to me. Here's some screenshots:
I'll see what I can do. Function arguments parsing is pretty basic currently...
Take this...
beginGradientFill(GradientType.LINEAR, [0xff0000, ...
The comma in the inline array will trigger the code completion, if you then keep typing and close the array followed by another comma...
beginGradientFill(GradientType.LINEAR, [0xff0000, 0x00ff00], ...
The code completion will skip a parameter... (ie alphas).