syeshin | befd53e | 2005-07-27 18:16:40 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE html |
| 3 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 | <html> |
| 5 | <head> |
| 6 | <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| 7 | <title>Setting source highlighting styles</title> |
| 8 | <script language="JavaScript"> |
| 9 | function popup_window( url, id, width, height ) |
| 10 | { |
| 11 | popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| 12 | popup.focus(); |
| 13 | } |
| 14 | </script><script language="JavaScript" src="help/liveHelp.js"></script></head> |
| 15 | <body id="ttaghilt"><a name="ttaghilt"><!-- --></a> |
| 16 | |
| 17 | <h1 class="topictitle1">Setting source highlighting styles</h1> |
| 18 | <div><p>You can change how the XML source code is displayed in the Source |
| 19 | view of the XML editor. </p><div class="skipspace"><p>To set highlighting styles for the XML code, follow these steps:</p> |
| 20 | </div> |
| 21 | <ol><li><span>Click <span class="menucascade"><span class="uicontrol">Window</span> > <span class="uicontrol">Preferences</span> > <span class="uicontrol">Web and XML</span> > <span class="uicontrol">XML Files</span> > <span class="uicontrol"> XML |
| 22 | Styles</span></span>.</span></li> |
| 23 | <li><span>In the <span class="uicontrol">Content type</span> list, select the source |
| 24 | tag type that you wish to set a highlighting style for. You can also |
| 25 | click text in the sample text to specify the source tag type that you wish |
| 26 | to set a highlighting style for.</span></li> |
| 27 | <li><span>Click the <span class="uicontrol">Foreground</span> box.</span></li> |
| 28 | <li><span>Select the color that you want the text of the tag to appear in |
| 29 | and click <span class="uicontrol">OK</span>.</span></li> |
| 30 | <li><span>Click the<span class="uicontrol">Background</span> box.</span></li> |
| 31 | <li><span>Select the color that you want to appear behind the tag and click<span class="uicontrol">OK</span>. </span></li> |
| 32 | <li><span>Select the <span class="uicontrol">Bold</span> check box if you want to |
| 33 | make the type bold.</span></li> |
| 34 | <li><span>Click <span class="uicontrol">Restore Defaults</span> to set |
| 35 | the highlighting styles back to their default values.</span></li> |
| 36 | <li><span>Click <span class="uicontrol">OK</span> to save your changes. </span></li> |
| 37 | </ol> |
| 38 | |
| 39 | |
| 40 | <p> |
| 41 | (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| 42 | </p> |
| 43 | </body> |
| 44 | </html> |