Thursday, July 7, 2005

Creating XHTML in SubEthaEdit


I had just started playing with TextWrangler, and then I saw this post that describes a very cool feature of SubEthaEdit.  Since SubEthaEdit will colorize text,  now you can make this available in xhtml.


In the Edit menu, there is a menu item named "Copy As XHTML".  This will put the XHTML in your clipboard.  The result will look something like:



<?php

    include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
    include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
    include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
    
    /**
     * implements notification of
     */

    class PluginSiteMap extends PluginBase
    {
        var $pluginEnabled;
        var $cacheFolder;



[via Paint The Tiger]


Technorati Tags: , , ,