• Login
Community
  • Login

NppExec Prevent the console from being cleared

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 431 Views
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.
  • A
    Anthony Blinco
    last edited by Apr 13, 2021, 2:07 AM

    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.

    A M 2 Replies Last reply Apr 13, 2021, 5:57 AM Reply Quote 0
    • A
      Anthony Blinco @Anthony Blinco
      last edited by Apr 13, 2021, 5:57 AM

      @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
      • M
        Michael Vincent @Anthony Blinco
        last edited by Apr 13, 2021, 12:09 PM

        @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
        • A
          Anthony Blinco
          last edited by Apr 14, 2021, 12:53 AM

          Thank you very much. I will check that out

          1 Reply Last reply Reply Quote 1
          3 out of 4
          • First post
            3/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors