fixed #268 : autocomplete does not add parenthesis if there arlready is a
opening parenthesis