You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/01/07 19:34:17 UTC
[GitHub] matthiasblaesing opened a new pull request #357: [NETBEANS-250] Code-complete corrupts pom.xml when updating dependency version
matthiasblaesing opened a new pull request #357: [NETBEANS-250] Code-complete corrupts pom.xml when updating dependency version
URL: https://github.com/apache/incubator-netbeans/pull/357
When the XMLCompletionQuery has to complete values (element content),
it also detects if the closing tag should be appended.
This decision is based on the the check if a matching closing tag is
found behind the input position.
The position is indirectly communicated by the TokenSequence passed to
the XMLCompletionQuery#shouldCloseTagLocked method. But before the
offset was queried, the token position was modified (movePrevious calls)
and so the wrong position was used for the check.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists