• Login
Community
  • Login

Notepad++ 7.7 Release

Scheduled Pinned Locked Moved Announcements
65 Posts 33 Posters 51.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.
  • A
    Alan Kilborn @Guest
    last edited by May 31, 2019, 2:58 PM

    @Leandro-Lopez

    Dude, why are you posting a question about a plugin in a release announcement thread? Please try the Help Wanted section.

    1 Reply Last reply Reply Quote 2
    • A
      andrecool-68 @Guest
      last edited by andrecool-68 May 31, 2019, 3:40 PM May 31, 2019, 3:40 PM

      @Leandro-Lopez you got the wrong address))
      https://github.com/pnedev/compare-plugin/issues

      1 Reply Last reply Reply Quote 1
      • D
        donho @Guest
        last edited by Jun 3, 2019, 8:20 PM

        @Leandro-Lopez
        https://notepad-plus-plus.org/community/category/5/plugin-development

        @chasegnil
        https://notepad-plus-plus.org/community/category/8/boycott-notepad

        1 Reply Last reply Reply Quote 2
        • F
          Faceless YouTuber
          last edited by Jun 4, 2019, 8:04 AM

          There is an issue in this release with some hidden characters being added when editing and saving PowerShell scripts. So when you launch a PowerShell script that has been edited with NPP, you get lots of weird syntax errors although the code is all fine. If you edit the same block of code in PowerShell ISE or Notepad, PowerShell won’t throw any errors when launched. It’s easy to reproduce. Copy the function below (function extracted from https://github.com/microsoftgraph/powershell-intune-samples/blob/master/RBAC/RBAC_ScopeTags_DeviceAssign.ps1 ) and save it in NPP, you will get weird syntax errors running it in PowerShell although there are none. Do the same with either Notepad or the PowerShell ISE and no errors appear when you execute this same code in PowerShell.

          ###########BEGINNING OF CODE BELOW#################

          Function Update-ManagedDevices()
          {
          <#
          .SYNOPSIS
          This function is used to add a device compliance policy using the Graph API REST interface
          .DESCRIPTION
          The function connects to the Graph API Interface and adds a device compliance policy
          .EXAMPLE
          Update-ManagedDevices -JSON $JSON
          Adds an Android device compliance policy in Intune
          .NOTES
          NAME: Update-ManagedDevices
          #>

          [cmdletbinding()]
          
          param(
          	$id,
          	$ScopeTags
          )
          
          $graphApiVersion = "beta"
          $Resource = "deviceManagement/managedDevices('$id')"
          
          try {
          	If ($ScopeTags -eq "" -or $ScopeTags -eq $null)
          		{
          			
          		$JSON = @"
          				{
          				"roleScopeTagIds": []
          				}
          

          "@

          		}
          	Else
          		{
          		$object = New-Object –TypeName PSObject
          		$object | Add-Member -MemberType NoteProperty -Name 'roleScopeTagIds' -Value @($ScopeTags)
          		$JSON = $object | ConvertTo-Json
          		}
          
          	$uri = "https://graph.microsoft.com/$graphApiVersion/$($Resource)"
          	Invoke-RestMethod -Uri $uri -Headers $authToken -Method Patch -Body $JSON -ContentType "application/json"
          
          	Start-Sleep -Milliseconds 100
          	}
          catch {
          	Write-Host
          	$ex = $_.Exception
          	$errorResponse = $ex.Response.GetResponseStream()
          	$reader = New-Object System.IO.StreamReader($errorResponse)
          	$reader.BaseStream.Position = 0
          	$reader.DiscardBufferedData()
          	$responseBody = $reader.ReadToEnd()
          	Write-Host "Response content:`n$responseBody" -foregroundcolor "Red"
          	Write-Error "Request to $Uri failed with HTTP Status $($ex.Response.StatusCode) $($ex.Response.StatusDescription)"
          	write-host
          	break
          	}
          }
          

          ###########END OF CODE ABOVE#################

          Could you please look into this and resolve this issue please? I think it’s got something to do with the JSON "@ string terminator and I suspect NPP is actually adding some hidden character before this string terminator which PowerShell doesn’t like and consequently breaks the whole syntax of the script.

          For instance, if you save this code with NPP, it won’t work in PowerShell. If you open this NPP saved file afterwards in Notepad, make no modification to it and save it, it will work just fine.

          Thanks very much in advance for resolving this real nasty issue!

          C

          1 Reply Last reply Reply Quote 0
          • F
            Faceless YouTuber
            last edited by Faceless YouTuber Jun 4, 2019, 8:25 AM Jun 4, 2019, 8:25 AM

            Sorry, I forgot to mention (I had to wait for 1200 seconds to add this…) that it is not an encoding issue as I checked and weither you save it in ANSI or UTF-8 it makes no difference in the behaviour.

            Thanks once more for your help.

            C

            A 1 Reply Last reply Jun 4, 2019, 8:42 AM Reply Quote 0
            • A
              andrecool-68 @Faceless YouTuber
              last edited by Jun 4, 2019, 8:42 AM

              @Faceless-YouTuber New message you can do immediately without waiting 1200 seconds

              1 Reply Last reply Reply Quote 0
              • S
                Scott March
                last edited by Jun 4, 2019, 7:13 PM

                Notepad++ 7.7 broken syntax highlighting (in my case ASP)
                open ASP file and background is white, the text is black for everything. I do see brace matching highlights but no other.

                rollback to 7.6 fixes it.

                1 Reply Last reply Reply Quote 2
                • P
                  PeterJones
                  last edited by Jun 4, 2019, 7:34 PM

                  @Scott-March said:

                  Notepad++ 7.7 broken syntax highlighting (in my case ASP)

                  Already known: See https://notepad-plus-plus.org/community/topic/17696/bug-problem-with-syntax-highlighting-not-working-on-asp-classic-scripts/12

                  1 Reply Last reply Reply Quote 1
                  • J
                    Jung-Chun Yeh
                    last edited by Jun 11, 2019, 2:36 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • B
                      Ben Sacheri
                      last edited by Jun 11, 2019, 6:20 PM

                      The right-click context menu “Plugin commands | Copy Text with Syntax Highlighting” is no longer copying the formatting. In some cases it is copying the font but never the colors.

                      I rely on this feature to copy code snippets and paste them into OneNote or an Outlook email with their formatting.

                      Example Image

                      1 Reply Last reply Reply Quote 0
                      • A
                        Artur Krukowski
                        last edited by Jun 16, 2019, 6:26 AM

                        After update to Notepad++ 7.7 DSpellCheck stopped to work correctly. Now it finds and marks spelling error only for lines that are visible on screen after loading a file. After scrolling the text spelling errors in all the rest of file are not marked – regardless of whether the automatic spelling check is selected or not.

                        A 1 Reply Last reply Jun 16, 2019, 10:58 AM Reply Quote 0
                        • A
                          andrecool-68 @Artur Krukowski
                          last edited by Jun 16, 2019, 10:58 AM

                          @Artur-Krukowski Install the latest DSpellCheck plugin … manually!
                          https://github.com/Predelnik/DSpellCheck/releases

                          1 Reply Last reply Reply Quote 1
                          • G
                            Guido DC
                            last edited by Jun 16, 2019, 9:09 PM

                            After being constantly nagged to upgrade to this new v7.7 release I had to find out I’d better stayed with the old (I guess it was v7.5 but not sure) version.

                            What happens now is someting I experienced long ago after upgrading (I don’t recall how I got rid of the bug that I’ll describe)

                            After having installed v7.7 I get this repetingly and it keeps poping op. I always hit No and another popup shows. It doesn’t end.

                            [URL=http://www.imagebam.com/image/29626c1252871154][IMG]http://thumbs2.imagebam.com/7d/8a/f0/29626c1252871154.jpg[/IMG][/URL]

                            [URL=http://www.imagebam.com/image/4248c21252871164][IMG]http://thumbs2.imagebam.com/e2/42/33/4248c21252871164.jpg[/IMG][/URL]

                            [URL=http://www.imagebam.com/image/4f8dab1252871174][IMG]http://thumbs2.imagebam.com/53/66/7c/4f8dab1252871174.jpg[/IMG][/URL]

                            Now I let all my txt files open by “get diz”

                            What is happening. And why does this always happen after an upgrade ?

                            To translate it in English it says the file *.txt file is modified by another program, and do you want to reload it and loose the changes that have been made in Notepad++ ?

                            Of course I click NO each time.

                            1 Reply Last reply Reply Quote 0
                            • G
                              Guido DC
                              last edited by Guido DC Jun 16, 2019, 11:17 PM Jun 16, 2019, 11:15 PM

                              Had to edit within 180 seconds (???): failed of course …

                              so here the refreshed/clickable links of above

                              http://www.imagebam.com/image/29626c1252871154

                              http://www.imagebam.com/image/4248c21252871164

                              http://www.imagebam.com/image/4f8dab1252871174

                              1 Reply Last reply Reply Quote 0
                              • K
                                Krystal Owen
                                last edited by Jun 17, 2019, 9:55 PM

                                Upon updating from 7.5? to 7.7, All my plugins are gone from the menus but the DLLs are still there. I’ve debated a reinstall.

                                E 1 Reply Last reply Jun 18, 2019, 2:34 PM Reply Quote 0
                                • E
                                  Ekopalypse @Krystal Owen
                                  last edited by Jun 18, 2019, 2:34 PM

                                  @Krystal-Owen

                                  since npp 7.6, the plugin structure has changed.
                                  In addition, 7.7 introduced a new scintilla version which might break plugin functionality.
                                  Probably the easiest way to get your plugins back is to use the new plugin admin tool. The plugins manager is deprecated. If you have an issue with a particular plugin, let us know which one it is and we can see if there is a way to make it work again.

                                  1 Reply Last reply Reply Quote 2
                                  • G
                                    Guido DC
                                    last edited by Jun 18, 2019, 3:44 PM

                                    Fact is and remains that my issue from a post or 3 above is a not admissable at all because I just can’t open the Notepad v7.7++ anymore. I just saw in another forum someone giving an advice to up upgrade from a default Windows notepad to this one. Maybe they should first check this website. Another thing that’s still not solved after 3 years is that my Notepad++ (all versions before v7.5 that is), need something like 10 seconds and more, to open… It has been discussed here (not in this thread), no solution was found. All some people’s good advice here is to upgrade to the latest version. LOL.

                                    E 1 Reply Last reply Jun 18, 2019, 4:07 PM Reply Quote 0
                                    • E
                                      Ekopalypse @Guido DC
                                      last edited by Jun 18, 2019, 4:07 PM

                                      @Guido-DC

                                      Another thing that’s still not solved after 3 years is that my Notepad++ need something like 10 seconds and more, to open …

                                      Can you point me to the issue you’d reported? Hoping that there is more info than just
                                      it takes …

                                      It has been discussed here …

                                      if you have an old version, then it makes sense to try a newer version to see if the issue is gone or not. Most of the time it is recommended to use the portable version instead of upgrading an installed one, which, from my point of view, makes absolutely sense. Don’t you agree?

                                      1 Reply Last reply Reply Quote 1
                                      • G
                                        Guido DC
                                        last edited by Jun 18, 2019, 7:46 PM

                                        I’ll agree with you al the way since you’ve replied. But “sometimes” it’s better to stay with an old version. There’s this verb: don’t touch a running system (aside from the time lag of 10 sec’s before it opened). Now my old version before upgrading to this v7.7 that simply doesn’t open and always keeps asking me “**.txt file is modified by another program, and do you want to reload it and loose the changes that have been made in Notepad++*” was v7.5.6.

                                        Now come to think of it: like I said after I installed v7.7 I got this repeating bug

                                        http://www.imagebam.com/image/29626c1252871154
                                        http://www.imagebam.com/image/4248c21252871164
                                        http://www.imagebam.com/image/4f8dab1252871174

                                        and couldn’t open the program but what’s worse I could not see if the prgram I installed was v7.7.
                                        I then looked for a restore point of some hours ago and applied it. The bug was still there so I also could not see if I reverted to the old v7.5. I assumed that the program did not revert to v7.5 since the bug was still there (FYI that bug was not present b4 my upgrade (v7.5 > v7.7).

                                        To my big surprise I just checked the notepad executable (details from *.exe) in my W7 program files (x86) folder and it is v7.56. So with the restore point I effectively reverted to the old v7.5 but I got the bugs that came along with v7.7 as a present.

                                        The thing of the time delay will have to wait a while. First I’d like this v7.7 to work for me. Will completely uninstalling it remove my settings ? And why is it still installed in the program files folder (x86) ?

                                        Thank you in advance.

                                        E 1 Reply Last reply Jun 18, 2019, 8:03 PM Reply Quote 0
                                        • E
                                          Ekopalypse @Guido DC
                                          last edited by Jun 18, 2019, 8:03 PM

                                          @Guido-DC

                                          what about giving one of the portable versions a chance?
                                          Like this 64bit one .

                                          I can’t see your uploaded images - I always get barely dressed women.

                                          Whether an uninstall will remove your settings depends on how you installed/used it before, hard to say.
                                          You can check if you have an %appdata%\notepad++ directory and, if so, temporarily rename it. Afterwards try to start npp and see what happens.
                                          If this doesn’t work either then I assume that you used a local configuration which then would be wiped (afaik ).

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