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

Re: ZLE and handling of MARK



"Bart Schaefer" wrote:
> If one sets the mark in zle and then delete characters to the left of it
> by assigning to a slice of $BUFFER in a user-defined widget, the mark
> remains in the same numeric position rather than the same logical position.

This is presumably wrong one.  I have a vague memory of adjusting the way
the mark was remembered at some point.  I certainly didn't make any
explicit change for user-defined widgets, so I suppose they got forgotten
about.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk



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