• Login
Community
  • Login

Preview Plugin

Scheduled Pinned Locked Moved General Discussion
44 Posts 6 Posters 26.1k 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.
  • S
    Steve LaLonde
    last edited by Mar 15, 2019, 12:05 AM

    @Meta-Chuh said:

    open the plugins folder inside.
    create a folder called PreviewHTML

    On third party site page, the above instructions were left out.
    Instruction stated just copy to the plugins folder which does not work.

    I just went through the normal installation and applied your instruction.
    It worked.

    Thanks again
    Steve

    1 Reply Last reply Reply Quote 1
    • A
      andrecool-68
      last edited by andrecool-68 Mar 15, 2019, 3:02 PM Mar 15, 2019, 3:01 PM

      I tried to compile the plugin for 64 bits, that’s what happened
      http://rgho.st/7nfxx68BB
      Truth icons in menu there is no.

      M 1 Reply Last reply Mar 15, 2019, 3:37 PM Reply Quote 2
      • A
        andrecool-68
        last edited by Mar 15, 2019, 3:09 PM

        It is necessary to contact the author of this plugin, that he himself would correct the project for 64 bit.

        1 Reply Last reply Reply Quote 1
        • M
          Meta Chuh moderator @andrecool-68
          last edited by Mar 15, 2019, 3:37 PM

          @andrecool-68

          you did not just try to compile PreviewHTML for x64 …
          YOU HAVE SUCCESSFULLY COMPILED PreviewHTML for x64 !!!

          i think the missing PreviewHTML toolbar icon on x64 is no big deal, as users can use [ctrl]+[shift]+[h] to switch PreviewHTML on and off.

          this is very cool … it’s andrecool-68 ;-)
          thanks for sharing.

          A 1 Reply Last reply Mar 15, 2019, 3:43 PM Reply Quote 3
          • A
            andrecool-68 @Meta Chuh
            last edited by Mar 15, 2019, 3:43 PM

            @Meta-Chuh
            I sometimes compile other people’s plugins for the sake of experiment with Russian localization, but I am very far from this programming)))

            1 Reply Last reply Reply Quote 1
            • P
              PeterJones
              last edited by PeterJones Mar 15, 2019, 3:52 PM Mar 15, 2019, 3:51 PM

              @andrecool-68 ,

              It is necessary to contact the author of this plugin

              You mean like this ticket , which the author has had open since July of 2017?

              According to the code history , the author has touched the codebase since the ticket was placed (and since I commented on that ticket), but there has not yet been a 64-bit release.

              While waiting for that, I created my pyscfilteredviewer . It’s not quite as integrated as the PreviewHTML plugin, nor quite as automated (it uses your default browser; it cannot update based on the edited-but-not-saved, and it cannot force your browser to refresh), but for me, it’s a viable workaround until such time as PreviewHTML is released 64-bit.

              I just pinged that ticket again, since it had been more than a year since my last ping. Maybe if everyone in this thread pinged it, too, it might get done.

              A 1 Reply Last reply Mar 15, 2019, 4:02 PM Reply Quote 2
              • P
                PeterJones
                last edited by Mar 15, 2019, 3:53 PM

                Maybe if everyone in this thread pinged it, too, it might get done.

                As an addendum: @andrecool-68 : since you were able to compile it 64-bit, your input for the developer would probably go a long way! Please chime in on that ticket! 🙏

                1 Reply Last reply Reply Quote 1
                • A
                  andrecool-68 @PeterJones
                  last edited by Mar 15, 2019, 4:02 PM

                  @PeterJones said:

                  You mean like this ticket , which the author has had open since July of 2017?

                  Honestly, I have not seen this page)))
                  I just downloaded the sources and compiled the project by adding the option 64 bits to the properties of the project.

                  1 Reply Last reply Reply Quote 2
                  • P
                    PeterJones
                    last edited by Mar 15, 2019, 4:05 PM

                    @andrecool-68 said:

                    I just downloaded the sources and compiled the project by adding the option 64 bits to the properties of the project.

                    Well then, plesae add a note to the ticket that tells the author how easy it is, in your experience. 🙏

                    M A 2 Replies Last reply Mar 15, 2019, 4:33 PM Reply Quote 1
                    • M
                      Meta Chuh moderator @PeterJones
                      last edited by Mar 15, 2019, 4:33 PM

                      @PeterJones

                      does the x64 version that @andrecool-68 compiled, not suffice the current needs ?
                      is the missing toolbar button really that important ?
                      or have i missed something while i was testing ?

                      1 Reply Last reply Reply Quote 1
                      • P
                        PeterJones
                        last edited by Mar 15, 2019, 4:42 PM

                        Some IT groups block such a URL.

                        Also, for helping others, I don’t really like saying “go to this official location to download the 32-bit; but to get the 64-bit, you have to go to this other file-hosting URL”

                        1 Reply Last reply Reply Quote 1
                        • P
                          PeterJones
                          last edited by Mar 15, 2019, 5:13 PM

                          I was able to get a copy. It crashes my Notepad++ when I try to run it.

                          Notepad++ v7.6.3   (64-bit)
                          Build time : Jan 27 2019 - 17:16:47
                          Path : C:\usr\local\apps\notepad++\notepad++.exe
                          Admin mode : OFF
                          Local Conf mode : ON
                          OS : Windows 10 (64-bit)
                          Plugins : ComparePlugin.dll DSpellCheck.dll MarkdownViewerPlusPlus.dll mimeTools.dll NppConverter.dll NppExec.dll NppFTP.dll PreviewHTML.dll PythonScript.dll XMLTools.dll 
                          
                          M 1 Reply Last reply Mar 15, 2019, 5:44 PM Reply Quote 1
                          • A
                            andrecool-68 @PeterJones
                            last edited by Mar 15, 2019, 5:28 PM

                            @PeterJones
                            It’s better for me to use a browser than with a similar plugin, in the browser it is very convenient to edit styles. And immediately visible results. All of these plugins work as a help file on the core of Internet Explorer)))

                            1 Reply Last reply Reply Quote 2
                            • M
                              Meta Chuh moderator @PeterJones
                              last edited by Meta Chuh Mar 15, 2019, 5:49 PM Mar 15, 2019, 5:44 PM

                              @PeterJones

                              Also, for helping others, I don’t really like saying “go to this official location to download the 32-bit; but to get the 64-bit, you have to go to this other file-hosting URL”

                              correct, i just meant for or our own usage, or if someone wants to experiment on it.
                              if it will become of larger interest, and the author does not continue his development, someone could host it at github, some day, or fork the entire project.

                              I was able to get a copy. It crashes my Notepad++ when I try to run it.

                              i did not experience any crashes yet, and it seems to run fine.
                              just an access violation alert if i click on the ?or choose about from the plugin’s menu. (see screenshot)
                              i will test on other machines and windows 10 later if you like.

                              Imgur

                              most important, if someone might worry:

                              here are the virus total results:
                              (it’s completely clean)

                              file name: PreviewHTML.dll
                              scan result: https://www.virustotal.com/#/file/52d281942a5b47b54f62a70c2233da9a564184db25e2a73721b1ba491f9b97cc/detection
                              detection: 0/67

                              1 Reply Last reply Reply Quote 1
                              • A
                                andrecool-68
                                last edited by Mar 15, 2019, 10:40 PM

                                Added compression UPX
                                Preview HTML 64bit http://rgho.st/6YCkZxbL2

                                Anyway an error pops up in the About Preview HTML window:

                                Access violation at address 0000000004BB01B0 in module 'PreviewHTML.dll'. Read of address 0000000000000010.

                                When building 32 bit of this error is not, the icon in the menu is present.

                                1 Reply Last reply Reply Quote 1
                                • A
                                  andrecool-68
                                  last edited by Mar 15, 2019, 10:49 PM

                                  The author recommends the version of Delphi 10.2 Tokyo
                                  I have installed Delphi 10.1 Berlin …Could this be the cause of this error?

                                  1 Reply Last reply Reply Quote 1
                                  • E
                                    Ekopalypse
                                    last edited by Mar 15, 2019, 11:03 PM

                                    I’m not a delphi developer but in general a issue which happens
                                    in a 64bit build but doesn’t occur in a 32bit build might be a integer size problem
                                    especially when something like access violation comes into place.

                                    Might I ask why not using a real browser instead? I mean, a real browser
                                    supports so much more than an ancient html plugin can offer in these days.
                                    I assume it is something obvious which I haven’t understood yet. :-)

                                    M 1 Reply Last reply Mar 15, 2019, 11:12 PM Reply Quote 3
                                    • M
                                      Meta Chuh moderator @Ekopalypse
                                      last edited by Meta Chuh Mar 15, 2019, 11:13 PM Mar 15, 2019, 11:12 PM

                                      @Ekopalypse

                                      ahhh, you haven’t followed this.

                                      yes, a browser is better, @andrecool-68 has already said that, but he started to play around with it, compiling it to x64, and then we got to know that @PeterJones is also using this plugin … so here we are. 😉

                                      note: the o.p. is already satisfied as he installed and uses notepad++ 32 bit now.

                                      E 1 Reply Last reply Mar 15, 2019, 11:17 PM Reply Quote 2
                                      • E
                                        Ekopalypse @Meta Chuh
                                        last edited by Mar 15, 2019, 11:17 PM

                                        @Meta-Chuh

                                        you’re right :-) - some kind of tldr :-D
                                        But I don’t get what the benefit is?
                                        Does this plugin update while you are coding a html page?
                                        Or just after pressing save file? If the latter is the case then a macro/script
                                        which does save/file - run in browser might do the same, doesn’t it?

                                        M 1 Reply Last reply Mar 15, 2019, 11:26 PM Reply Quote 2
                                        • M
                                          Meta Chuh moderator @Ekopalypse
                                          last edited by Meta Chuh Mar 15, 2019, 11:27 PM Mar 15, 2019, 11:26 PM

                                          @Ekopalypse

                                          loooool … tltr … coming from your turbo fingers 😉

                                          Does this plugin update while you are coding a html page?
                                          Or just after pressing save file? If the latter is the case then a macro/script
                                          which does save/file - run in browser might do the same, doesn’t it?

                                          not even one of this.
                                          somehow the o.p. wanted specifically this plugin.
                                          it does not auto refresh.
                                          it does not make a live preview, the data has to be saved first.
                                          if you save, it does not trigger a refresh.
                                          so it’s pretty crude for an integrated plugin, imho.

                                          but for me it’s nice to see, that things that we don’t need at all, can become a playground.
                                          maybe this is the same for andre, and that’s why he compiled something he would probably never use himself.

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