Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: narrow-to-region



On Jul 4,  2:26pm, Peter Stephenson wrote:
} Subject: PATCH: narrow-to-region
}
} Here is a tidied up version of narrow-to-region together with a simple
} widget narrow-to-region-invisible which reduces text outside the region
} to `...'.
} 
} +On return from both widgets, the display is restored by any zle command
} +which would usually cause the line to be accepted or aborted.  Hence an
} +additional such command is required to accept or abort the current line.

I find this explanation a little confusing.  Is it possible to get back
from recursive-edit without doing an accept-line, thereby requiring an
additional accept-line to restore the display?  In which case it would
take three actions (getting out of recursive-edit, restoring the display,
and then accepting) to accept the line?

If not, I'd reword thus:

-On return from both widgets, the display is restored by any zle command
+The display is restored (and the widget returns) upon any zle command 

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author