David Burgun wrote:
Hi,

Thanks for this, but I can't help thinking - "Wouldn't it just be better to fix the bug(s) in the answer command? That way we could all use an inbuilt command to debug our code. I try to avoid custom debugging aids if possible since they can cause subtle changes in the way the environment executes and mask problems or cause new ones.

Is the code available for the Answer command? If so, I might have a go at fixing it.

There are two options for this: adding a horizontal scrollbar with the formattedWidth exceeds the available space, or altering the text engine so that it breaks on non-word boundaries.

The latter would require rewriting the text engine in Rev, so if you're looking for DIY solutions the scrollbar one shouldn't be too hard.

I recently rewrite the Ask and Answer dialogs for the MC IDE, and they were tedious but not too complicated. I can't imagine the Rev dialogs are much harder to deal with. In MC all the code is contained in the stacks themselves; with any luck the same is true for Rev so you'll have no trouble finding what you needs.

If you enhance them it might make a good exercise to also make a patcher as well, so folks could update their IDE if they choose.

And as Kevin has said here before, if you send a patcher to them they tend to roll changes into the IDE faster than with just a request.

--
 Richard Gaskin
 Managing Editor, revJournal
 _______________________________________________________
 Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to