Community
    • Login

    TextFX 64-bit binary / source code unavailability?

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    textfx
    47 Posts 20 Posters 133.5k 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.
    • Alan KilbornA
      Alan Kilborn @amarand
      last edited by

      @amarand

      I did a search for “date” in this topic

      Did you search the whole Community for “date”? Of course, Community search is known to be poor…

      Regarding “another plugin”: You can script yourself a date solution that can put the date in any format you can imagine; these might get you started with that:

      https://notepad-plus-plus.org/community/topic/13792/date-time-again
      https://notepad-plus-plus.org/community/topic/16147/date-and-time
      https://github.com/notepad-plus-plus/notepad-plus-plus/issues/5537

      Is there a reason why TextFX was never released for the 64-bit version of Notepad++?

      There is an experimental version out there somewhere, and by that I mean something not by the original author, or with permission of same. As to a reason, well, people’s interests change over time. I’d guess the author lost interest or moved on to a different text editor. It happens.

      1 Reply Last reply Reply Quote 2
      • dinkumoilD
        dinkumoil
        last edited by

        @amarand said:

        Is there another plugin (or built-in feature) that allows you to easily insert a full date/time stamp into the current editing window?

        You could use the NppCalc plugin for that (installable with both PluginManager (Npp up to v7.5.9) and PluginsAdmin (Npp v7.6 and above)). Activate the plugin and type e.g. FormatDateTime( 'dddd, dd.MM.yyyy hh:mm:ss', now() ) + ENTER. The plugin inserts the according date/time infos (dddd is the name of the weekday in your locale) into the following document line.

        It’s not the same like that what the TextFX plugin does since the command you typed gets not overwritten but NppCalc is more flexible and has a bunch of other useful functions.

        Alan KilbornA 1 Reply Last reply Reply Quote 3
        • Alan KilbornA
          Alan Kilborn @dinkumoil
          last edited by

          @dinkumoil said:

          You could use the NppCalc plugin for that

          …okay…but is there a way to bind to a keycombo with that plugin? Typing that horrendously long thing is even worse than simply typing the time. What am I missing here?

          dinkumoilD 1 Reply Last reply Reply Quote 2
          • Jeff JohnstonJ
            Jeff Johnston
            last edited by

            So the general solution here seems to be:

            The 64-bit version of Notepad++ is pretty much useless for a lot of us (including myself.) Having a text editor be in 64-bit doesn’t help me much, there are no really killer new features that have been added, and I can emulate a 32-bit program pretty easily on my system.

            I’m not sure why anybody uses the 64-bit version, honestly. Just download and install the old 32-bit version - I’m on 7.5.9 myself, and it works fine.

            I would be interested to hear if someone has some compelling argument for why 64-bit 7.6.6 is superior to 32-bit 7.5.9. I can’t see one.

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

              @Alan-Kilborn said:

              is there a way to bind to a keycombo with that plugin?

              You can record a macro while typing the formula (including the terminating ENTER key) and assign this macro to a keyboard shortcut afterwards.

              Meta ChuhM Alan KilbornA 2 Replies Last reply Reply Quote 1
              • Meta ChuhM
                Meta Chuh moderator @dinkumoil
                last edited by

                @dinkumoil

                i’ve just seen that nppcalc is apparently also not available for x64, and can not serve as a date workaround replacement for textfx on npp x64.
                is this correct ?

                dinkumoilD 1 Reply Last reply Reply Quote 2
                • dinkumoilD
                  dinkumoil @Meta Chuh
                  last edited by

                  @Meta-Chuh

                  You are right, I’ve completely missed the fact that the question of @amarand was about a x64 plugin. Sorry for that confusion.

                  1 Reply Last reply Reply Quote 3
                  • Alan KilbornA
                    Alan Kilborn @dinkumoil
                    last edited by

                    @dinkumoil said:

                    You can record a macro while typing the formula (including the terminating ENTER key) and assign this macro to a keyboard shortcut afterwards.

                    Ah…but then wouldn’t the original text of the “formula” stay as well? The whole NppCalc thing seems clunky, while in spirit it has some good ideas IMO…

                    nppcalc is apparently also not available for x64,

                    Yes, apparently another limiting factor.

                    I’m still thinking that Pythonscript, if people want to go to the trouble of installing it, offers the best and certainly the most customizable (as to time/date format) solution.

                    dinkumoilD 1 Reply Last reply Reply Quote 2
                    • Alan KilbornA
                      Alan Kilborn @Jeff Johnston
                      last edited by

                      @Jeff-Johnston said:

                      compelling argument for why 64-bit 7.6.6 is superior to 32-bit 7.5.9

                      I don’t think there is anything compelling… 64-bit is the future, though…so there’s that.

                      1 Reply Last reply Reply Quote 0
                      • dinkumoilD
                        dinkumoil @Alan Kilborn
                        last edited by

                        @Alan-Kilborn said:

                        but then wouldn’t the original text of the “formula” stay as well?

                        Yes it would, as I already wrote in my first NppCalc posting.

                        The whole NppCalc thing seems clunky, while in spirit it has some good ideas

                        I agree, it is somewhat like a half-baked Excel. But one can open a document in Npp and use it like some kind of dynamic notebook and as such NppCalc can be useful.

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

                          @Jeff-Johnston said:

                          compelling argument for why 64-bit 7.6.6 is superior

                          1. Though 64-bit still has an unreasonably-small file-size limit due to the old Scintilla component, you can still open larger files with Notepad++ 64-bit than with 32-bit
                          2. When you do File > Open Containing Folder… > Explorer / cmd, 32-bit Notepad++ will open the 32-bit explorer or cmd.exe window
                          3. When running any 32-bit application (like 32-bit Notepad++) in a 64-bit Windows OS, Windows will lie to you: https://docs.microsoft.com/en-us/windows/desktop/winprog64/file-system-redirector
                            • In NPP32 (or cmd.exe 32, or explorer.exe 32, or …), if you try to open a file in %windir%\system32 (which is where the 64bit windows system files go), it will actually open %windir%\syswow64, but will tell you that it’s system32.
                            • in NPP32, in order to edit a file that’s really in the 64bit system directory, you have to use the %windir%\sysnative alias
                          Alan KilbornA 1 Reply Last reply Reply Quote 2
                          • Jeff JohnstonJ
                            Jeff Johnston
                            last edited by

                            Really the only big thing in TextFX that I miss a whole lot in Notepad ++ 64 is TextFX > Tools > Sort, which has a lot of useful options (case-sensitive, case-insensitive) and allows you to sort UNIQUE to remove duplicates. Is there anything current that allows that?

                            Alan KilbornA 1 Reply Last reply Reply Quote 3
                            • Alan KilbornA
                              Alan Kilborn @Jeff Johnston
                              last edited by

                              @Jeff-Johnston

                              Notepad++ itself has some sorting options (though “case” criterion isn’t there) in the Edit menu’s Line Operations area. A recent (7.6.x) Notepad++ has a Remove Consecutive Duplicate Lines command, which could be used after a sort, to replicate the TextFX “unique sort” feature you described.

                              Jeff JohnstonJ 1 Reply Last reply Reply Quote 3
                              • Alan KilbornA
                                Alan Kilborn @PeterJones
                                last edited by

                                @PeterJones

                                Not very compelling. :)

                                When you do File > Open Containing Folder… > Explorer / cmd, 32-bit Notepad++ will open the 32-bit explorer or cmd.exe window

                                I’m not sure about that one…doesn’t 64-bit Notepad++ open a 64-bit explorer or cmd window?

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

                                  @Alan-Kilborn said:

                                  I’m not sure about that one…doesn’t 64-bit Notepad++ open a 64-bit explorer or cmd window?

                                  Yes. And I never see a good reason for not using 64-bit explorer or cmd window. And when 32-bit notepad++ opens a 32-bit explorer or cmd, then explorer/cmd are back to lying to me (#3). I really don’t like that Windows lies to me.

                                  Alan KilbornA 1 Reply Last reply Reply Quote 2
                                  • Alan KilbornA
                                    Alan Kilborn @PeterJones
                                    last edited by

                                    @PeterJones said:

                                    I really don’t like that Windows lies to me.

                                    Yeah. Do you really edit text files in those areas all that often though?

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

                                      @Alan-Kilborn said:

                                      all that often

                                      Not really, no. It’s the principle of the thing. ;-)

                                      My list above, plus your “64-bit is the future”, was compelling enough for me to make the switch to 64-bit some time back. And it’s compelling enough to show 64-bit is superior… but for some users (especially those who use the special features of TextFX, or of other not-yet-converted plugins), there are still good reasons for staying on 32-bit. Each user needs to weigh the pros and cons, and make an informed decision.

                                      1 Reply Last reply Reply Quote 2
                                      • Jeff JohnstonJ
                                        Jeff Johnston @Alan Kilborn
                                        last edited by

                                        @Alan-Kilborn - That’s very nice, thanks! In that case I think I’ll use 64-bit Notepad++.

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