[228920] adding keyboard shortcuts
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.ditamap b/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.ditamap
index 58ca8f3..88a77ee 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.ditamap
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.ditamap
@@ -2,7 +2,7 @@
 <!--Arbortext, Inc., 1988-2006, v.4002-->

 <!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN"

  "map.dtd">

-<map collection-type="sequence" title="DTD Editor">

+<map collection-type="sequence" id="dtdeditorTOC" title="DTD Editor">

 <topicref href="topics/cworkdtds.dita" navtitle="Working with DTDs" type="concept">

 <anchor id="dtd_post_cworkdtds"/>

 <topicref href="topics/tcretdtd.dita" linking="normal" navtitle="Creating DTDs"

@@ -25,5 +25,8 @@
 <anchor id="dtd_post_tvaldtd"/>

 <topicref href="topics/rdtdicons.dita" navtitle="Icons used in the DTD editor"

 type="reference"></topicref>

-<anchor id="dtd_post_rdtdicons"/></topicref>

+<anchor id="dtd_post_rdtdicons"/>

+<topicref href="topics/rdtdkey.dita" navtitle="DTD editor keyboard shortcuts"

+type="reference"></topicref>

+<anchor id="dtd_post_rdtdkey"/></topicref>

 </map>

diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.xml b/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.xml
index 34fc3a6..105d988 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.xml
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/DTDEditormap_toc.xml
@@ -20,5 +20,7 @@
 <anchor id="dtd_post_tvaldtd"/>
 <topic label="Icons used in the DTD editor" href="topics/rdtdicons.html"/>
 <anchor id="dtd_post_rdtdicons"/>
+<topic label="DTD editor keyboard shortcuts" href="topics/rdtdkey.html"/>
+<anchor id="dtd_post_rdtdkey"/>
 </topic>
 </toc>
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/DocBuild.xml b/docs/org.eclipse.wst.dtdeditor.doc.user/DocBuild.xml
index 7599ca5..69f3f74 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/DocBuild.xml
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/DocBuild.xml
@@ -23,6 +23,9 @@
 	- Created.
 	2008-01-09 Kate Price <katep@ca.ibm.com>
 	- modified for new DITA-OT version
+	2008-05-05 Kate Price <katep@ca.ibm.com>
+	- modified to add generation of pre-built help index. 
+	- Must delete /index folder before running build
 -->
 <project name="eclipsehelp" default="all">
 
@@ -47,7 +50,7 @@
 			<property name="args.copycss" value="no" />
 			<property name="args.csspath" value="../org.eclipse.wst.doc.user" />
 			<property name="args.eclipse.provider" value="Eclipse.org" />
-			<property name="args.eclipse.version" value="1.5.0" />
+			<property name="args.eclipse.version" value="3.3.0" />
 			<property name="args.input" location="DTDEditormap_toc.ditamap" />    		
 			<property name="clean.temp" value="true" />
 			<property name="dita.extname" value=".dita" />
@@ -57,4 +60,7 @@
 		</ant>
 		<copy file="myplugin.xml" tofile="plugin.xml" overwrite="yes" />
 	</target>
