Closed alanruttenberg closed 9 years ago
I like it, will include it in a few days
added it anyway. new version of yasgui (online in a few minutes) will have the highlighting feature as well
Cool :) Minor glitch - vars with same initial substring get hilited too
Oops, I'll take a look
This looks good: .matchingVar {background-color:#FFCCCC!important; border-radius: 6px;transition: background 1s linear;}
Less likely to flash as you casually move the mouse over text.
I've fixed the variable string matching, and modified to css much like your example
Sometimes queries are long and variable names are similar and it is easy to make a mistake. However if you can at a glance see all the places you used the same variable it becomes much easier to detect such mistakes.
I'd suggest a very pale background color on the other instances of the variable use.