Notepad++ 7.7 Release Candidate (v3)



  • @rddim

    Cyrillic has nothing to do with it. Wrap around seems to be ignored for Replace All and Mark. Since Wrap around isn’t used for Replace All in All Opened Documents, that part is irrelevant too.

    Nice find, though!



  • Hello, @don-ho and All,

    Many thanks for this new release, especially for updating Scintilla :-))

    I would like to mention three bugs :

    • The first one is a critical bug, which happens only on N++ v7.7 RC3, and is, probably reslated, somehow, to the new counting in selection feature. Because of that, the Replace All and the Mark All actions are corrupted :-((

    • The two other are quite minor bugs and exist from a lot of releases. So, Don, keep relax regarding these ones !


    To test the first critical issue, , also detected by @rddim, in his posts, above, just paste the text, below in a new tab of the new V7.7 RC3

    Line 01
    Line 02
    Line 03
    Line 04
    Line 05
    Line 06
    Line 07
    Line 08
    Line 09
    Line 10
    Line 11
    Line 12
    Line 13
    Line 14
    Line 15
    Line 16
    
    • Move the cursor at beginning of Line 08 ( IMPORTANT )

    • Open the Replace dialog ( Ctrl + H )

    • Type in the word Line in the Find what: zone

    • Type in the word Test in the Replace with: zone

    • Select the Normal search mode

    • Leave the options Backward direction, Match whole word only and Match case unticked

    • Tick the Wrap around option

    • Click on the Replace All button

    =>

    Expected result : the word Line, should have been changed with Test in the 16 lines of that new tab ( N++ 7.6.6 )

    Present result : the word Line, have been changed with Test, ONLY in lines 08 to 16 ??!!

    Now :

    • Hit the Ctrl + Z shortcut to undo these changes

    • Move, again, the cursor at beginning of Line 08 ( IMPORTANT )

    • Tick the Backward direction option

    • Click, again, on the Replace All button

    =>

    Expected result : the word Line, should have been changed with Test in the 16 lines of that new tab ( N++ 7.6.6 )

    Present result : the word Line, have been changed with Test, ONLY in lines 01 to 08 ??!!

    This wrong behavior also happens when clicking on the Mark all button

    Normally, when the Wrap around option is ON, the replacement or mark actions should always start at the very beginning till the very end of the current document, independently of the state of the Backward direction and of the present location of the cursor !

    So, presently, with N++ v7.7RC3, there is an obvious work-around :

    • Systematically, move the cursor to the very beginning of the current document, before running a Replace all or Mark All actions

    • Although, you closed this second issue on GitHub, any normal selection of a character, with code-point between \x80 and \xBF, is not counted as 1 char, in the status bar, if current file is ANSI encoded or has an encoding defined in Encoding > Character Sets > ... > ...

    Refer to :

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/425

    Luckily, when current file has an Unicode encoding ( UTF-8, UTF-8-BOM, UCS-2 BE BOM or UCS-2 LE BOM ), which tends to become more and more common, the counting of characters is quite correct ;-))


    Now, a short reminder, before mentioning the second minor issue :

    In the change.log of N++ v7.4.2, it is said :

    1. Drag and dropping tabs is possible in multi-line tab mode.

    Refer, to that purpose, on the link below :

    https://github.com/notepad-plus-plus/notepad-plus-plus/pull/3075

    Indeed, IF the Settings > General > Tab bar > lock ( no drag and drop ) option is disabled, it is possible to manage the tabs according to the 3 types of actions, below, when the mouse pointer is over the tabs’s zone :

    • A) Ctrl + Mouse Wheel Up moves to the previous tab ( equivalent to a Ctrl + Page Up action )

    • A) Ctrl + Mouse Wheel Down moves to the next tab ( equivalent to a Ctrl + Page Down action )

    • B) Shift + Ctrl + Mouse Wheel Up moves to the very first tab ( No equivalent shortcut )

    • B) Shift + Ctrl + Mouse Wheel Down moves to the very last tab ( No equivalent shortcut )

    • C) Shift + Mouse Wheel Up moves current tab backward ( equivalent to a Ctrl + Shift + Page Up action )

    • C) Shift + Mouse Wheel Down moves current tab forward ( equivalent to a Ctrl + Shift + Page Down action )

    And note that, finally, these actions are effective with, both, the Settings > General > Tab bar > Multi-line option enabled or disabled ;-)) Of course, when the action Settings > General > Tab bar > lock ( no drag and drop ) is disabled the "C" actions just behave as the "A" actions, because tabs cannot be moved ( logic ! )

    Now, the issue :

    From the N++ version 7.5.9, till the last v7.7.0 RC3, the two "C" actions do not work properly, anymore. They just swap current tab with its previous one :-(( This has sometimes an incidence when dragging a tab, manually, on the same line of tabs !

    To compare, just try the same mouse actions on N++ v7.5.8, which is the last version without that issue !

    However, it’s important to point out that the actions A) and B) still work as expected, in multi-line mode or not :-))

    Best Regards

    guy038



  • New RC which fix the Replace all and Make all regression here:
    https://notepad-plus-plus.org/community/topic/17634/notepad-7-7-release-candidate-v4



  • @rddim said:

    Cyrillic text in ANSI
    When typing in cyrillic the text is displayed as ???. In my test I use the text кирилица

    Not sure it’s a regression.
    Is it the same behaviour in v7.6.6 ?



  • @donho

    In v7.6.6 I can type in cyrillic without problems. I also have disabled the Autodetect character encoding in all versions because it doesn’t show cyrillic correctly. May be @andrecool-68 can help also with some tests.



  • @rddim
    Confirmation of this problem:

    Imgur



  • @andrecool-68
    Could you provide your debug info please?



  • @donho
    Notepad++ v7.7 (64-bit)
    Build time : May 14 2019 - 01:26:08
    Path : C:\Users\Uzeer\Desktop\npp.7.7.bin\x64\notepad++.exe
    Admin mode : ON
    Local Conf mode : ON
    OS : Windows 7 (64-bit)
    Plugins : none



  • @donho
    Notepad++ v7.7 (64-bit)
    Build time : May 16 2019 - 02:06:44
    Path : C:\Users\Uzeer\Downloads\npp.7.7.bin.x64\notepad++.exe
    Admin mode : ON
    Local Conf mode : ON
    OS : Windows 7 (64-bit)
    Plugins : none

    Notepad++ v7.7 (32-bit)
    Build time : May 16 2019 - 02:12:24
    Path : C:\Users\Uzeer\Downloads\npp.7.7.bin\notepad++.exe
    Admin mode : ON
    Local Conf mode : ON
    OS : Windows 7 (64-bit)
    Plugins : none



  • @donho
    In Notepad ++ with Cyrillic problems in all versions!
    Here is an example with Cyrillic in two editors.

    Imgur


Log in to reply