Community
    • Login

    Default rtl mode

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    rtlopen filedefault
    5 Posts 3 Posters 464 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.
    • FNActivityF
      FNActivity
      last edited by

      Re: [NEW PLUGIN] RTL manager

      When I open netpad++, I want it to be rtl by default
      Does anyone know a trick for this problem? thank you

      Is the above link file safe? Does it work now?

      Paul BakerP PeterJonesP 2 Replies Last reply Reply Quote 0
      • Paul BakerP
        Paul Baker @FNActivity
        last edited by

        @FNActivity Have you seen this: https://superuser.com/questions/411018/auto-start-notepad-macro

        Also, Your post title is very specific. I think you will get a wider audience if the title was something like: “How to run a plugin or macro when NPP starts.”

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

          @FNActivity ,

          You might want to try out v8.6.2-Release Candidate: it has some updates to RTL which allows it to remember RTL settings on a file-by-file basis, which might allow it to remember your default; I haven’t experimented with that, so I don’t know for sure. _addenda: then again, the primary RTL expert here and in the github issues highly disagreed with some of the RTL changes that Notepad++ made in the v8.6.1 (which I believe were propagated to v8.6.2), so it may be that you, as a real RTL user, will not like the new RTL behavior: if that is the case, figure out how you can politely express that in the v8.6.2-RC announcement thread linked above, so that the Developer can understand how the changes negatively affect real RTL users.

          Regarding the plugin you linked to: it hasn’t been updated since 2017 – often, when a plugin hasn’t been updated in that long, it makes outdated API calls that crash Notepad++ … but if it’s really just doing behind-the-scenes tracking of files, and sending menu-commands to change the RTL state, then it’s probably safe. And given that @chcg (who is a trusted member of this Community and contributor to plugins and the core source code) contributed to improving the plugin you linked to, my conclusion is that at least in 2017, it was “safe”, so I’d say it’s safe to give it a try… but if you see Notepad++ crashing as a result of the plugin, then remove it.

          @Paul-Baker ,

          I think you will get a wider audience if the title was something like: “How to run a plugin or macro when NPP starts.”

          Interesting recommendation. My guess (but it’s only a guess) is that the plugin referenced does it’s thing automatically, so “run a plugin … when NPP starts” is not the question the OP was interested in. And most users don’t think of a menu entry as a “macro” (even though it could be recorded into a menu entry). And given that what @FNActivity requested was “default RTL mode”, I doubt that they care whether it’s done via an automatic plugin, or via a macro that gets run at start, or by an improved feature-set in Notepad++, so I think that the title of the post was a better choice than your suggestion – because it accurately and concisely describes what is actually desired, without pre-supposing a method. In fact, I would categorize your suggested subject title as an XY Problem, whereas the actual title used described the end result desired, which nearly always ends up with better answers.

          Paul BakerP FNActivityF 2 Replies Last reply Reply Quote 1
          • Paul BakerP
            Paul Baker @PeterJones
            last edited by

            @PeterJones Hey Peter, Fair enough. It just seemed like he wanted to perform some action when NPP started. I’m not familiar with the RTL feature. Thanks for your comment. Paul

            1 Reply Last reply Reply Quote 0
            • FNActivityF
              FNActivity @PeterJones
              last edited by

              @PeterJones
              @Paul-Baker
              Thanks for the reply, I didn’t have access to the internet for a while, and now that I’m back, I found out that Notepad has completely fixed this problem in the new update, and that’s great.

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