I'm working on a PyPN script to change indentifiers in underscore format to camel case, eg prog_id -> ProgId.
I've started by working up a regular expression to find underscore format names, and marking all found items. The regular expression is [a-z]+_[a-z_]+, which works to find these identifiers. If I find the first one, then press F3, it moves through all of them in the file.
But if there are more than one such identifier on a line, and I use the Mark All option, it skips every other identifier on a line. F3 still goes to each one, but the highlighting skips all of the even items:
prog_id dept_id emp_id item_id # matching identifiers
~~~~~~~ ~~~~~~ # ~~~ are marked, rest are skipped
This looks like a glitch in the highlighting routine.