mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-16 00:38:56 +00:00
fix: bug 242664: [Content Assist] Proposals
https://bugs.eclipse.org/bugs/show_bug.cgi?id=242664
This commit is contained in:
parent
c9fc5d9a4b
commit
24f32bad39
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ public final class ParseTreeUtil {
|
|||
|
||||
AbstractNode abstractNode = null;
|
||||
|
||||
if (contextNode.getOffset() <= offsetPosition) {
|
||||
if (contextNode.getOffset() < offsetPosition ||
|
||||
(0==offsetPosition && offsetPosition==contextNode.getOffset())) {
|
||||
|
||||
if (contextNode.getGrammarElement() instanceof AbstractElement
|
||||
|| contextNode.getGrammarElement() instanceof ParserRule) {
|
||||
|
|
Loading…
Reference in a new issue