Community
    • Login

    Автоматический перенос строки

    Scheduled Pinned Locked Moved General Discussion
    29 Posts 5 Posters 8.8k 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.
    • TBugReporterT
      TBugReporter @PeterJones
      last edited by TBugReporter

      @PeterJones said in Автоматический перенос строки:

      Your macro in shortcuts.xml used to be […]

      Now that same section in shortcuts.xml needs to be […]

      I cut, pasted, and compared your two code snippets twice, and can find no difference between them other than the second one ends with four backquotes instead of three.

      PeterJonesP 1 Reply Last reply Reply Quote 1
      • PeterJonesP
        PeterJones @TBugReporter
        last edited by PeterJones

        I cut and pasted your two code snippets twice, and can find no difference between them other than the second one ends with four backquotes instead of three.

        Sorry, I used the “edit” feature in the forum to add shortcuts.xml a couple times, but the stupid forum software converts &-encoded sequences into their raw results, even when they are in code blocks which are supposed to be protected against such edits.

        I have fixed it in my post above.

        TBugReporterT 1 Reply Last reply Reply Quote 0
        • TBugReporterT
          TBugReporter @PeterJones
          last edited by

          @PeterJones said in Автоматический перенос строки:

          stupid forum software converts &-encoded sequences

          So how does one go about preventing this? Is there a FAQ for this?

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @TBugReporter
            last edited by

            @TBugReporter said in Автоматический перенос строки:

            So how does one go about preventing this?

            Don’t edit your post after initially posting. ;-)

            If you do, always check that everything renders as expected in the PREVIEW window and after hitting SUBMIT

            Is there a FAQ for this?

            Yes. It’s in the Entities section of Formatting Forum Posts

            1 Reply Last reply Reply Quote 1
            • Vio RuV
              Vio Ru @PeterJones
              last edited by

              @PeterJones said in Автоматический перенос строки:

              Now your Macro > PasteEnter will work again

              No it’s not. I saved, reloaded and it doesn’t work. N++ 8.5.6x32

              05-09-2023 23-20-36.png

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Vio Ru
                last edited by PeterJones

                @Vio-Ru said in Автоматический перенос строки:

                No it’s not. I saved, reloaded and it doesn’t work. N++ 8.5.6x32

                The macro I showed works. Your macro is not working because you messed up the XML file, so now no macros will work.

                The syntax highlighting in your screenshot clearly indicates that the starting line of your macro – which is required for it to work – is commented out.

                1064aacc-1d95-4973-94cf-57e514581098-image.png

                (The green colored text means “comment”)

                If you were showing the screenshot of the whole line, rather than cutting off the left side of the document, I could have probably even told you the exact location where you messed it up. As it is, I can tell you with confidence that somewhere between line 7 and line 11, you do not properly close the comment that line 7 is a part of. (Or maybe there are multiple comments between 7 and 11. Or maybe even 6-7 shouldn’t be commented; I’m not sure on that.)

                1 Reply Last reply Reply Quote 1
                • Vio RuV
                  Vio Ru
                  last edited by

                  05-09-2023 23-29-01.png

                  PeterJonesP 1 Reply Last reply Reply Quote 0
                  • Vio RuV
                    Vio Ru
                    last edited by

                    I found my mistake)) Thank you very much for your help, Peter!

                    1 Reply Last reply Reply Quote 0
                    • PeterJonesP
                      PeterJones @Vio Ru
                      last edited by PeterJones

                      @Vio-Ru ,

                      Yes, your wider screenshot shows that you started a comment before the <Macro name="aa" and never closed it. Close your comment, and save and restart, and things should work.

                      edit: sorry, I was typing my reply when you posted your “I found my mistake” message

                      1 Reply Last reply Reply Quote 0
                      • Lash HaraL
                        Lash Hara
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote -1
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors