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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
