davsclaus commented on code in PR #27144:
URL: https://github.com/apache/camel/pull/27144#discussion_r4147739814


##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/SourceTab.java:
##########
@@ -1244,7 +1253,7 @@ Map<Integer, SourceViewer.JumpLink> computeJumpLinks(Path 
currentFile) {
             fromUriToRoute.put(re.fromUri(), re);
         }
 
-        if (currentFilePath.endsWith(".java")) {
+        if (currentFilePath.endsWith(".java") || 
currentFilePath.toLowerCase().endsWith(".xml")) {
             // the steps of a Java route are in the index with their lines, as 
the parser read them

Review Comment:
   Fixed in b985f1fd2b72: the comment says Java or XML route.
   
   _Claude Code on behalf of davsclaus_



-- 
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