HTML/JavaScript/CSS syntax highlighting within Perl. Pleeeeeease! ;-)

  • Advertisement ( why? )
     

    Wishmaster, 19th Feb 2015 9:44 am

    I used "Allaire/Macromedia Homesite" for nearly 20 years now.
    But it already had problems with Windows 7 and uses to crash an Windows 8 on a regular basis. :(

    So I'm switching to HTML-Kit Tools after looking for a replacement for a long time and testing several editors.

    There is only 1 feature I'm missing so badly:
    HTML/JavaScript/CSS syntax highlighting within Perl-code.

    If it's not a server-only script (and even in there can be HTML-Code used), websites made with Perl also include HTML/JavaScript/CSS.
    But with Perl as syntax highlighter, all this is not highlighted. :(

    a quick example:

    how it looks like in HTML-Kit:
    http://gyazo.com/8d6d5b740a7da643a04973794380a87b

    how it should look like:
    http://gyazo.com/dd3b2a4442e8a93e9e4c66f22c4c5fb2

    .. and working "Taq insight" and Tag-completion, like:
    http://gyazo.com/5171f3883fe43c367e4aa2a3da289c09

    I have not yet found an other editor or IDE that can do that, except Homesite.

    I really wish, there is any way, this can be accomplished with HTML-Kit Tools. :)

    • Wishmaster, 19th Feb 2015 9:45 am

      Sorry, double-post.
      (you should take care of double-clicks on the "create topic" button. ;-)

      • HTML-Kit Support, 19th Feb 2015 10:10 am

        On 2/19/2015 9:45 AM, Wishmaster wrote:

        Sorry, double-post.

        No biggie.

        (you should take care of double-clicks on the "create topic" button.
        ;-)

        True. Oh the irony of writing tools that help others create websites and
        not creating a great site for those tools :)

        Chami

    • HTML-Kit Support, 19th Feb 2015 10:03 am

      On 2/19/2015 9:44 AM, Wishmaster wrote:

      I used "Allaire/Macromedia Homesite" for nearly 20 years now.
      But it already had problems with Windows 7 and uses to crash an
      Windows 8 on a regular basis. :(

      So I'm switching to HTML-Kit Tools after looking for a replacement
      for a long time and testing several editors.

      I know that switching frequently used programs is a pain. I appreciate
      your kind words and hope HTML-Kit Tools becomes a good fit for you.

      There is only 1 feature I'm missing so badly:
      HTML/JavaScript/CSS syntax highlighting within Perl-code.

      If it's not a server-only script (and even in there can be HTML-Code
      used), websites made with Perl also include HTML/JavaScript/CSS.
      But with Perl as syntax highlighter, all this is not highlighted. :(

      a quick example:

      how it looks like in HTML-Kit:
      http://gyazo.com/8d6d5b740a7da643a04973794380a87b

      how it should look like:
      http://gyazo.com/dd3b2a4442e8a93e9e4c66f22c4c5fb2

      .. and working "Taq insight" and Tag-completion, like:
      http://gyazo.com/5171f3883fe43c367e4aa2a3da289c09

      I have not yet found an other editor or IDE that can do that, except
      Homesite.

      I really wish, there is any way, this can be accomplished with
      HTML-Kit Tools. :)

      So as you've hinted in the other thread, I wouldn't be able to implement
      this at Alt+Tab speed :) but I've noted of your request.

      Although not a perfect solution, toggling the Colorizer Type between
      Perl and HTML might help in some cases. There's a shortcut for this on
      the Status Bar.

      Chami

      • Wishmaster, 19th Feb 2015 12:18 pm

        True. Oh the irony of writing tools that help others create websites and not creating a great site for those tools :)
        I know this! ;-)
        You better don't have a look at my own website! o_O

        b.t.w. is there anywhere any description on how to format posts in the forums like quoting?

        I know that switching frequently used programs is a pain.
        .. in the a... ;-)
        You name it!
        It's like Perl as a programming language. It's not the easiest and some might be irritated of the syntax, but If you know something very long and you are good at it, it's the best choice for yourself.

        ...this at Alt+Tab speed
        :D

        but I've noted of your request
        Thanks a lot!
        Perhaps you will get an idea on how to implement this easy.

        Although not a perfect solution, toggling the Colorizer Type between...
        This can help when editing, but will not when scrolling through hundreds or even thousands lines of code, where correct syntax highlighting makes it much easier to find what you are looking for.

        • HTML-Kit Support, 19th Feb 2015 12:46 pm

          On 2/19/2015 12:18 PM, Wishmaster wrote:

          True. Oh the irony of writing tools that help others create
          websites and not creating a great site for those tools :)

          I know this! ;-)
          You better don't have a look at my own website! o_O

          :) just glad to be able to share the feeling!

          b.t.w. is there anywhere any description on how to format posts in
          the forums like quoting?

          The thing with this forum is that it's a custom hybrid of a NNTP
          newsgroup and a web forum. So it's best to use plain text. Please add a
          newline to separate quoted text and the reply, otherwise the web
          formatter gets confused and thinks it's all one paragraph.

          I know that switching frequently used programs is a pain.

          .. in the a... ;-)
          You name it!
          It's like Perl as a programming language. It's not the easiest and
          some might be irritated of the syntax, but If you know something
          very long and you are good at it, it's the best choice for yourself.

          Yep! Perl was my first cross-platform scripting language. I happily used
          it for all server-side things and command-line things locally. On the
          other hand, it's not the easiest language to colorize because it doesn't
          really have a formal specification :)

          ...this at Alt+Tab speed

          :D

          but I've noted of your request

          Thanks a lot!
          Perhaps you will get an idea on how to implement this easy.

          Although not a perfect solution, toggling the Colorizer Type between...

          This can help when editing, but will not when scrolling through
          hundreds or even thousands lines of code, where correct syntax
          highlighting makes it much easier to find what you are looking for.

          I understand, you'd have to switch between the two colorizers at the moment.

          Just a couple of things I use when editing long files...

          • Ctrl+F2 to bookmark important lines / placehoders, then click "Line"
            shortcut on the Status Bar to quickly jump to them

          • "View > Window > Duplicate Document View" menu option, and press +/-
            while Ctrl key is down to change font size in the second view

          Chami