Links in snippets can not be highlighted

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 18
    • Component/s: tools
    • None

      A part of a snippet text can not currently be both a link and highlighted.

      In the following snippet, the method name will be a link, but not be highlighted.

      {@snippet :
        void name() {} // @link substring=name target=Object @highlight substring=name
      }

      The reason is that the code in SnippetTaglet#snippetTagOutput uses an if-else statement to create either a link or a highlight span.

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: