John Levon wrote:

> On Mon, Feb 17, 2003 at 10:15:29AM +0000, Angus Leeming wrote:
> 
>> There is a parameter 'emergency_exit' (see ControlDialog). If you
>> set it to true, then the dialog is not shown. Does it do the job
>> for you?
> 
> No, emergency_exit_ is checked only *before* view().show(). If it's
> only used by the spellchecker, we could perhaps alter this.
> 
> john

Looks to me like that is the case.
$ grep emergency_exit *
ControlButtons.C:       : emergency_exit_(false), is_closing_(false), 
bc_ptr_(0), view_ptr_(0)
ControlButtons.h:       bool emergency_exit_;
ControlDialog.tmpl:     if (emergency_exit_) {
ControlDialog.tmpl:     if (emergency_exit_) {
ControlDialog.tmpl:     emergency_exit_ = false;
ControlInset.tmpl:      if (emergency_exit_) {
ControlInset.tmpl:      if (emergency_exit_) {
ControlInset.tmpl:      emergency_exit_ = false;
ControlSpellchecker.C:          emergency_exit_ = true;
ControlSpellchecker.C:          emergency_exit_ = true;
ControlTabular.C:       if (emergency_exit_) {
ControlTabular.C:       if (emergency_exit_) {
ControlTabular.C:       emergency_exit_ = false;

It'd be nice to do this more elegantly though.


-- 
Angus

Reply via email to