Community
    • Login

    Freezing when pasting large amount of text between quotes or heredoc (language PHP)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 28 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.
    • Min LiuM
      Min Liu
      last edited by

      Hi,
      I’ve been using Notepad++ for several years however one of the later updates v8.7 and above (currently running 8.9 64bit) is causing the app to hang when pasting large amounts of text in.

      This only occurs when:

      1. language is set to PHP
      2. text is pasted between quotes or a heredoc

      Does not occur if language is switched to something else, data pasted, then changed back.

      Does not occur if language is set to PHP and the entire file contents is pasted in.

      Example:
      Start with a blank file, set language to PHP.
      Paste in:
      <?php

      $a =<<< AAA

      AAA

      then paste in 15000 lines of
      AAAAAA 9999

      Plugins installed:
      Mime tools
      Npp converter
      NppExport

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA
        Alan Kilborn @Min Liu
        last edited by

        @Min-Liu

        You should post your Debug Info.

        Does it hang forever or does it just take what seems like a really long time?

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