Notepad++ 6.8.8 released



  • Me do not work shortcuts macro.



  • @PhonicStudios This happen when you open what kind of file? Could you provide me more info?



  • Single Quotes and Double Quotes do not auto-complete if preceded by any character. If its the start of the line or a space preceding the quote it does work. They will also auto-complete correctly if I add them to the “Matched Pair” list. This issue also existed in v6.8.6



  • After update 6.8.6 to 6.8.8 style for js files have been lost and looked like txt files. I reinstalled 6.8.6 but didn’t work. Then I uninstall completely and ran a registry cleaner tool then install 6.8.6. Now the style formatting for js files have been restored.



  • Hello Don,

    I didn’t understand the point #8 of the change.log file : Improve close button in tab position.

    May be, I miss something obvious, but I don’t see any change about the tabs close button ?!

    Many thanks, by advance :-)

    guy038



  • @Udhaya-Kumar I’m also having this issue. Once I close Notepad++ and re-open it, the JavaScript files are now "Normal Text File"s.

    This is an issue for people who work on large Node.JS projects that have 20+ JavaScript files open. I believe this is also happening with ActionScript as well.



  • There was no keyboard shortcut for “Find All in current Document” and, the action Find All in Current Document, when recorded in a macro, doesn’t work at all. This has been a bug for a long time but never been fixed.



  • @donho thank you 4 all version



  • Hello Ye-Miao,

    There was no keyboard shortcut for “Find All in current Document” and,

    Strg+F and Alt+O

    the action Find All in Current Document, when recorded in a macro, doesn’t work at all.
    This has been a bug for a long time but never been fixed.

    Tried it, and worked.
    Tested with the shortcuts mentioned above.

    Cheers
    Claudia



  • Hello, Ye Miao and Claudia,

    No, Claudia, you’re wrong ! The ALT + O shortcut concerns the Find All in All Opened Documents button. But, unfortunately, the Find All in Current Document has NO shorcut, by default :-((

    I attempted to improve the default English FIND dialog. So, Ye Miao, and Claudia, just refer to the link below :

    https://notepad-plus-plus.org/community/topic/11041/new-alt-shortcuts-in-the-find-dialog-for-default-english-language/1


    And yes, Ye Miao, I agree with you. The Find All in Current Document action is, unfortunately, NOT recordable in a macro :-(( It’s quite a long time bug, that has never been fixed !

    Best Regards,

    guy038



  • @Ye-Miao sorry for getting confused by find all in current and find all in opened documents.

    Cheers
    Claudia



  • @guy038 said:

    I didn’t understand the point #8 of the change.log file : Improve close button in tab position.

    the close button’s horizontal position in tab has been adjusted in the middle of tab (height).



  • @Claudia-Frank

    Thank you Claudia. At least “find all in opened documents” works at the most of the times if I did not open too many log tabs, but I do wish this “find all in current document” bug can be fixed in the coming versions.



  • English is bad,sorry.
    How in published comments or Suggestions in the below discussion?
    [READ ONLY]中文論壇

    Or could you tell me which email should I send when I have some Suggestions?



  • Find/Replace is broken when using advanced regular expressions.
    For example: Assuming the following text in a document

    function "xsquare1"(x) result(y)
        real, intent(in) :: x
        real :: y
        t = x*x
        return
    end function
    
    function "xsquare2"() result(y)
        real, intent(in) :: x
        real :: y
        t = x*x
        return
    end function
    
    function "xsquare3"()
        real, intent(in) :: x
        real :: y
        t = x*x
        return
    end function
    
    subroutine "hello1"()
        print *, "Hello World!"
        return
    end subroutine hello
    
    subroutine "hello2"(x)
        print *, "Hello World!"
        return
    end subroutine hello
    

    and open the find dialog, press replace tab, choose regular expression and put following in find what

    ^.*(function|subroutine)\s+\K([\w]+)(?=\()
    

    If you press find, it will find all function/subroutine names. If you press Replace all it will replace all occurancess
    but if you want to replace one after the other it won’t replace anything.
    Screenshots are here and here.

    Another issue, which might be related is, that regex engine in function list behaves weird. Do they use the same
    regex version/engine? If so, here a screenshots which shows that some functions are not listed whereas
    they should. If I add an additional space, either at the end or inbetween the ( ) then they are displayed as
    seen here.

    If the regex engine used by function list code is different to the find/replace dialog may I ask if it is possible
    to keep them the same as it would allow to easily test the regular expressions before adding to functionlist.xml?

    Thank you
    Claudia



  • @Claudia-Frank In my v6.8.8 ^.*(function|subroutine)\s+\K([\w]+)(?=\() find just nothing (with “find” or “find all in current document”).
    Could you download zipped package, and unzip it into a new folder, to make sure the behaviour?
    https://notepad-plus-plus.org/repository/6.x/6.8.8/npp.6.8.8.bin.minimalist.7z



  • @donho, sorry for confusion, instead of posting the result after replace all
    I should have posted the source code before modification, which is this

    function xsquare2() result(y)
    	real, intent(in) :: x
    	real :: y
    	t = x*x
    	return
    end function
    
    function xsquare3()
    	real, intent(in) :: x
    	real :: y
    	t = x*x
    	return
    end function
    
    subroutine hello1()
    	print *, "Hello World!"
    	return
    end subroutine hello
    
    subroutine hello2(x)
    	print *, "Hello World!"
    	return
    end subroutine hello
    

    without the double quotes. They were added after pressing replace all.
    And, yes, I do still see the problem with the minimalistc zip I downloaded.

    So using the current code together with the regex

    ^.*(function|subroutine)\s+\K([\w]+)(?=\()
    

    results in the reported behaviour.

    Thank you
    Claudia



  • @Claudia-Frank In oder to reproduce the bug, could you describe the occurrences expected to be found and replaced?



  • @donho,
    by using replace dialog

    Find what:  ^.*(function|subroutine)\s+\K([\w]+)(?=\()
    Replace with: "\2"
    

    it is expected that each functionname (xsquare2, xsquare3, hello1, hello2) get found and
    replaced with surrounding double quotes when pressing the replace button.
    Which does work if pressing replace all.

    So, before replacing

    function xsquare2() result(y)
    

    and after

    function "xsquare2"() result(y)
    

    Cheers
    Claudia



  • Hi, Don and Claudia,

    I noticed that fact, a long time ago. Just see my reply to the Claudia’s question :

    Do you think this is a bug or is it because of the complex regex?

    at the address below :

    https://notepad-plus-plus.org/community/topic/11021/find-and-replace-help/5


    I’ll try to do some tests, with the improved regex engine version of François-R Boyer ( on June 2013, based on Scintilla 2.2.7 ). I hope that this version will not have this issue !?

    Cheers,

    guy038


Log in to reply