kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 2 | <!--Arbortext, Inc., 1988-2006, v.4002-->
|
| 3 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
|
| 4 | "task.dtd">
|
| 5 | <?Pub Inc?>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 6 | <task id="ttaghilt" xml:lang="en-us">
|
| 7 | <title>Setting source highlighting styles</title>
|
| 8 | <titlealts>
|
| 9 | <searchtitle>Setting source highlighting styles</searchtitle>
|
| 10 | </titlealts>
|
| 11 | <shortdesc>If desired, you can change various aspects of how the XML source
|
| 12 | code is displayed in the Source view of the XML editor, such as the colors
|
| 13 | the tags will be displayed in.</shortdesc>
|
| 14 | <prolog><metadata>
|
| 15 | <keywords><indexterm>XML editor<indexterm>setting source highlighting styles</indexterm></indexterm>
|
| 16 | </keywords>
|
| 17 | </metadata></prolog>
|
| 18 | <taskbody>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 19 | <context><p>To set highlighting styles for the XML code, complete the following
|
| 20 | steps:</p></context>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 21 | <steps>
|
| 22 | <step><cmd>Click <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 23 | </menucascade> and select <menucascade><uicontrol>XML</uicontrol><uicontrol>XML
|
| 24 | Files</uicontrol><uicontrol> Syntax Coloring</uicontrol></menucascade>.</cmd>
|
| 25 | </step>
|
| 26 | <step><cmd>In the <uicontrol>Syntax Element</uicontrol> list, select the source
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 27 | tag type that you wish to set a highlighting style for. You can also click
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 28 | text in the <uicontrol>Sample text</uicontrol> box to specify the source tag
|
| 29 | type that you wish to set a highlighting style for.</cmd></step>
|
| 30 | <step><cmd>Click the <uicontrol>Foreground</uicontrol> box, select the color
|
| 31 | that you want the text of the tag to appear in, and click <uicontrol>OK</uicontrol>.</cmd>
|
| 32 | </step>
|
| 33 | <step><cmd>Click the <uicontrol>Background</uicontrol> box, select the color
|
| 34 | that you want to appear behind the tag, and click <uicontrol>OK</uicontrol>.</cmd>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 35 | </step>
|
| 36 | <step><cmd>Select the <uicontrol>Bold</uicontrol> check box if you want to
|
| 37 | make the type bold.</cmd></step>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 38 | <step><cmd> </cmd></step>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 39 | <step><cmd>Click <uicontrol>OK</uicontrol> to save your changes.</cmd></step>
|
| 40 | </steps>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 41 | <result>To set the highlight<?Pub Caret?>ing styles back to their default
|
| 42 | values, click <uicontrol>Restore Default</uicontrol>. If you only want to
|
| 43 | reset the value for a particular content type, select it in the <uicontrol>Syntax
|
| 44 | Element</uicontrol> field, then click the <uicontrol>Restore Default</uicontrol> button.</result>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 45 | </taskbody>
|
| 46 | </task>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 47 | <?Pub *0000002290?>
|