Thanks grigri. In the end I found a better way of tackling the problem and it's much better now in v0.2 ;-). It could still be improved by multi threading but having refactored the code and optimising it for working with DoEvents I now think the pay-off wouldn't be worth the investment.
I might still look for that book though. -- <http://forum.pspad.com/read.php?2,43525,43693> PSPad freeware editor http://www.pspad.com
