Ticket #777 (closed defect: fixed)
Method Auto Complete doesn't work when lines between cursor and EOF
|Reported by:||waxhead||Owned by:||waxhead|
When method autocomplete is on and the editor has lines before the EOF, the pos and last wasn't being calculated correctly, so when the condtion:
and ( ( $key < 48 )
or ( ( $key > 57 ) and ( $key < 65 ) )
or ( ( $key > 90 ) and ( $key < 95 ) )
or ( $key == 96 )
or ( $key > 122 ) )
and ( $pos == $last )
was checked, $pos != $last.
This is fixed by calling:
my $last = $editor->GetLineEndPosition?($line);
Can you just confirm for me that this is the case( that method autocomplete isn't working for not just me ) and let me know and assign this back to me.
I have a fix in place, but a lot of debugging code that needs to come out before committing to trunk.