Using the latest beta version of Oracle, I've noticed for quite some time that the code colors sometimes look odd. I've attached a screenshot and a code example for you to replicate.
There are more instances, but it's difficult for me to find them right now.
I haven't looked at the edit component source yet, but it looks like the | character could be triggering its symbol highlighting, or at the very least causing it to break out of its q-quote parsing.
I will take a look at it, but it's unlikely it will be fixed for Toad 2026 R2 as we're quickly approaching the end of our dev cycle.