Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#117 Ranges don't work with g - NB 6.9

closed-fixed
None
6
2011-04-06
2010-06-18
Anonymous
No

Test case:
Document has six lines that contain the characters "$container".
The first occurrence is on line 16; the rest are after line 19.
I type in the command line "18,183g/\$container/d".
Expected result (works as expected in Vim): All lines from 18 to 183 containing the characters "$container" will be deleted.
Actual result: All lines containing the characters "$container" are deleted, including line 16.

Discussion

  • Ernie Rael

    Ernie Rael - 2010-06-18

    Thanks for the report. The 6.9 release should have a fix. Not sure when that will be.

     
  • Ernie Rael

    Ernie Rael - 2010-11-23
    • priority: 5 --> 6
    • assigned_to: nobody --> err
     
  • Ernie Rael

    Ernie Rael - 2010-12-18
    • status: open --> open-fixed
     
  • Ernie Rael

    Ernie Rael - 2010-12-18

    Fixed submitted. In addition, fixed global command so that lines deleted are ignored. In particular, something like "g/pat/d 5" does the right thing.

    Thanks for the report.

     
  • Ernie Rael

    Ernie Rael - 2011-04-06

    available in nbvi-1.3.1.beta5

     
  • Ernie Rael

    Ernie Rael - 2011-04-06
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.