Community
    • Login

    Notepad getting hanged when I fold my file

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 2 Posters 483 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.
    • Arpan kumarA
      Arpan kumar
      last edited by Arpan kumar

      Hi,

      since last few weeks i am observing an issue with Notepad++. whenever i am trying to fold a file (view->fold all), notepad hangs completely. even after updating to latest version, issue doesn’t seem to go away. if anyone has any idea on it, please help.

      Here is my Notepad debug information:

      Notepad++ v8.1.9.3 (64-bit)
      Build time : Dec 6 2021 - 19:21:37
      Path : C:\Program Files\Notepad++\notepad++.exe
      Command Line :
      Admin mode : OFF
      Local Conf mode : OFF
      Cloud Config : OFF
      OS Name : Windows 10 Pro (64-bit)
      OS Version : 2009
      OS Build : 19042.1348
      Current ANSI codepage : 1252
      Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll NppToolBucket.dll

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Arpan kumar
        last edited by

        @arpan-kumar

        How big is the file?

        What syntax lexer (“language”) is being used?

        Have you tried with the NppToolBucket disabled?

        Arpan kumarA 1 Reply Last reply Reply Quote 0
        • Arpan kumarA
          Arpan kumar @PeterJones
          last edited by

          @peterjones File is approx 2MB and i am using xml. haven’t tried NppToolBucket disable option, not aware of it.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @Arpan kumar
            last edited by

            @arpan-kumar ,

            File is approx 2MB and i am using xml.

            A 2MB XML is tiny. Notepad++ should have no difficulty in folding that file.

            haven’t tried NppToolBucket disable option, not aware of it.

            It’s not an “option” on the plugin. By “have you tried disabling NppToolBucket”, I meant not having that plugin installed, or at least not loaded; maybe it’s getting in the way.

            If you run notepad++ -noPlugin from the command line, Notepad++ will run without using any plugins, which is an easy way to check if a plugin is getting in the way.

            Or you can exit Notepad++ completely, go into C:\Program Files\Notepad++\plugins and rename the NppToolBucket folder to NppToolBucket.disable then re-run Notepad++ – that plugin will no longer be listed/loaded in Notepad++. (To get the plugin back, exit Notepad++, rename that folder back to NppToolBucket, and restart Notepad++.)

            So if the problem goes away with -noPlugin or with disabling NppToolBucket, then it’s probably that plugin causing problems. Otherwise, you’ll have to give us more to go on.

            Arpan kumarA 1 Reply Last reply Reply Quote 1
            • Arpan kumarA
              Arpan kumar @PeterJones
              last edited by

              @peterjones found it. seems like “Dspellcheck” plugin is the culprit. thanks for guiding. any idea how can i fix this without disabling this plugin?

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Arpan kumar
                last edited by

                @arpan-kumar ,

                Well, if you don’t need spell check turned on while editing XML files, you can go to Plugins > DSpellCheck > Settings, and change the “File Types” section to “Check only NOT those:” and *.xml as the text entry, as shown in my screenshot:

                8d61bf2e-5c7a-4ff2-b4f8-32c3b6ed6214-image.png

                When I do that (and APPLY or OK), it stops spell checking the XML files. I don’t know if that will be sufficient for you. (I created a 2MB XML file, and even with DSpellCheck doing spell check and finding misspelled words, I couldn’t get it to hang when folding/unfolding the various levels. So I cannot replicate your problem to know whether turning off spell checker for XML is sufficient.)

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