Jump to content

mikelopez

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by mikelopez

  1. Mike Lopez here.  Am from the Philippines but working at home for a US-based company.  Married with 3 kids (which means I need to work really hard).  I'm also a blogger and I maintain a bunch of blogs on different topics.

     

    I've been coding for almost 10 years now and though many admire my acquired talents, I still think that I still need to learn more - perhaps through the help of you guys. :)

     

    Found this forum while trying to find for a solution for a problem with Bluefish's syntax highlighting for PHP strings defined the HEREDOC way.  This is the particular post that got me in:

    http://www.phpfreaks.com/forums/index.php/topic,123419.msg1065693.html#msg1065693

     

    Cheers!

  2. You're correct, Bluefish doesn't have a syntax highlighting rule for HEREDOC. However, this can be hacked around. I say "hacked" because it is, indeed, a hack - and a dirty one at that. Here's how to do it, in the event that you decide to use Bluefish, and the lack of HEREDOC highlighting is getting to you.

     

    Edit > Preferences > Syntax Highlighting

    ...

     

    I got my Bluefish PHP HEREDOC syntax highlighting working this way:

     

    How to Add HEREDOC Syntax Highlighting for PHP in Bluefish

     

    Works great!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.