-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hitting enter key once does not take me to next line! #4631
Comments
Are you sure this is not some plugin or third party program stealing your key press? Maybe Sticky Keys? |
I can't reproduce the behavior sevakmaheshr is experiencing. |
I'm having the same problem on Notepad++ version v7.8.2. Turning on Show All Characters (the paragraph P symbol on the toolbar), I discovered that Notepad++ is inserting a Expected behavior:
Observed behavior:
This is a relatively new bug. I did not have this problem before updating, though I don't remember what version I updated from (I update only a couple times per year) |
@Cyanobacterium It doesn't reproduce for me under 7.8.2. Can you try a portable "install" (if that is not already what you are running)? Also, what plugins do you have? Paste your |
I installed via chocolatey (ie Here's my debug info:
The portable version works as expected (no bug). Portable version debug info:
I'll try uninstalling and reinstalling via chocolatey and get back to you. |
How strange! I uninstalled ( Then first time I opened Notepad++ after reinstalling, it worked correctly but did not remember my previously opened files. Then I closed and re-opened Notepad++ and it re-opened my old files again, but also had the same bug again! (edit: I tested multiple file types in case it was a language setting but the bug persists in all files and in new files) Is this a configuration problem? How can I reset all the options back to default? |
@sasumner, @sevakmaheshr, I was able to fix the problem by deleting the directory Any ideas how a bad config file could cause this problem? Debug info after deleting the directory:
|
One potential cause for losing 'Enter' key presses seems to be Auto-Completion. See my just-made issue report #8389 (title: Enter key is consumed by the Auto-Completion function). But that should not be the cause in this issue report, because the last word ('line') is not yet anywhere else in the document, so Auto-Completion won't pop up (I suppose). |
I have the same issue, enter key not take me to the next line for first hit |
Have you tried deleting the config directory? (typically |
I have had this same problem for a long time, on multiple PCs and multiple versions of Notepad++. However, for me it is intermittent - it happens on some lines and not on others. Very annoying. I don't have any plugins other than the standard ones that come pre-installed. |
To people who have got this issue, could you confirm me that just before hitting the 1st ENTER, the auto-completion box appears? |
Auto-completion currently use both ENTER and TAB to insert the selected item, in some circumstance people have to ENTER twice to have 1 newline feed. in this commit, 2 options (ENTER & TAB) are given in Auto-completion settings, so users can choose one of these 2 keystrokes (or both, or none). By default ENTER is disabled and TAB is enabled. Fix notepad-plus-plus#4799, fix notepad-plus-plus#4631, fix 8389, fix notepad-plus-plus#10915
…ed item, in some circumstance people have to ENTER twice to have 1 newline feed. In this commit, 2 options (ENTER & TAB) are given in Auto-completion settings, so users can choose one of these 2 keystrokes (or both, or none). By default ENTER is disabled and TAB is enabled. If auto-completion is disabled and completion is triggered manually, then the settings of ENTER & TAB won't be considered, both ENTER & TAB will be able to insert the selection. Fix notepad-plus-plus#4799, fix notepad-plus-plus#4631, fix notepad-plus-plus#8389, fix notepad-plus-plus#10915, close notepad-plus-plus#11016
Description of the Issue
In most text/code editors we expect that hitting the "enter" key will take us to the beginning of the next line. But, that doesn't happen on my Notepad++.
HAVING TO HIT THE ENTER KEY TWICE AT THE END OF EVERY LINE, TO GET TO THE NEXT LINE, IS VERY ANNOYING.
Details:
Steps to Reproduce the Issue
Expected Behavior
I expect that hitting the "enter" key once will take me to the beginning of the next line, as is the case in most (almost all other) text/code editors.
Actual Behavior
When I hit the Enter key once, the cursor stay on the same line, at the same position.
Hitting the Enter key again takes me to the next line!
** I have to hit the ENTER key twice. **
Debug Information
NONE
The text was updated successfully, but these errors were encountered: