Macro Panel highlighting error

Using string f-formatting in Macro Panel messes up text highlighting in Macro Panel. So does regular expression’s r-prefix like re.compile(r'\W+')

On a similar note in Macro Panel, undoing and redoing a number of times there is unreliable; they gradually destroy the code and don’t accurately reproduce each undo state.

I improved it slightly.

Thanks, it works for the double quote string. Can support others if possible?

スクリーンショット 2026-01-26 20.13.35

Triple quotes are not possible with the current system. But I’ll have a look at the single quotes.

I fixed the single quotes …

1 Like

Can you elaborate on this?

I’m usually using snake case variable names and noticed some strange syntax highlighting issues with certain words, in this case global, all, unicode:

Bildschirmfoto 2026-02-10 um 09.59.17