[Potential FR] Any scripts that can proofread voice crossings?

Hi,

I’d like to preface this thread: I have no idea what the capabilities and limitations are for Dorico’s scripting feature, so please let me know if this is a ridiculous question to ask!

I’m curious if anyone has written a Lua script for Dorico that can read a score and spot examples of voice crossing, if at all possible.

If not, could Dorico introduce a feature in the future that allows you to proofread voice crossings, say for example with coloring noteheads?

At the moment, scripting can only perform program actions; and it can’t ‘get’ the status or values of any notation.

So there’s no way to say “if note crosses staff, then …”