Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    NppExec Prevent the console from being cleared

    General Discussion
    2
    4
    70
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Anthony Blinco
      Anthony Blinco last edited by

      Is there a way to prevent the console from being cleared when i execute an NPP command?

      This is my situation

      1. I compile my app and show errors in the console
      2. Say i then do a search which outputs results to the console
      3. I would like to have a key that switches back to my list of errors

      If i execute any npp command to present the console it will clear it.
      So can i prevent the console from clearing before an NPP command or is there some other, better approach

      Thanks for your help.

      Anthony Blinco Michael Vincent 2 Replies Last reply Reply Quote 0
      • Anthony Blinco
        Anthony Blinco @Anthony Blinco last edited by

        @Anthony-Blinco
        I have worked around this by saving the error list when compiling.
        So when the user presses the “List errors” button it dumps that file which refreshes the console

        1 Reply Last reply Reply Quote 0
        • Michael Vincent
          Michael Vincent @Anthony Blinco last edited by

          @Anthony-Blinco said in NppExec Prevent the console from being cleared:

          Is there a way to prevent the console from being cleared when i execute an NPP command?

          See:

          help npe_console

          In your startup NppExec script, use:

          NPE_CONSOLE -- a+

          Cheers.

          1 Reply Last reply Reply Quote 3
          • Anthony Blinco
            Anthony Blinco last edited by

            Thank you very much. I will check that out

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright © 2014 NodeBB Forums | Contributors