Community
    • Login

    NppExec Prevent the console from being cleared

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 772 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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 Offline
            Anthony Blinco
            last edited by

            Thank you very much. I will check that out

            1 Reply Last reply Reply Quote 1

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors