bug: deletion of text by tab/enter
entering text works fine, including space. however, when inserting a ‘tab’ or ‘enter’, the hole text is delete, curser is back at beginning, first line
NPP: v126.96.36.199 (32-bit)
Obviously this would be a big problem if that was the default behaviour,
i.e. either you’re doing something extra that you didn’t describe, using a plugin that malfunctions or just … ?
- dont’ see what I am doing extra - working in win editor works fine
- several plugins installed, but none seems performing an action
- also no macro active
Can you record a screencast and post it at https://imgur.com?
Can you also post all your debug info? (Accessible via the last menu item, the ? menu)
Notepad++ v188.8.131.52 (32-bit)
Build time : Dec 6 2021 - 19:16:45
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
OS Name : Windows 10 Enterprise (64-bit)
OS Version : 1909
OS Build : 18363.2212
Current ANSI codepage : 1252
Plugins : ComparePlugin.dll DSpellCheck.dll Explorer.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll nppplugin_solutionhub.dll nppplugin_solutionhub_ui.dll nppplugin_svn.dll nppRegEx.dll ReloadButton.dll sql.dll Tidy2.dll XMLTools.dll
Unfortunately, no screencast possible.
Finally found it:
Menu ‘Macro’ -> ‘Modify Shortcut/Delete Macro…’ -> ‘Scintilla commands’:
- SCI_NEWLINE: change to e.g. Shift+Enter
- SCI_TAB: change to e.g. Shift+Tab
No need to change the shortcuts in ‘Main Menu’ (e.g. ‘Insert Blank Line Below Current’ can stay as is).
wierd, Scintilla using common keys as shortcut …
If that works for you, that’s fine, but really it should have worked with these settings and probably does for most.