try {
int start = getCompletionOffset();
+ if ( ((start != 0) && specialChars.indexOf(document.getChar(start - 1)) != (-1) )) {
+ return --start;
+ }
+
while (((start != 0) && Character.isUnicodeIdentifierPart(document.getChar(start - 1)))
|| ((start != 0) && specialChars.indexOf(document.getChar(start - 1)) != (-1) )) {
start--;