Martin Vermeer <[EMAIL PROTECTED]> writes: | On Fri, Jan 13, 2006 at 06:01:52PM +0200, Martin Vermeer wrote: | | > ...that the method bruteFind() in cursor.C searches the *whole | > document*, i.e., *every single character position*, for the best place | > to drop the cursor! | > | > This causes a noticeable slowness (several seconds!) when exiting some | > formulas in the User Guide. | > | > How to make it faster? The attached doesn't really help much, because | > forwardPar() still calls forwardPos() internally for every character. | | The attached helps a lot, and is "low hanging fruit". | | Does anyone see a problem with this? Please give it some testing. Works | OK for me.
If this is the brue find functin, then yes. I belive the idea with the brutefind was to not play any tricks at all, but to do scan through every element in the doc. Either way. Not 1.4.0 stuff. -- Lgb