Announcement

Collapse
No announcement yet.

EditPlus - Open With (line number)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EditPlus - Open With (line number)

    I searched this forum and saw at least two users mention EditPlus, but nothing about correctly setting up the parameters in the Open With section of Options.

    I can get BC2 to open EditPlus with the right file, but it always opens to the very first line (even though I am supplying the %l parameter).

    I remember asking about this years ago, when I first started using BC (have used EditPlus even longer). And I don't remember what the answer was.

    Is this a limitation with EditPlus? Or am I not setting up the Open With option correctly?

    Here is what I have tried:

    C:\Program Files\EditPlus 2\editplus.exe %f%l
    C:\Program Files\EditPlus 2\editplus.exe %f %l
    "C:\Program Files\EditPlus 2\editplus.exe %f%l"
    "C:\Program Files\EditPlus 2\editplus.exe" %f -cursor%l:1

    * last one is using EditPlus command line switch -cursor[line#]:[column#]

    All of the above opens EditPlus to the correct file, but not at the correct line.

  • #2
    Re: EditPlus - Open With (line number)

    This is just a matter of determining the syntax Edit Plus needs. I played around a bit, and this seemed to work.

    C:\Program Files\EditPlus 2\editplus.exe %f -cursor %l:0

    Let me know if that clears things up for you.
    Aaron P Scooter Software

    Comment


    • #3
      Re: EditPlus - Open With (line number)

      Excellent! That worked. Guess I just needed the space in the -cursor switch.

      Thanks.

      Comment

      Working...
      X