|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<sect1 id="mainwindow-section">
|
|
|
<sect1info>
|
|
|
<authorgroup>
|
|
|
<author
|
|
|
><firstname
|
|
|
>Keith</firstname
|
|
|
> <surname
|
|
|
>Isdale</surname
|
|
|
> <affiliation
|
|
|
> <address
|
|
|
><email
|
|
|
>k_isdale@tpg.com.au</email
|
|
|
></address>
|
|
|
</affiliation>
|
|
|
</author>
|
|
|
&traducteurRobertJacolin;
|
|
|
</authorgroup>
|
|
|
</sect1info>
|
|
|
<title
|
|
|
>Utiliser la fenêtre principale</title>
|
|
|
|
|
|
<screenshot>
|
|
|
<screeninfo
|
|
|
>La fenêtre principale</screeninfo>
|
|
|
<mediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="main_window.png" format="PNG"/>
|
|
|
</imageobject>
|
|
|
<textobject
|
|
|
><phrase
|
|
|
>Une vue textuelle du fichier en cours à corriger</phrase
|
|
|
></textobject>
|
|
|
<caption
|
|
|
><para
|
|
|
>Une vue textuelle du fichier en cours à corriger.</para
|
|
|
></caption>
|
|
|
</mediaobject>
|
|
|
</screenshot>
|
|
|
|
|
|
<sect2>
|
|
|
<title
|
|
|
>Travailler avec la fenêtre principale</title>
|
|
|
|
|
|
<para
|
|
|
>Il y a quatre marqueurs colorés qui peuvent être affichés en début de ligne du texte :</para>
|
|
|
|
|
|
<variablelist>
|
|
|
<varlistentry>
|
|
|
<term
|
|
|
>un marqueur rouge</term>
|
|
|
<listitem
|
|
|
><para
|
|
|
>indique un point d'arrêt actif</para
|
|
|
></listitem>
|
|
|
</varlistentry>
|
|
|
<varlistentry>
|
|
|
<term
|
|
|
>un marqueur jaune</term>
|
|
|
<listitem
|
|
|
><para
|
|
|
>indique un point d'arrêt désactivé</para
|
|
|
></listitem>
|
|
|
</varlistentry>
|
|
|
<varlistentry>
|
|
|
<term
|
|
|
>un marqueur vert</term>
|
|
|
<listitem>
|
|
|
<para
|
|
|
>indique l'emplacement actuel du débogueur</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
<varlistentry>
|
|
|
<term
|
|
|
>un marqueur noir</term>
|
|
|
<listitem
|
|
|
><para
|
|
|
>indique la position du curseur texte</para
|
|
|
></listitem>
|
|
|
</varlistentry>
|
|
|
</variablelist>
|
|
|
|
|
|
<para
|
|
|
>Vous pouvez définir, désactiver ou supprimer un point d'arrêt au début d'un nœud &XML; en utilisant le &BGS;</para>
|
|
|
|
|
|
<para
|
|
|
>Vous pouvez déplacer le curseur dans le texte en utilisant les touches suivantes :</para>
|
|
|
|
|
|
<simplelist>
|
|
|
<member
|
|
|
>Les touches fléchées : <keysym
|
|
|
>Flèche gauche</keysym
|
|
|
>, <keysym
|
|
|
>Flèche droite</keysym
|
|
|
>, <keysym
|
|
|
>Flèche vers le haut</keysym
|
|
|
>, <keysym
|
|
|
>Flèche vers le bas</keysym
|
|
|
>.</member>
|
|
|
<member
|
|
|
>Les touches saut de page : <keycap
|
|
|
>Saut de page arrière</keycap
|
|
|
> ou <keycap
|
|
|
>Saut de page avant</keycap
|
|
|
></member>
|
|
|
</simplelist>
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
<sect2>
|
|
|
<title
|
|
|
>Travailler avec la sortie de &kxsldbg;</title>
|
|
|
|
|
|
<para
|
|
|
>La plupart de ce qui est généré par &kxsldbg; est capturé et présenté soit dans les boîtes de dialogue des contrôleurs soit dans la fenêtre de sortie de &kxsldbg;. Les exceptions à ces règles sont :</para>
|
|
|
<itemizedlist>
|
|
|
<listitem>
|
|
|
<para
|
|
|
>un message d'erreur qui vient de &kxsldbg; est affiché dans une boîte de message.</para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
<para
|
|
|
>le résultat de l'évaluation d'une expression est affiché dans une boîte de message.</para>
|
|
|
</listitem>
|
|
|
<listitem>
|
|
|
<para
|
|
|
>le résultat de recherches est envoyé dans le fichier indiqué dans la fenêtre de sortie de &kxsldbg;.</para>
|
|
|
</listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
<!-- FIXME: There's way too many things wrong with this, for people to
|
|
|
bother translating it just yet. We can fix post 3.2
|
|
|
|
|
|
Specifically: Wrong icon images, all keybindings are incorrect, all
|
|
|
keybindings in the app are unmodified and therefore will probably be
|
|
|
changed, and this isn't the ideal place to put a toolbar ref anyway.
|
|
|
|
|
|
Plan: Add a menu ref chapter, include an updated toolbar ref in it
|
|
|
|
|
|
<sect2>
|
|
|
<title
|
|
|
>&kxsldbg; Toolbar</title>
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="configure.png" format="PNG"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Configure</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Configuration for a session, <xref linkend="configure"/>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="configure.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Inspect</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
To be written.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="run.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Run</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Restart execution applying current configuration.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="1downarrow.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Continue</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Continue execution stoping at next breakpoint. This will cause the
|
|
|
debugger to stop at the start of the stylesheet if no further breakpoints
|
|
|
are found.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="step.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Step</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Step to the next XSLT instruction found.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="next.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Next</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Proceed to the next instruction at the same call stack depth. This is
|
|
|
useful for stepping over a <emphasis
|
|
|
>xsl:appply-templates</emphasis
|
|
|
> or
|
|
|
<emphasis
|
|
|
>xsl:call-template</emphasis
|
|
|
>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="stepup.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>StepUp</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Proceed to the next instruction in a cooler stack frame. This is best
|
|
|
used within a template at a greater depth than the root match template.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="stepdown.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>StepDown</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Proceed to the next instruction in a warmer stack frame.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="break.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Break</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Add a breakpoint at the current cursor location
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="delete.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Delete</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Delete a breakpoint at the current cursor location
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="enable.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Enable/Disable</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Enable or disable a breakpoint at the current cursor location
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="source.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Source</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Cause the current XSLT source file to be shown
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="data.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Data</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Cause the current &XML; data file to be shown
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="output.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Output</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Cause the current Output file to be shown
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<menuchoice>
|
|
|
<shortcut>
|
|
|
<keycombo action="simul"
|
|
|
>&Ctrl;<keycap
|
|
|
>N</keycap
|
|
|
></keycombo>
|
|
|
</shortcut>
|
|
|
<guiicon>
|
|
|
<inlinemediaobject>
|
|
|
<imageobject>
|
|
|
<imagedata fileref="refresh.png"/>
|
|
|
</imageobject>
|
|
|
</inlinemediaobject>
|
|
|
</guiicon>
|
|
|
<guimenu
|
|
|
>Debug</guimenu>
|
|
|
<guimenuitem
|
|
|
>Reload</guimenuitem>
|
|
|
</menuchoice>
|
|
|
</term>
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Cause the displayed file to be reloaded from disk
|
|
|
</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
</variablelist>
|
|
|
</sect2>
|
|
|
-->
|
|
|
|
|
|
</sect1>
|