Community
    • Login

    Why doesn't the spell check work in a macro?

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 1.8k 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.
    • Peter ÅkerströmP Offline
      Peter Åkerström
      last edited by

      Notepad++ 7.7, 64 bit.

      I have a text file which consist of many lines, one word per line (dictionary).
      Many words are misspelled and I want to run the DSpellCheck (or any) to spot the misspelled words and then bokkmark them for further processing.
      Creating a macro that will find the next misspelled word (Alt-N), bookmark it, (Ctrl-F2) and then move to the next line works fine. However, when I run the macro it completely ignores the spell check and bookmark every line instead.

      Why doesn’t the spell check work in a macro?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Peter Åkerström
        last edited by

        @Peter-Åkerström

        using plugins within macros might, as you already discovered, fail simply because
        plugins might act on events which aren’t fired in case of macro execution.
        I don’t know the internals of DSpellCheck plugin so I can’t be 100% sure but I assume this
        is what is going on.

        1 Reply Last reply Reply Quote 1
        • Peter ÅkerströmP Offline
          Peter Åkerström
          last edited by Peter Åkerström

          That sounds 100% accurate. I’ll stick to another text editor from now on …
          Notepad++ is crap because of poor rules for plugins!

          andrecool-68A 1 Reply Last reply Reply Quote -1
          • andrecool-68A Offline
            andrecool-68 @Peter Åkerström
            last edited by

            @Peter-Åkerström Have a nice swim))

            1 Reply Last reply Reply Quote 2

            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