#15 LOCATE/ALL/TAG targets

closed
None
5
2008-11-12
2006-12-11
r corak
No

Could be a feature, because I'd like a change.
Could be a bug, because I don't like current processing. You may decide.

LOCATE 5 locates the 5th line from the current.
LOCATE :5 locates line number 5.
ALL 5 displays only line 5.
ALL :5 displays only line 5.
TAG 5 tags only line 5.
TAG :5 tags only line 5.
Seems to me that LOCATE got it right, and that ALL and TAG got it wrong. That's the bug part.

This is the feature part:
I'd like ALL 2 to display every other line, ALL 5 to display every 5th line, etc.
I'd like TAG to operate similarly.
Also, I'd like somehow to TAG or TAG MORE or TAG LESS the current line, maybe a command like TAG MORE 0?

Discussion

  • Mark Hessling

    Mark Hessling - 2007-01-20

    Logged In: YES
    user_id=86185
    Originator: NO

    Apart from TAG MORE|LESS CURRENT, it is a bug. I checked with KEDIT, where the TAG command came from and it works as you specified. Also ALL 3 on KEDIT shows every 3rd line.

     
  • Mark Hessling

    Mark Hessling - 2007-01-20
    • assigned_to: nobody --> rexx
     
  • Mark Hessling

    Mark Hessling - 2008-01-16

    Logged In: YES
    user_id=86185
    Originator: NO

    The first part of this has been fixed; I agree it was a bug.
    You can now do:
    TAG 3 | :10 | :20
    which will highlight every 3rd line and lines 10 and 20
    TAG has also been fixed to respect scope, so if the above command is executed but line 5 is not displayed, then the lines that will be highlighted will be 3, 7, 10, 13, 16, 19, 20, 22...
    Part two the feature has been added as TAG FOCUS which will tag the focus line.

     
  • Mark Hessling

    Mark Hessling - 2008-01-16
    • status: open --> pending
     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 300 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.