JeremyYao commented on code in PR #1329:
URL: https://github.com/apache/daffodil-vscode/pull/1329#discussion_r2209969854


##########
src/language/providers/attributeCompletion.ts:
##########
@@ -83,6 +84,11 @@ function getPotentialAttributeText(
   let upperLineBound: number = position.line
 
   // Determining the lowerbound strategy: Traverse backwards line-by-line 
until we encounter an opening character (<)
+
+  //handle edge case if there's an element closing on the same line or if 
there is a closing tag after the cursor on the same line
+  if (lowerLineBound > 0) {

Review Comment:
   The off-by-one fixes were implemented. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to