Flash & AS3 info, source, & experiments
ig:Syntax Hiliter review
Well, it was fairly easy to setup with two minor complications. First, the installation instructions said extract the zip file into the wp-content/plugins directory, upload, and wallah. However, extracted folder is called “iG-Syntax Hiliter” which contains the folder “ig_syntax hiliter plugin.” It is actually this second folder that needs to reside in the plugins folder in order to work. The second hiccup was that when I tried to activate the plugin, it was looking for the “ig_syntax_hilite” folder in the plugins directory as well. Unfortunately this folder was in the plugins/”ig_syntax hiliter plugin” folder so I had to copy it over.
After these changes, everything worked fine. It was easy to use and configure from the wp-admin–>Options screen. Here’s what the code looks like:
[as]package
{
import flash.display.Sprite;
/**
* Test class
*
* @author Nate Chatellier
*/
public class MyTestClass extends Sprite
{
protected var _bMyVariable:Boolean;
/**
* Constructs the MyTestClass object.
*
* @param bMyVariable This is MY variable!
*/
public function MyTestClass(bMyVariable:Boolean)
{
_bMyVariable = bMyVariable;
} // END CONSTRUCTOR
} // END CLASS MyTestClass
} // END PACKAGE[/as]
I’m not the biggest fan with the default look. I may try to play with the settings or I may evaluate different highlighter options depending on whether I feel it’s needed. More soon…
| Print article | This entry was posted by Nate Chatellier on April 24, 2007 at 8:47 pm, and is filed under Tools & Utils. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |