Editing is disabled when there's a reply to your comment. There might be other cases where editing is disabled, but that's the only one that I know of offhand.
AFAIK editing your own comments is possible 'til someone replies them; after that, you shouldn't be able to edit them. There was a bug-thingie some time ago that allowed to do so, but now it's fixed.
no subject
(no subject)
(no subject)
no subject
(no subject)
(no subject)