#18 line numbers in shell commands

closed-fixed
Alexander Mai
None
4
2001-11-27
2001-06-19
ariese
No

This patch makes NEdit substitute the current line
number for '#' in shell commands as it does with the
current file name for "%".

Discussion

  • ariese
    ariese
    2001-06-19

     
    Attachments
  • Alexander Mai
    Alexander Mai
    2001-08-25

    Logged In: YES
    user_id=15180

    Any ideas on this?

     
  • Alexander Mai
    Alexander Mai
    2001-08-25

    • priority: 5 --> 4
     
  • Alexander Mai
    Alexander Mai
    2001-11-16

    Logged In: YES
    user_id=15180

    Looks like this diff is a reverse one?
    Also it doesn't feature an update to help.c

    Can you address these issues and also ensure that it does
    work against the recent CVS version, please?!

     
  • Alexander Mai
    Alexander Mai
    2001-11-16

    • assigned_to: nobody --> amai
    • status: open --> open-rejected
     
  • ariese
    ariese
    2001-11-16

    Logged In: YES
    user_id=248896

    Ok, this one should do it.

     
  • ariese
    ariese
    2001-11-16

     
    Attachments
  • Alexander Mai
    Alexander Mai
    2001-11-16

    • status: open-rejected --> pending-accepted
     
  • Alexander Mai
    Alexander Mai
    2001-11-16

    Logged In: YES
    user_id=15180

    Applied.
    BTW, should those expansions also exist for the interactive
    Sehll command dialog?!

     
  • ariese
    ariese
    2001-11-16

    • status: pending-accepted --> open-accepted
     
  • ariese
    ariese
    2001-11-16

    Logged In: YES
    user_id=248896

    I personally don't need it, but if the majority votes for
    this feature, I could implement it.

    BTW, it seems to me that applying my patch reverted the
    "const patch" for userCmds.c you did before, right? If this
    was my fault, I apologize in advance.

     
  • Alexander Mai
    Alexander Mai
    2001-11-24

    Logged In: YES
    user_id=15180

    Preliminary results make me ask if you could actualy supply
    such a patch?
    One argument is to keep things consistent, but it's useful
    as well.

     
  • ariese
    ariese
    2001-11-26

    Logged In: YES
    user_id=248896

    Here is the patch. Actually I don't like the appearance (the
    width) of the new dialog, so any suggestions for improvement
    are appreciated.

    Should this change also be done for "Execute Command Line"?

     
  • ariese
    ariese
    2001-11-26

     
    Attachments
  • Alexander Mai
    Alexander Mai
    2001-11-26

    Logged In: YES
    user_id=15180

    Yes, please for both. An argument in favour of doing that
    enhancement was to have unique handling of this.
    You should split the labels by inserting an \n, then the
    dialog doesn't get too wide.

     
  • ariese
    ariese
    2001-11-27

    Logged In: YES
    user_id=248896

    New patch attached. Enhances both Execute Command and
    Execute Command Line. I also fixed a problem with
    substitutePercent().

     
  • ariese
    ariese
    2001-11-27

     
    Attachments
  • Alexander Mai
    Alexander Mai
    2001-11-27

    Logged In: YES
    user_id=15180

    Fine :-)
    Just committed it ...

     
  • Alexander Mai
    Alexander Mai
    2001-11-27

    • status: open-accepted --> closed-fixed