Any one take care of the 'Cannot set highlighter to RangeHighlighter' issue?

Thanks for the update. And I found this commit: IJPL-176454 AE: HighlightInfoUpdaterImpl.psiElementVisited · JetBrains/intellij-community@6fa4b5d · GitHub

I had to say something about it:

  1. I don’t cache HighlightInfo - each call creates a new HighlightInfo. What’s actually cached is TextAttributesKey, because some colors are randomly generated based on configurations. If we don’t cache them, you’ll notice the colors keep changing every time.
  2. If there are any best practices or documentation for HighlightVisitor, please share them. My current implementation was derived solely from reading source code, so I wouldn’t know if usage patterns change in future updates.
  3. Please refrain from using terms like “rogue plugins” or “incorrect plugins” in git commit messages or code comments. I’m not sure why this wording was used. Also, my plugin isn’t called “RainBrackets” nor has it ever used that abbreviation - its official name is Rainbow Brackets.