+	<target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
+	     <help.buildHelpIndex manifest="plugin.xml" destination="."/>
+	</target>
 </project>
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/org.eclipse.wst.dtdeditor.doc.userindex.html b/docs/org.eclipse.wst.dtdeditor.doc.user/org.eclipse.wst.dtdeditor.doc.userindex.html
deleted file mode 100644
index 993d81a..0000000
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/org.eclipse.wst.dtdeditor.doc.userindex.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
-  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html lang="en-us" xml:lang="en-us">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="copyright" content="(C) Copyright IBM Corporation 2007" />
-<meta name="security" content="public" />
-<meta name="Robots" content="index,follow" />
-<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
-<meta name="DC.Format" content="XHTML" />
-<!-- All rights reserved. Licensed Materials Property of IBM -->
-<!-- US Government Users Restricted Rights -->
-<!-- Use, duplication or disclosure restricted by -->
-<!-- GSA ADP Schedule Contract with IBM Corp. -->
-<link rel="stylesheet" type="text/css" href="ibmdita.css" />
-<title>Index</title>
-</head>
-<body>
-<h1>Index</h1>
-<strong>D</strong>
-<ul class="indexlist">
-<li>DTD
-<ul class="indexlist">
-<li><a href="topics/tcretdtd.html#tcretdtd">creating</a>
-</li>
-<li><a href="topics/tdtemplt.html#twmacro">creating templates</a>
-</li>
-<li><a href="topics/rdtdicons.html#ricons">editor icons</a>
-</li>
-<li><a href="topics/tedtsrcst.html#ttaghilt">highlighting styles</a>
-</li>
-<li><a href="topics/timptdtd.html#timptdtd">importing</a>
-</li>
-<li><a href="topics/cdtdover.html#cdtdover">overview</a>
-</li>
-<li><a href="topics/tvaldtd.html#tvaldtd">validating</a>
-</li>
-</ul>
-</li>
-</ul>
-<strong>T</strong>
-<ul class="indexlist">
-<li>templates
-<ul class="indexlist">
-<li><a href="topics/tdtemplt.html#twmacro">DTD</a>
-</li>
-</ul>
-</li>
-</ul>
-<strong>X</strong>
-<ul class="indexlist">
-<li>XML editor
-<ul class="indexlist">
-<li><a href="topics/tedtsrcst.html#ttaghilt">DTD highlighting styles</a>
-</li>
-</ul>
-</li>
-</ul>
-</body></html>
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cdtdover.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cdtdover.html
index fa1219c..f5fe237 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cdtdover.html
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cdtdover.html
@@ -13,7 +13,7 @@
 <meta name="description" content="A document type definition (DTD) provides you with the means to validate XML files against a set of rules. When you create a DTD file, you can specify rules that control the structure of any XML files that reference the DTD file." />
 <meta content="DTD, overview" name="DC.subject" />
 <meta content="DTD, overview" name="keywords" />
-<meta scheme="URI" name="DC.Relation" content="../topics/tvaldtd.html" />
+<meta scheme="URI" name="DC.Relation" content="../topics/tcretdtd.html" />
 <meta content="XHTML" name="DC.Format" />
 <meta content="cdtdover" name="DC.Identifier" />
 <meta content="en-us" name="DC.Language" />
@@ -52,8 +52,9 @@
 
 </div>
 
-<div><div class="reltasks"><strong>Related tasks</strong><br />
-<div><a href="../topics/tvaldtd.html" title="Validating a DTD file lets you verify that it is well formed and does not contain any errors.">Validating DTDs</a></div>
+<div>
+<div class="familylinks">
+<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tcretdtd.html" title="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it manually, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file.">Creating DTDs</a></div>
 </div>
 </div>
 
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cworkdtds.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cworkdtds.html
index f9a41ac..b2478b4 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cworkdtds.html
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/cworkdtds.html
@@ -15,6 +15,7 @@
 <meta scheme="URI" name="DC.Relation" content="../topics/timptdtd.html" />
 <meta scheme="URI" name="DC.Relation" content="../topics/tvaldtd.html" />
 <meta scheme="URI" name="DC.Relation" content="../topics/rdtdicons.html" />
+<meta scheme="URI" name="DC.Relation" content="../topics/rdtdkey.html" />
 <meta content="XHTML" name="DC.Format" />
 <meta content="workingwithdtds" name="DC.Identifier" />
 <meta content="en-us" name="DC.Language" />
@@ -40,6 +41,8 @@
 Validating a DTD file lets you verify that it is well formed and does not contain any errors.</li>
 <li class="ulchildlink"><strong><a href="../topics/rdtdicons.html">Icons used in the DTD editor</a></strong><br />
 These DTD editor icons appear in the Outline view.</li>
+<li class="ulchildlink"><strong><a href="../topics/rdtdkey.html">DTD editor keyboard shortcuts</a></strong><br />
+</li>
 </ul>
 </div>
 
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.dita b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.dita
new file mode 100644
index 0000000..d875cca
--- /dev/null
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.dita
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>

+<!--Arbortext, Inc., 1988-2006, v.4002-->

+<!DOCTYPE reference  PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">

+<reference id="keyboardshortcutsinthedtdeditor" xml:lang="en-us">

