IDE: fixed identifier completion cursor for Canvas.Colors, bug #12108

git-svn-id: trunk@16510 -
This commit is contained in:
mattias 2008-09-09 21:20:39 +00:00
parent 595bc12c8c
commit 4267b846de

View File

@ -518,7 +518,8 @@ begin
if CursorAtEnd then ;
// add assignment operator :=
if (ilcfStartIsLValue in IdentList.ContextFlags)
if (CursorToLeft=0)
and (ilcfStartIsLValue in IdentList.ContextFlags)
and (not IdentItem.HasChilds)
and (not IdentList.StartUpAtomBehindIs(':='))
and (IdentItem.CanBeAssigned)