Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix finding the start and end of the current query. #239

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Fix finding the start and end of the current query. #239

merged 1 commit into from
Oct 27, 2023

Commits on Oct 2, 2023

  1. Fix finding the start and end of the current query.

    1. start_request was searching forward from the cursor position. Adding
       'b' to the search flags fixed that.
    2. Both start_request and end_request depended on the user having set
       'nowrapscan' to prevent wrapping around the end of the file. Such
       wrapping could result in finding the wrong query. Adding 'W' to the
       search flags fixed that, and removed the need for the stopline
       parameter.
    3. Refactored the way last_line is used in end_request.
    PhilRunninger committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7f8aa46 View commit details
    Browse the repository at this point in the history