Community
    • Login

    bug: deletion of text by tab/enter

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 3 Posters 660 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

      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)

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @A Former User
        last edited by Ekopalypse

        @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 Reply Quote 1
        • ?
          A Former User @Ekopalypse
          last edited by

          @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
          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @A Former User
            last edited by

            @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 Reply Quote 1
            • ?
              A Former User @Ekopalypse
              last edited by

              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 Reply Quote 0
              • ?
                A Former User @A Former User
                last edited by

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

                EkopalypseE 1 Reply Last reply Reply Quote 0
                • EkopalypseE
                  Ekopalypse @A Former User
                  last edited by

                  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
                  • Emm NE
                    Emm N
                    last edited by Emm N

                    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