[wingide-users] vi mode: search wrapping
support at wingware.com
Tue Dec 21 08:39:32 MST 2010
On 12/20/10 10:42 PM, Phil Vandry wrote:
> In vi mode, / maps to Regex search forward and ? maps to Regex search
> backward. These functions don't wrap around the end of the file
> (forward search doesn't wrap back to the beginning, backward search
> doesn't wrap back to the end).
> I suppose this behaviour is intentional, which is why I'm bringing
> this up on the mailing list, but it has really bitten me more than
> once because it doesn't match normal vi behaviour. That is because
> I naturally assume from long vi experience that if a search fails,
> it's because the search string wasn't present in the file. But in
> Wing it might only mean that the search string occurs before the
> cursor position.
> Would you consider changing this to match vi?
Yes, this should be fixed so it works like in vi.
Thanks for pointing that out.
Wingware | Python IDE
Advancing Software Development
More information about the wingide-users