Menu

#833 Substituting for Notepad: /z flag?

open
SciTE (286)
5
2011-07-25
2011-07-24
-
No

When you try to make SciTE replace Notepad (through the classic Image File Execution Options->Debugger hack), it receives an extra command-line parameter, namely the path of Notepad itself.

Would it be possible to allow SciTE to accept a /z parameter in the very beginning, telling it to ignore the next parameter? I believe this is what Notepad++ does (or was it Notepad2?) in order to replace Notepad, and it works really well.

I've included a patch; it seems to be pretty trivial, if I haven't missed something.

Related

Feature Requests: #1510

Discussion

  • -

    - - 2011-07-24
     
  • Neil Hodgson

    Neil Hodgson - 2011-07-25
    • assigned_to: nobody --> nyamatongwe
    • labels: --> SciTE
     
  • Neil Hodgson

    Neil Hodgson - 2011-07-25

    While not a bad idea, it would need to be documented (in SciTEDoc.html) and should work across platforms. The code would be better located in SciTEBase::ProcessCommandLine.

     

Log in to post a comment.