提交 6045000d 编写于 作者: S Serge Rider

#967 SQL completion fix (do not replace word right to the cursor).

上级 bd94c9e0
......@@ -162,7 +162,7 @@ public class SQLCompletionProposal implements ICompletionProposal, ICompletionPr
if (endOffset != -1) {
endOffset += wordDetector.getStartOffset();
} else {
endOffset = wordDetector.getEndOffset();
endOffset = wordDetector.getCursorOffset();//wordDetector.getEndOffset();
}
replacementOffset = startOffset;
replacementLength = endOffset - startOffset;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册