Community
    • Login

    Installing outdated plugin...

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    10 Posts 6 Posters 815 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.
    • Al BatemanA
      Al Bateman
      last edited by

      I had the plugin NppTextFX installed in Notepad++ on my old computer. I just got a new computer and downloaded & installed NP++, but NppTextFX is not listed in the plugins admin. I have the NppTextFX.dll file saved from the old pc and was wondering if there is a way to install it without having to go through plugins admin. The reason I want it is because I can find no easy way to add line numbers to a text file that I am editing.

      Derek BrownD 1 Reply Last reply Reply Quote 0
      • Derek BrownD
        Derek Brown @Al Bateman
        last edited by Derek Brown

        Yes, just create a NppTextFX folder in your Notepad++ Plugins folder and put the DLL in there. So it should look like “Notepad++\plugins\NppTextFX\NppTextFX.dll”. However there is no guarantee that the plugin will still work. No harm in trying though.

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

          Another possible issue: Is the plugin the same “bitness” as the new N++? Meaning that if the plugin is 32-bit (as is likely with NppTextFX) and the N++ is 64-bit, the plugin won’t load.

          Al BatemanA 1 Reply Last reply Reply Quote 1
          • Al BatemanA
            Al Bateman @Alan Kilborn
            last edited by

            @alan-kilborn Looks like you are both right. I did create a folder under plugins folder and copied the file there but it didn’t show up in plugins admin.
            And I’m pretty sure it is 32bit(old pc) vs. 64bit(new pc). Guess I’m out of luck unless someone know another way to add line numbers like NppTextFX could.
            Thanks to both of you.

            Derek BrownD David LeighD artie-finkelsteinA 3 Replies Last reply Reply Quote 0
            • Derek BrownD
              Derek Brown @Al Bateman
              last edited by

              The code appears to be here. You could try to compile it in 64-bit and make any other updates that may be necessary.

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

                @derek-brown said in Installing outdated plugin...:

                The code appears to be here. You could try to compile it in 64-bit and make any other updates that may be necessary.

                Or @Al-Bateman could look at this post which shows a compiled 64bit DLL in the same repo…

                1 Reply Last reply Reply Quote 2
                • David LeighD
                  David Leigh @Al Bateman
                  last edited by

                  @al-bateman There’s nothing to keep you from using the 32-bit version of NP++. That’s what I do 'cause I can’t live without TextFX!

                  There may be some very technical cases where the 64-bit version of NP++ is necessary but most of the time, I think the 32-bit version will meet all your needs.

                  1 Reply Last reply Reply Quote 1
                  • artie-finkelsteinA
                    artie-finkelstein @Al Bateman
                    last edited by

                    @al-bateman
                    There is the Edit > Column Editor... option to insert numbers. It takes a bit more work than the TextFX (you have to enter the starting line number and increment value and add more leading zeros as a follow on edit step if you need the full eight digit field; the column editor also requires column marking while TextFX requires full line (stream) marking before you issue the appropriate insert command.

                    Alan KilbornA 1 Reply Last reply Reply Quote 0
                    • Alan KilbornA
                      Alan Kilborn @artie-finkelstein
                      last edited by

                      @artie-finkelstein said in Installing outdated plugin...:

                      It takes a bit more work

                      It does seem like that much work:

                      • move caret to first position in file tab; choose Edit > Begin/End Select
                      • move caret to first column on last line in file tab; click there while holding down Alt; choose Edit > Begin/End Select
                      • press Alt+c
                      • setup as follows and press OK:

                      eb847eea-d40d-4970-a1df-585e5d0e0c84-image.png

                      if you need the full eight digit field

                      Was there mention of this need by the OP? Or is that just something TextFX will do?

                      artie-finkelsteinA 1 Reply Last reply Reply Quote 1
                      • artie-finkelsteinA
                        artie-finkelstein @Alan Kilborn
                        last edited by

                        @alan-kilborn said in Installing outdated plugin...:

                        Or is that just something TextFX will do?

                        TextFX only inserts an eight digit line number at the beginning of each line in the currently (stream) marked area. No spaces, no separators, no choices.

                        FWIW: My daily use of TextFX is the Add Up Numbers command. Don and the other developers have thankfully implemented code for most of the truly text oriented commands in the Edit menu.

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