blob: 85a8914a46907182d56e90e3b2e59103ff5a2318 [file] [log] [blame]
kpriceef160682006-08-29 18:08:31 +00001<?xml version="1.0" encoding="utf-8"?>
kpriceb59c9f62008-04-02 21:24:37 +00002<!--Arbortext, Inc., 1988-2006, v.4002-->
3<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
4 "task.dtd">
5<?Pub Inc?>
kpriceef160682006-08-29 18:08:31 +00006<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
12code is displayed in the Source view of the XML editor, such as the colors
13the 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>
kpriceb59c9f62008-04-02 21:24:37 +000019<context><p>To set highlighting styles for the XML code, complete the following
20steps:</p></context>
kpriceef160682006-08-29 18:08:31 +000021<steps>
22<step><cmd>Click <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
kpriceb59c9f62008-04-02 21:24:37 +000023</menucascade> and select <menucascade><uicontrol>XML</uicontrol><uicontrol>XML
24Files</uicontrol><uicontrol> Syntax Coloring</uicontrol></menucascade>.</cmd>
25</step>
26<step><cmd>In the <uicontrol>Syntax Element</uicontrol> list, select the source
kpriceef160682006-08-29 18:08:31 +000027tag type that you wish to set a highlighting style for. You can also click
kpriceb59c9f62008-04-02 21:24:37 +000028text in the <uicontrol>Sample text</uicontrol> box to specify the source tag
29type that you wish to set a highlighting style for.</cmd></step>
30<step><cmd>Click the <uicontrol>Foreground</uicontrol> box, select the color
31that 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
34that you want to appear behind the tag, and click <uicontrol>OK</uicontrol>.</cmd>
kpriceef160682006-08-29 18:08:31 +000035</step>
36<step><cmd>Select the <uicontrol>Bold</uicontrol> check box if you want to
37make the type bold.</cmd></step>
kpriceb59c9f62008-04-02 21:24:37 +000038<step><cmd> </cmd></step>
kpriceef160682006-08-29 18:08:31 +000039<step><cmd>Click <uicontrol>OK</uicontrol> to save your changes.</cmd></step>
40</steps>
kpriceb59c9f62008-04-02 21:24:37 +000041<result>To set the highlight<?Pub Caret?>ing styles back to their default
42values, click <uicontrol>Restore Default</uicontrol>. If you only want to
43reset the value for a particular content type, select it in the <uicontrol>Syntax
44Element</uicontrol> field, then click the <uicontrol>Restore Default</uicontrol> button.</result>
kpriceef160682006-08-29 18:08:31 +000045</taskbody>
46</task>
kpriceb59c9f62008-04-02 21:24:37 +000047<?Pub *0000002290?>