I have been toying with some of the new DrawingSurface functions and I noticed that the auto complete seems to work inconsistently. For example in Code: ags
typing "sur" on the line immediately following the definition of surface will call up the auto complete, but typing "sur" inside the while statement will not. typing "surface." will also not bring up the list of associated functions within the while statement. I have not tested this with any other Pointers.
This doesn't happen exclusively within while statements either. I've had it where on one line "sur" will bring up the auto complete and on the next it won't. But I'd need to dig up the code to verify that one.
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawingColor(14);
xd=radius;
while (x+xd>=x-radius){
yd=Maths.Sin(Maths.DegreesToRadians(45));
surface.
typing "sur" on the line immediately following the definition of surface will call up the auto complete, but typing "sur" inside the while statement will not. typing "surface." will also not bring up the list of associated functions within the while statement. I have not tested this with any other Pointers.
This doesn't happen exclusively within while statements either. I've had it where on one line "sur" will bring up the auto complete and on the next it won't. But I'd need to dig up the code to verify that one.