Thanks for posting the patches C.R.
The main reason I didn't update to the latest htmlArea from CVS is expedience (the convergence of multiple deadlines), and also that the posted fix just said to replace the one file. However, it looks like I'm going to have to get the rest, because it broke a couple other features, such as full-screen editing, which had been working previously.