-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
Description of the Issue
When you use the brace-matching function, your caret is moved to the matching brace. When you then move the caret up or down a line (with arrow key), the caret moves to an unexpected column on the destination line.
Steps to Reproduce the Issue
- Create a new tab and set its Language to Python
- Paste this text:
#
find_msg_cracker_dict = {
#
}
#
- Place the caret next to the opening brace:

- Use Ctrl+b to move the caret to the closing brace:

- Press the down arrow key one time.
Expected Behavior
I expected the caret to be in column 1 of the destination line:

Actual Behavior
Debug Information
Notepad++ v8.5.1 (64-bit)
Build time : Mar 21 2023 - 19:16:10
Path : W:\npp.misc_NoBackup\Releases\npp.8.5.1\npp.8.5.1.portable.x64\notepad++.exe
Command Line : -titleAdd="8.5.1 64-bit" -multiInst "W:\Temp\Temp\20230327-165700_.py" -n5
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 21H2
OS Build : 19044.2604
Current ANSI codepage : 1252
Plugins :
mimeTools (2.9)
NppConverter (4.5)
NppExport (0.4)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