+<title outputclass="id_title">DTD editor keyboard shortcuts<?Pub Caret?></title>

+<shortdesc outputclass="id_shortdesc"></shortdesc>

+<prolog><metadata>

+<keywords></keywords>

+</metadata></prolog>

+<refbody>

+<table frame="all">

+<tgroup cols="2">

+<?PubTbl tgroup dispwid="680.00px"?>

+<colspec colname="col1" colwidth="84*"/><colspec colname="col3" colwidth="93*"/>

+<thead>

+<row valign="bottom">

+<entry colname="col1">Key Combination</entry>

+<entry colname="col3">Function</entry>

+</row>

+</thead>

+<tbody>

+<row>

+<entry colname="col1">Shift+Alt+Up Arrow</entry>

+<entry colname="col3">Expand selection to enclosing element</entry>

+</row>

+<row>

+<entry colname="col1">Shift+Alt+Right Arrow</entry>

+<entry colname="col3">Expand selection to next element</entry>

+</row>

+<row>

+<entry colname="col1">Shift+Alt+Left Arrow</entry>

+<entry colname="col3">Expand selection to previous element</entry>

+</row>

+<row>

+<entry colname="col1">Shift+Alt+Down Arrow</entry>

+<entry colname="col3">Restore last selection</entry>

+</row>

+<row>

+<entry colname="col1">Ctrl+Shift+P</entry>

+<entry colname="col3">Go to matching bracket</entry>

+</row>

+</tbody>

+</tgroup>

+</table>

+</refbody>

+</reference>

+<?Pub *0000001431?>

diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.html
new file mode 100644
index 0000000..8d672e3
--- /dev/null
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/rdtdkey.html
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html lang="en-us" xml:lang="en-us">
+<head>
+<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+<meta name="copyright" content="Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
+<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
+<meta content="public" name="security" />
+<meta content="index,follow" name="Robots" />
+<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
+<meta content="reference" name="DC.Type" />
+<meta name="DC.Title" content="DTD editor keyboard shortcuts" />
+<meta name="abstract" content="" />
+<meta name="description" content="" />
+<meta scheme="URI" name="DC.Relation" content="../topics/cworkdtds.html" />
+<meta content="XHTML" name="DC.Format" />
+<meta content="keyboardshortcutsinthedtdeditor" name="DC.Identifier" />
+<meta content="en-us" name="DC.Language" />
+<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
+<title>DTD editor keyboard shortcuts</title>
+</head>
+<body id="keyboardshortcutsinthedtdeditor"><a name="keyboardshortcutsinthedtdeditor"><!-- --></a>
+
+
+<h1 class="id_title">DTD editor keyboard shortcuts</h1>
+
+
+
+<div><p class="id_shortdesc" />
+
+
+<div class="tablenoborder"><table summary="" cellspacing="0" cellpadding="4" frame="border" border="1" rules="all">
+
+
+<thead align="left">
+<tr valign="bottom">
+<th valign="bottom" width="47.45762711864407%" id="N10053">Key Combination</th>
+
+<th valign="bottom" width="52.54237288135594%" id="N1005A">Function</th>
+
+</tr>
+
+</thead>
+
+<tbody>
+<tr>
+<td valign="top" width="47.45762711864407%" headers="N10053 ">Shift+Alt+Up Arrow</td>
+
+<td valign="top" width="52.54237288135594%" headers="N1005A ">Expand selection to enclosing element</td>
+
+</tr>
+
+<tr>
+<td valign="top" width="47.45762711864407%" headers="N10053 ">Shift+Alt+Right Arrow</td>
+
+<td valign="top" width="52.54237288135594%" headers="N1005A ">Expand selection to next element</td>
+
+</tr>
+
+<tr>
+<td valign="top" width="47.45762711864407%" headers="N10053 ">Shift+Alt+Left Arrow</td>
+
+<td valign="top" width="52.54237288135594%" headers="N1005A ">Expand selection to previous element</td>
+
+</tr>
+
+<tr>
+<td valign="top" width="47.45762711864407%" headers="N10053 ">Shift+Alt+Down Arrow</td>
+
+<td valign="top" width="52.54237288135594%" headers="N1005A ">Restore last selection</td>
+
+</tr>
+
+<tr>
+<td valign="top" width="47.45762711864407%" headers="N10053 ">Ctrl+Shift+P</td>
+
+<td valign="top" width="52.54237288135594%" headers="N1005A ">Go to matching bracket</td>
+
+</tr>
+
+</tbody>
+
+</table>
+</div>
+
+</div>
+
+<div>
+<div class="familylinks">
+<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/cworkdtds.html" title="This sections contains information on the following:">Working with DTDs</a></div>
+</div>
+</div>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tcretdtd.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tcretdtd.html
index 8bea72e..8746881 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tcretdtd.html
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tcretdtd.html
@@ -13,8 +13,7 @@
 <meta name="description" content="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it manually, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file." />
 <meta content="DTD, creating" name="DC.subject" />
 <meta content="DTD, creating" name="keywords" />
