• Login
Community
  • Login

bug: deletion of text by tab/enter

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
8 Posts 3 Posters 661 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User
    last edited by May 17, 2022, 3:27 PM

    Bug?
    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: v8.1.9.3 (32-bit)

    E 1 Reply Last reply May 17, 2022, 4:36 PM Reply Quote 0
    • E
      Ekopalypse @A Former User
      last edited by Ekopalypse May 17, 2022, 4:36 PM May 17, 2022, 4:36 PM

      @bert-scholz

      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 … ?

      ? 1 Reply Last reply May 18, 2022, 6:32 AM Reply Quote 1
      • ?
        A Former User @Ekopalypse
        last edited by May 18, 2022, 6:32 AM

        @ekopalypse

        • 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
        E 1 Reply Last reply May 18, 2022, 7:15 AM Reply Quote 0
        • E
          Ekopalypse @A Former User
          last edited by May 18, 2022, 7:15 AM

          @bert-scholz

          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)

          ? 1 Reply Last reply May 18, 2022, 1:51 PM Reply Quote 1
          • ?
            A Former User @Ekopalypse
            last edited by May 18, 2022, 1:51 PM

            Debug info:
            Notepad++ v8.1.9.3 (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.

            ? 1 Reply Last reply May 19, 2022, 9:03 AM Reply Quote 0
            • ?
              A Former User @A Former User
              last edited by May 19, 2022, 9:03 AM

              @bert-scholz

              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 …

              E 1 Reply Last reply May 19, 2022, 12:45 PM Reply Quote 0
              • E
                Ekopalypse @A Former User
                last edited by May 19, 2022, 12:45 PM

                If that works for you, that’s fine, but really it should have worked with these settings and probably does for most.

                1 Reply Last reply Reply Quote 1
                • E
                  Emm N
                  last edited by Emm N Jul 26, 2024, 12:33 AM Jul 25, 2024, 11:59 PM

                  Had the same issue… was creating a new cmd file, edit, and then the first line would just clear one pressing Enter, removed the scintilla commands for enter and tab and seems to work fine. Issue came out of the sudden, last intervention I did was adding autohotkey support. Thanks, A Former User!

                  On a 2nd note, it introduced a new bug, new line is now not CRLF but CR only regardless of the settings. So I’ve removed the shortcut entries for the scintilla on the changes made prior, all are default now, but that batch enter bug will eventually return.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors