Community
    • Login

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

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

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

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