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:
-
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
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...
