notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
New line auto-indent does not work while recording a macro
@donho is already working on this.
Since Dec 25, 2021.
- Dominant language
- C++
- Stars
- 29.4k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Tested in Notepad++ v6.9.2
OBSERVED:
Generally, when user presses return to start new line from a line of text which is indented (by one or more presses of tab key), the new line inherits/copies the indent from the previous line. This is expected behaviour.
However, if user is recording a macro, then presses return to start new line from a line of text which is indented, the new line starts without any indent.
EXPECTED:
New lines should inherit the indent from the previous line in all circumstances. Recording a macro should not modify program behaviour.
TO REPRODUCE:
- Start new text file.
- Press tab to indent.
- Type some text.
- Press return. Observe new line starts with the indent from the line above.
- Start recording a macro.
- The input cursor should be indented. Type some text.
- Press return. Observe new line starts without any indentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.