-<meta scheme="URI" name="DC.Relation" content="../topics/cdtdover.html" />
-<meta scheme="URI" name="DC.Relation" content="../topics/tdtemplt.html" />
+<meta scheme="URI" name="DC.Relation" content="../topics/cworkdtds.html" />
 <meta content="XHTML" name="DC.Format" />
 <meta content="tcretdtd" name="DC.Identifier" />
 <meta content="en-us" name="DC.Language" />
@@ -77,11 +76,9 @@
 
 </div>
 
-<div><div class="relconcepts"><strong>Related concepts</strong><br />
-<div><a href="../topics/cdtdover.html" title="A document type definition (DTD) provides you with the means to validate XML files against a set of rules. When you create a DTD file, you can specify rules that control the structure of any XML files that reference the DTD file.">Document type definitions (DTDs) - overview</a></div>
-</div>
-<div class="reltasks"><strong>Related tasks</strong><br />
-<div><a href="../topics/tdtemplt.html" title="Templates are a chunk of predefined code that you can insert into a DTD file when it is created. You may find a template useful when you have a certain piece of code you want to reuse several times, and you do not want to write it out every time.">Working with DTD templates</a></div>
+<div>
+<div class="familylinks">
+<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/cworkdtds.html" title="This sections contains information on the following:">Working with DTDs</a></div>
 </div>
 </div>
 
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html
index dc3bd0d..1cafc39 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tdtemplt.html
@@ -73,8 +73,9 @@
 
 </div>
 
-<div><div class="reltasks"><strong>Related tasks</strong><br />
-<div><a href="../topics/tcretdtd.html" title="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it manually, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file.">Creating DTDs</a></div>
+<div>
+<div class="familylinks">
+<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/tcretdtd.html" title="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it manually, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file.">Creating DTDs</a></div>
 </div>
 </div>
 
diff --git a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tvaldtd.html b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tvaldtd.html
index a785e09..7c6e64d 100644
--- a/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tvaldtd.html
+++ b/docs/org.eclipse.wst.dtdeditor.doc.user/topics/tvaldtd.html
@@ -13,6 +13,7 @@
 <meta name="description" content="Validating a DTD file lets you verify that it is well formed and does not contain any errors." />
 <meta content="DTD, validating" name="DC.subject" />
 <meta content="DTD, validating" name="keywords" />
+<meta scheme="URI" name="DC.Relation" content="../topics/cworkdtds.html" />
 <meta scheme="URI" name="DC.Relation" content="../../org.eclipse.jst.j2ee.doc.user/topics/tjval.html" />
 <meta content="XHTML" name="DC.Format" />
 <meta content="tvaldtd" name="DC.Identifier" />
@@ -55,7 +56,11 @@
 
 </div>
 
-<div><div class="relinfo"><strong>Related information</strong><br />
+<div>
+<div class="familylinks">
+<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/cworkdtds.html" title="This sections contains information on the following:">Working with DTDs</a></div>
+</div>
+<div class="relinfo"><strong>Related information</strong><br />
 <div><a href="../../org.eclipse.jst.j2ee.doc.user/topics/tjval.html" title="General validation information">../../org.eclipse.jst.j2ee.doc.user/topics/tjval.html</a></div>
 </div>
 </div>