Community
    • Login

    NppExec Prevent the console from being cleared

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 400 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.
    • Anthony BlincoA
      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 BlincoA Michael VincentM 2 Replies Last reply Reply Quote 0
      • Anthony BlincoA
        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 VincentM
          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 BlincoA
            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
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors