• Login
Community
  • Login

Just another ordinary release - 7.5.1

Scheduled Pinned Locked Moved Announcements
48 Posts 30 Posters 90.2k 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.
  • I
    ImSpecial @Samandra Khandr
    last edited by Sep 8, 2017, 8:07 PM

    @Samandra-Khandr

    “C:\Programs” is fine and has nothing to do with windows, it’s where I put all my portable programs, the name of the folder has nothing to do with this, It could be named “C:\TEMPFOLDER” for all I care and the same thing would happen, this is not “C:\Programs Files” or “C:\Programs Files (x86)”.

    Still waiting for @donho to acknowledge what “%APPDATA%\local\notepad++” folder is used for, the one in Roaming is used for settings, Local? it’s empty.

    1 Reply Last reply Reply Quote 0
    • M
      Meta Chuh moderator @Chris Didamo
      last edited by Sep 8, 2017, 8:10 PM

      @Chris-Didamo

      i’ve just tested regex-replace-all on 7.5.1 installer and zip release versions, because i also use this often.
      both notepad++ releases work perfectly.

      did you recheck your search wildcards (.*?) and $x variables in your replace string for any syntax error ?
      maybe … just maybe … they replace the same content back ?

      here’s a little working regex replace example you can try:

      test code:
      <style type=“text/css”></style>
      <a href=“url”>1</a><br>
      <a href=“url”>2</a><br>
      <a href=“url”>3</a><br>
      <img=“img1”/>

      replace:
      regex search string: ^<a href(.?)>(.?)<(.*?$)
      regex replace string: <a id=“link$2” href$1>$2<$3

      result:
      <style type=“text/css”></style>
      <a id=“link1” href=“url”>1</a><br>
      <a id=“link2” href=“url”>2</a><br>
      <a id=“link3” href=“url”>3</a><br>
      <img=“img1”/>

      1 Reply Last reply Reply Quote 1
      • M
        Meta Chuh moderator
        last edited by Meta Chuh Sep 8, 2017, 8:20 PM Sep 8, 2017, 8:19 PM

        @Chris-Didamo

        edit: i forgot the code marker, so the above example reformats the * in the code text.

        THIS is the working regex replace example you can try:

        test code:
        <style type="text/css"></style>
        <a href="url">1</a><br>
        <a href="url">2</a><br>
        <a href="url">3</a><br>
        <img="img1"/>
        
        replace:
        regex search string: ^<a href(.*?)>(.*?)<(.*?$)
        regex replace string: <a id="link$2" href$1>$2<$3
        
        result:
        <style type="text/css"></style>
        <a id="link1" href="url">1</a><br>
        <a id="link2" href="url">2</a><br>
        <a id="link3" href="url">3</a><br>
        <img="img1"/>
        
        1 Reply Last reply Reply Quote 0
        • C
          Chris Didamo
          last edited by Sep 8, 2017, 9:24 PM

          Strange, I used your example and it works fine. So retested my on my data, and it doesn’t work.
          I am copying some text straight from Microsoft SQL Server Management studio result page, and pasting into np++, and running the search/replace, when I press replace all, it says Replace All 38 occurrences were replaced at bottom of replace dialog box, but nothing changes on screen.
          All I am trying to do is put a ( at beginning of line, using search ^, and replace (.
          I thought I had done that previously, but tested with (, and it finally put the ( at beginning of line.
          Thanks for the reply

          1 Reply Last reply Reply Quote 0
          • N
            Nieg
            last edited by Sep 11, 2017, 2:28 AM

            Something about Encoding.
            Encoding->Convert to UTF-8 without BOM
            Encoding->Convert to UTF-8
            It should be the other way around.

            1 Reply Last reply Reply Quote 0
            • D
              donho @Scott Sumner
              last edited by Sep 12, 2017, 12:39 AM

              @Scott-Sumner This is too, the part of easter egg :)

              1 Reply Last reply Reply Quote 1
              • D
                David Bailey
                last edited by David Bailey Sep 13, 2017, 7:48 PM Sep 13, 2017, 7:48 PM

                @donho

                I was sorry to find that the new Find box (with a find up and a find down button) has reverted to the old style. Is there an option to obtain the new Find box?

                David

                1 Reply Last reply Reply Quote 1
                • X
                  xhdix
                  last edited by xhdix Sep 16, 2017, 9:41 AM Sep 16, 2017, 9:40 AM

                  after few days my Find box has reverted to the old style. but without up/down search.

                  screen shot

                  1 Reply Last reply Reply Quote 0
                  • O
                    Ohad Schneider
                    last edited by Sep 16, 2017, 10:47 PM

                    @Scott-Sumner said:

                    The best things in life are free.
                    Notepad++ is free.
                    So Notepad++ is the best.

                    I must point out a fatal flaw in this reasoning.
                    The only thing the first two lines prove is that Notepad++ might be the best (of course we all know it is regardless).

                    Also, I could get Notepad++ #2 to work but not Notepad++ #1 🤔

                    R 1 Reply Last reply Sep 21, 2017, 7:39 PM Reply Quote 0
                    • R
                      Richard Meana @Ohad Schneider
                      last edited by Sep 21, 2017, 7:39 PM

                      @Ohad-Schneider
                      the text to trigger the first message is just Notepad++

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jonas Andersson
                        last edited by Oct 2, 2017, 8:14 AM

                        Today when I started Notepad++ (after a reboot) my user defined languages were not working. I open the editor and the keywords are still there but all ‘Styler’ settings had been reset to the default font with black color.

                        I was using 7.5 and I don’t know if it’s connected but this morning I also got the popup if I wanted to download 7.5.1, I declined.

                        1 Reply Last reply Reply Quote 0
                        • J
                          jmholla
                          last edited by Oct 3, 2017, 9:15 PM

                          After updating, autohotkey doesn’t seem to work with notepad++ active anymore. With this script, F12 doesn’t cause Ctrl+` to fire:

                          ; Translate F12 to Ctrl+`
                          F12::
                          Send {Ctrl Down}``{Ctrl Up}
                          return

                          I’m not sure what version of notepad++ I had previously installed. If someone can point me to where that might be logged, I can add the information.

                          I’ve tried a couple of other keys to overwrite, and the problem happens consistently. Here’s the rest of my configuration if that helps:
                          ;
                          ; AutoHotkey Version: 1.x
                          ; Language: English
                          ; Platform: Win9x/NT
                          ; Author: A.N.Other myemail@nowhere.com
                          ;
                          ; Script Function:
                          ; Template script (you can customize this template by editing “ShellNew\Template.ahk” in your Windows folder)
                          ;
                          +Delete::Send {Delete}

                          SetTitleMatchMode, 2
                          #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
                          SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
                          SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

                          ; Redefine only when the active window is a console window
                          #IfWinActive ahk_class ConsoleWindowClass

                          ; Paste in command window wit Ctrl+v
                          ^V::
                          ; (Edit->Paste)
                          Send !{Space}ep
                          return

                          #IfWinActive

                          ; Hotkey to make window always on top
                          !^SPACE::
                          Winset, Alwaysontop, , A
                          return

                          ; Translate F12 to Ctrl+`
                          F12::
                          Send {Ctrl Down}``{Ctrl Up}
                          return

                          #IfWinActive WinDbg

                          ; Go To Line with Ctrl+l
                          $^g::
                          Send ^l
                          return

                          1 Reply Last reply Reply Quote 0
                          • Truk MeisterT
                            Truk Meister @Phillip Mitchem
                            last edited by Oct 4, 2017, 12:55 PM

                            @Phillip-Mitchem Did you find where/how to access the spiritual quote? I need to disable the thing

                            Scott SumnerS 1 Reply Last reply Oct 4, 2017, 1:00 PM Reply Quote 1
                            • Scott SumnerS
                              Scott Sumner @Truk Meister
                              last edited by Oct 4, 2017, 1:00 PM

                              @Truk-Meister

                              AFAIK it can’t be disabled. What’s the problem? Simply don’t do what invokes (desribed earlier) the “ghost quotes” feature…and it is in no way that I can see “spiritual”. Some of the quotes are maybe a bit questionable if Notepad++ is used in an educational environment with young children…is this the concern?

                              Truk MeisterT 1 Reply Last reply Oct 4, 2017, 1:23 PM Reply Quote 0
                              • Truk MeisterT
                                Truk Meister @Scott Sumner
                                last edited by Oct 4, 2017, 1:23 PM

                                @Scott-Sumner Yes quite disturbing. Whoever typed them up is a pervert! Guess I’ll have to reinstall w/o that option checked.

                                1 Reply Last reply Reply Quote 0
                                • Drew zD
                                  Drew z @Phillip Mitchem
                                  last edited by Oct 9, 2017, 5:34 PM

                                  @Phillip-Mitchem Best quote ever: If you try and don’t succeed, cheat. Repeat until caught. Then lie.

                                  1 Reply Last reply Reply Quote 1
                                  • N
                                    Nicholas
                                    last edited by Oct 17, 2017, 6:08 AM

                                    @donho

                                    Missing %appdata%\Notepad++\plugins\config folder when creating new profile. It appears the plugins expect this folder to already exist and won’t create it when trying to save their settings.

                                    1. Install Notepad++ with default settings.
                                    2. Log on as different user. (or delete %appdata%\Notepad++ folder)
                                    3. Start Notepad++ and it will create the %appdata%\Notepad++ folder with the config files but no sub folders.
                                    4. You can test with Plugins > Converter > Edit Configuration File. Expect to open file (it is created if folder exists), instead get error message to manually create file.

                                    The installer does create this folder and also the themes folder, even if you chose not to start application after install. So it will work ok for only the user that installed it. I also expected the themes to be created in the program files and not appdata.

                                    I’m also seeing the empty %localappdata%\Notepad++ folder being created when starting the application.

                                    Notepad++ v7.5.1 (32-bit)
                                    Build time : Aug 29 2017 - 02:35:41
                                    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
                                    Admin mode : OFF
                                    Local Conf mode : OFF
                                    OS : Windows 10 (64-bit)
                                    Plugins : mimeTools.dll NppConverter.dll NppExport.dll

                                    (OS is actually Windows Server 2016)

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      George Spanos
                                      last edited by Oct 17, 2017, 12:28 PM

                                      I am running Npp 7.5.1 32-bit on windows 10. Under the “plugins” drop-down menu I only have options for Converter, MIME tools and NppExport - no entry for Plugin Manager. This was always in previous versions. I am trying to install the Compare plugin.

                                      1 Reply Last reply Reply Quote 0
                                      • walterk82W
                                        walterk82
                                        last edited by Oct 17, 2017, 12:54 PM

                                        Clicking “Show Indent guide” with a JavaScript file causes the program to become non-responsive.

                                        1 Reply Last reply Reply Quote 0
                                        • klerbexK
                                          klerbex @donho
                                          last edited by donho Nov 22, 2017, 5:32 PM Nov 15, 2017, 5:18 AM

                                          @donho Hi Don Ho! I wonder if you would reconsider the default behavior. I think the user should be permitted to enforce local conf mode even if Notepad++ is installed in C:\Program Files (x86) (or C:\Program Files in the case of the 64-bit version).

                                          As a security-conscious user, I don’t allow scripts to execute from any location to which the standard user can write. That’s the principle behind AppLocker. But with current Notepad++ behavior, there’s nothing I can do to prevent NppExec scripts from being saved in (and running from) the user-writable %appdata%\Roaming\Notepad++\Plugins\Config\npes_saved.txt file as long as Notepad++ is installed in the default location of C:\Program Files (x86). That means an attacker can write whatever they want to npes_saved.txt and execute it through Notepad++ all without administrative privileges, making NppExec a potentially useful vector for ransomware at the very least.

                                          To protect against such attacks without having to create extra AppLocker allowances or make changes to folder permissions, I currently have to install the 32-bit Notepad++ in the 64-bit location C:\Program Files, which is not a big deal. But I thought I’d bring it up with you anyway to see what you think. Thanks for all your hard work! I love the program.

                                          klerbexK 1 Reply Last reply Nov 15, 2017, 5:38 AM Reply Quote 0
                                          • First post
                                            Last post
                                          The Community of users of the Notepad++ text editor.
                                          Powered by NodeBB | Contributors