src/Tools/isac/jEdit/plugin/users-guide.xml
author Marco Steger <m.steger@student.tugraz.at>
Sat, 25 Sep 2010 11:17:46 +0200
branchthe isac plugin for jEdit
changeset 38017 f5fea20d3c4f
permissions -rw-r--r--
added the nb-project 'isac' to repo; you find it in /src/Tools/isac/jedit!
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!-- Isac .0 help documentation -->
     3 <!-- Copyright (C) 2001 John Gellene	 -->
     4 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
     5 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
     6 <article id="Isac">
     7     <articleinfo>
     8         <author>
     9             <firstname>John</firstname>
    10 
    11             <surname>Gellene</surname>
    12 
    13             <affiliation>
    14                 <address><email>jgellene@nyc.rr.com</email></address>
    15             </affiliation>
    16         </author>
    17 
    18         <copyright>
    19             <year>2001</year>
    20 
    21             <holder>John Gellene</holder>
    22         </copyright>
    23 
    24         <legalnotice>
    25             <title>Legal Notice</title>
    26 
    27             <para>Permission is granted to copy, distribute and/or modify this
    28             document under the terms of the GNU Free Documentation License,
    29             Version 1.1 or any later version published by the Free Software
    30             Foundation; with no <quote>Invariant Sections</quote>,
    31             <quote>Front-Cover Texts</quote> or <quote>Back-Cover Texts</quote>,
    32             each as defined in the license. A copy of the license is included in
    33             the file <filename>COPYING.DOC.txt</filename> included with the
    34             jEdit distribution.</para>
    35         </legalnotice>
    36 
    37         <title>QuickNotepad 4.2</title>
    38     </articleinfo>
    39 
    40     <simplesect>
    41         <title>Introduction</title>
    42 
    43         <indexterm>
    44             <primary>QuickNotepad</primary>
    45         </indexterm>
    46 
    47         <para>This plugin provides a dockable <quote>scratch pad</quote> for
    48         writing and displaying notes, to do lists or similar items as
    49         unformatted text. The text is automatically saved upon closing the
    50         plugin or exiting jEdit. It can also be saved manually. The user can
    51         change the file to be displayed during the current editing session. The
    52         path of the default notepad file can be changed as a user option.
    53         Finally, the text file can be copied to a new, untitled jEdit buffer so
    54         that it can be edited by the main program.</para>
    55 
    56         <para>The <citetitle>jEdit Plugin Guide</citetitle> details the
    57         development and design of QuickNotepad. It is a simple but functional
    58         dockable plugin that incorporates the basic elements of the jEdit plugin
    59         architecture.</para>
    60 
    61         <para>The file <filename>changes42.txt</filename> in the plugin's source
    62         code details the changes that were made to the plugin to conform to the
    63         new plugin API for jEdit version 4.2.</para>
    64 
    65         <para>The file <filename>changes40.txt</filename> in the plugin's source
    66         code details the changes that were made to the plugin to conform to the
    67         new plugin API for jEdit version 4.0.</para>
    68     </simplesect>
    69 
    70     <simplesect>
    71         <title>Operation</title>
    72 
    73         <para><indexterm>
    74                 <primary>QuickNotepad</primary>
    75 
    76                 <secondary>shortcut keys</secondary>
    77             </indexterm> When QuickNotepad is activated, it loads and displays
    78         the file stored in its properties as unformatted text. The text can be
    79         edited using the keyboard and mouse. The text area component recognizes
    80         the following basic editing shortcuts:</para>
    81 
    82         <!-- Limitations on xsltproc's capabilities require a blank column between -->
    83 
    84         <!-- the two columns of data to provide spacing for the table.       -->
    85 
    86         <informaltable frame="none">
    87             <tgroup align="left" cols="4">
    88                 <colspec colnum="1" />
    89 
    90                 <!-- blank column -->
    91 
    92                 <colspec colnum="2" />
    93 
    94                 <colspec colnum="3" />
    95 
    96                 <!-- blank column -->
    97 
    98                 <colspec colnum="4" />
    99 
   100                 <tbody>
   101                     <row>
   102                         <entry></entry>
   103 
   104                         <entry>Cut</entry>
   105 
   106                         <entry></entry>
   107 
   108                         <entry><keycombo action="simul">
   109                                 <keysym>Ctrl</keysym>
   110 
   111                                 <keysym>x</keysym>
   112                             </keycombo></entry>
   113                     </row>
   114 
   115                     <row>
   116                         <entry></entry>
   117 
   118                         <entry>Copy</entry>
   119 
   120                         <entry></entry>
   121 
   122                         <entry><keycombo action="simul">
   123                                 <keysym>Ctrl</keysym>
   124 
   125                                 <keysym>c</keysym>
   126                             </keycombo></entry>
   127                     </row>
   128 
   129                     <row>
   130                         <entry></entry>
   131 
   132                         <entry>Paste</entry>
   133 
   134                         <entry></entry>
   135 
   136                         <entry><keycombo action="simul">
   137                                 <keysym>Ctrl</keysym>
   138 
   139                                 <keysym>v</keysym>
   140                             </keycombo></entry>
   141                     </row>
   142 
   143                     <row>
   144                         <entry></entry>
   145 
   146                         <entry>Select All</entry>
   147 
   148                         <entry></entry>
   149 
   150                         <entry><keycombo action="simul">
   151                                 <keysym>Ctrl</keysym>
   152 
   153                                 <keysym>a</keysym>
   154                             </keycombo></entry>
   155                     </row>
   156                 </tbody>
   157             </tgroup>
   158         </informaltable>
   159 
   160         <para>QuickNotepad ignores function keys and other combination key
   161         presses.</para>
   162     </simplesect>
   163 
   164     <simplesect>
   165         <title>Toolbar buttons</title>
   166 
   167         <para>Three buttons above the text area provide file management
   168         operations:</para>
   169 
   170         <itemizedlist>
   171             <listitem>
   172                 <para><guilabel>Choose notepad file</guilabel> - this button
   173                 opens a file selection dialog permitting the user to select a
   174                 different file to view in the text area. If a new file is
   175                 selected, the old file is auomatically saved. The selection is
   176                 valid only for the current editing session; to change the
   177                 default QuickNotepad file for future sessions, use the <link
   178                 linkend="options">options dialog</link>.</para>
   179             </listitem>
   180 
   181             <listitem>
   182                 <para><guilabel>Save notepad file</guilabel> - this button
   183                 causes QuickNotepad to write the contents of the text area to
   184                 the designated notepad file. To save the text to another file
   185                 name, use the <guilabel>Copy notepad to buffer</guilabel>
   186                 operation.</para>
   187             </listitem>
   188 
   189             <listitem>
   190                 <para><guilabel>Copy notepad to buffer</guilabel> - this button
   191                 causes the contents of the text to be written to a newly
   192                 created, untitled buffer in the main text editing area. This
   193                 operation does not alter the QuickNotepad text area or write its
   194                 text to storage. Further changes to either the QuickNotepad text
   195                 area or the new buffer will not affect the other.</para>
   196             </listitem>
   197         </itemizedlist>
   198 
   199         <para>These operations are listed in the menu which appears for
   200         QuickNotepad under the <guimenu>Plugins</guimenu> heading. They can also
   201         be made the subject of keyboard shortcuts in the <guilabel>Plugin
   202         Shortcuts</guilabel> pane of jEdit's options dialog.</para>
   203 
   204         <para>One other operation is available as a keyboard shortcut.
   205         <guilabel>Bring QuickNotepad to front</guilabel> activates the plugin
   206         and makes visible if it is currently hidden in a docking window.</para>
   207     </simplesect>
   208 
   209     <simplesect id="options">
   210         <title>Options</title>
   211 
   212         <indexterm>
   213             <primary>QuickNotepad</primary>
   214 
   215             <secondary>options</secondary>
   216         </indexterm>
   217 
   218         <para>There are three options which can be set using the pane for
   219         QuickNotepad in the <guilabel>Plugin Shortcuts</guilabel> section of the
   220         general options dialog:</para>
   221 
   222         <itemizedlist>
   223             <listitem>
   224                 <para>A checkbox governs whether the name of the notepad file
   225                 will be displayed in the toolbar panel above the text area. Even
   226                 if the file name display is enabled, if the plugin is displayed
   227                 to the left or right of the main editing area, the notepad file
   228                 name will likely be partially or completely hidden.</para>
   229             </listitem>
   230 
   231             <listitem>
   232                 <para>A text field and adjacent button allow the user to choose
   233                 the path of the default notepad file by typing its name or
   234                 opening a file chooser dialog. This file will be loaded (and the
   235                 old file saved) once the plugin's options settings are
   236                 committed.</para>
   237             </listitem>
   238 
   239             <listitem>
   240                 <para>A third button shows the name, size and style of the font
   241                 used by the QuickNotepad text area. Pressing the button summons
   242                 a font chooser dialog for making a new selection. The text area
   243                 will be redrawn with the new font once the change is
   244                 committed.</para>
   245             </listitem>
   246         </itemizedlist>
   247     </simplesect>
   248 
   249     <simplesect>
   250         <title>Legal notices</title>
   251 
   252         <para>The QuickNotepad plugin is released under the GNU General Public
   253         License (either version 2 or any later version, at the user's option). A
   254         copy of the GPL is available in the <filename>COPYING.txt</filename>
   255         file in the jEdit distribution.</para>
   256 
   257         <para>The QuickNotepad plugin comes with ABSOLUTELY NO WARRANTY OF ANY
   258         KIND; see section 11 and 12 of the GPL for details.</para>
   259 
   260         <para>Permission is granted to copy, distribute and/or modify this
   261         document under the terms of the GNU Free Documentation License, Version
   262         1.1 or any later version published by the Free Software Foundation; with
   263         no <quote>Invariant Sections</quote>, <quote>Front-Cover Texts</quote>
   264         or <quote>Back-Cover Texts</quote>, each as defined in the license. A
   265         copy of the license is included in the file
   266         <filename>COPYING.DOC.txt</filename> included with the jEdit
   267         distribution.</para>
   268     </simplesect>
   269 
   270     <simplesect>
   271         <title>Feedback</title>
   272 
   273         <para>Comments, bug reports and other feedback may be sent to the <ulink
   274         url="mailto:jgellene@nyc.rr.com">author</ulink> or the jEdit-users
   275         mailing list.</para>
   276     </simplesect>
   277 </article>