Community
    • Login

    feature request - word wrap per tab

    Scheduled Pinned Locked Moved General Discussion
    word wrap
    17 Posts 5 Posters 5.1k Views 2 Watching
    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.
    • Alan KilbornA Offline
      Alan Kilborn
      last edited by

      @Ekopalypse

      Upvote but no answer to “@Ekopalypse , did you actually try to get the word-wrap-per-tab script running on your system?”?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Alan Kilborn
        last edited by

        @Alan-Kilborn

        No, I don’t use it.
        I have ALT+S bound to

        current_editor = eval('editor{}'.format(notepad.getCurrentView()+1))
        current_editor.setViewWS(not current_editor.getViewWS())
        current_editor.setViewEOL(not current_editor.getViewEOL())
        

        which basically toggles the WS and EOLs of the current view. :-)

        1 Reply Last reply Reply Quote 1
        • EkopalypseE Offline
          Ekopalypse @Alan Kilborn
          last edited by

          @Alan-Kilborn

          tststs Alan, you are too impatience :-D

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA Offline
            Alan Kilborn @Ekopalypse
            last edited by Alan Kilborn

            @Ekopalypse said:

            Alan, you are too impatience

            Maybe…just didn’t want you to forget. Thought a second person actually trying it might uncover a stopper in the process that would have caused the OP to throw up hands.

            I have ALT+S bound to

            Is this related to what we’re talking about here?

            current_editor = eval(‘editor{}’.format(notepad.getCurrentView()+1))

            Why not this instead of your code?:

            editor.setViewWS(editor.getViewWS())

            1 Reply Last reply Reply Quote 1
            • EkopalypseE Offline
              Ekopalypse
              last edited by Ekopalypse

              @Alan-Kilborn

              Is this related to what we’re talking about here?

              No, just mentioned that I’m using something similar but also very different.

              Why not this instead of your code?:

              Because this was one of my first scripts I copied from somewhere and it did what it should and I never thought about it anymore and even today I didn’t think about but you are right, editor.setViewWS(not editor.getViewWS()) is the proper solution if you want to toggle.
              :-D
              You see, once something runs, I forget about it until something happens which might
              force me to reconsider what I’ve done previously. :-D

              1 Reply Last reply Reply Quote 1
              • Clyfton InC Offline
                Clyfton In
                last edited by

                I’m considering going down the hacking path mentioned previously. I remember it being long and arduous and fraught with peril. I looked at the recommended python plugin above … seems like a specific version of python for specific versions of Notepad++. So if Notepad++ gets updated, is everything going to break?

                Alan KilbornA 1 Reply Last reply Reply Quote 0
                • Alan KilbornA Offline
                  Alan Kilborn @Clyfton In
                  last edited by

                  @Clyfton-In said:

                  hacking path

                  LOL. Scripting plugins exist so one can add functionality. It’s only a hack if consider it a last resort. Which you do, so hack it is. :)

                  seems like a specific version of python for specific versions of Notepad++

                  Hmmm, not sure what this means…

                  So if Notepad++ gets updated, is everything going to break?

                  In general, no. But sometimes big changes have to be made in software for it to evolve. Recently we’ve seen some of these types of changes in Notepad++ and some of the plugins have lagged.

                  1 Reply Last reply Reply Quote 1
                  • Clyfton InC Offline
                    Clyfton In
                    last edited by

                    I only said hacking cause you said hacking 7 months ago:
                    You can achieve your desired functionality right now if you don’t mind a bit of hacking.

                    When I said … seems like a specific version of python for specific version of Notepad++ … it’s because the link you provided 3 days ago says this …

                    for notepad++ 7.6.4, 64 bit (installed version):
                    download and extract PythonScript_Full_1.3.0.0_x64.zip from >>> here <<< to your desktop.
                    note: do not use any other available release type, except this zip.

                    So if doing all the work to get a wrap toggle could just break in the next notepad++ update, no sense in pursuing.

                    Alan KilbornA 1 Reply Last reply Reply Quote 0
                    • Alan KilbornA Offline
                      Alan Kilborn @Clyfton In
                      last edited by

                      @Clyfton-In said:

                      I only said hacking cause you said hacking 7 months ago

                      Haha. So I did. Maybe my views on hacking versus “endorsed solutions for augmentation” have slightly changed. :)

                      no sense in pursuing

                      Yea, probably that’s true.

                      I guess I retract my advice.

                      1 Reply Last reply Reply Quote 0
                      • Stan-DmS Offline
                        Stan-Dm
                        last edited by

                        +1 for this feature request, I have to flip my word wrap settings back and forth all the time, it’s getting annoying!

                        PeterJonesP 1 Reply Last reply Reply Quote 2
                        • PeterJonesP Offline
                          PeterJones @Stan-Dm
                          last edited by

                          @Stan-Dm said in feature request - word wrap per tab:

                          +1 for this feature request, I have to flip my word wrap settings back and forth all the time, it’s getting annoying!

                          Might be a good idea. But +1-ing it here won’t affect the status of the feature request at https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5232 .

                          if it’s annoying for you, both this forum and the issues page show a PythonScript workaround that you can use while you are waiting to see if the feature is ever accepted or implemented. But given there’s a simple PythonScript workaround, there’s a good chance it never will be. (The developer philosophy for this project is that if it can easily be or has been implemented using a plugin, it’s not likely to be implemented as a native feature.)

                          1 Reply Last reply Reply Quote 1

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors