Issue Details (XML | Word | Printable)

Key: FDT-2493
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: Panel
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Missing variable on the code completion list when wariable name starts with keyword

Created: 13/Dec/11 06:46 PM   Updated: 22/Jun/12 07:01 PM
Component/s: Editor (Deprecated)
Affects Version/s: FDT 4.5.3
Fix Version/s: FDT 5.5
Security Level: public

Time Tracking:
Not Specified

 Description  « Hide
When variable name starts with 'do' or 'for' the variable is not shown on code completion list.
Just put cursor on market position and hit ctrl + space
	import flash.display.Sprite;
	public class ABC extends Sprite
		public function ABC()
			var door1:Object;
			var door2:Object;
			var fortress1:Object;
			var fortress2:Object;
			var asteroid1:Object;
			var asteroid2:Object;
			changeDoor(fo[CURSOR_HERE]); //ok
			changeDoor(for[CURSOR_HERE]);  //code completion list will not show fortress1 and fortress2 variables
			changeDoor(fort[CURSOR_HERE]);  //ok
			changeDoor(d[CURSOR_HERE]); //ok
			changeDoor(do[CURSOR_HERE]);  //code completion list will not show door1 and door2 variables
			changeDoor(doo[CURSOR_HERE]);  //ok

BTW There may be more keywords regarding this issue

 All   Comments   Work Log   Change History      Sort Order: Descending order - Click to sort in ascending order
Panel added a comment - 14/Mar/12 09:31 AM - edited
same applies to use preffix, get preffix and probably set