Forgot to commit the header files and fixed documentation!

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Bill Spitzak
2000-02-21 10:45:59 +00:00
parent b5529a0aea
commit b583a643de
3 changed files with 215 additions and 181 deletions
+168 -16
View File
@@ -27,16 +27,23 @@ will correctly display anything, using ^X notation for unprintable
control characters and \nnn notation for unprintable characters with
the high bit set. It assummes the font can draw any characters in the
ISO8859-1 character set.
<p>
<CENTER><TABLE border=1 WIDTH=90%>
<TR><TD WIDTH=200><B>Mouse button 1</B></TD><TD>Moves the cursor to this point.
Drag selects characters. Double click selects words. Triple click
selects all text. Shift+click extends the selection.</TD></TR>
<TR><TD><B>Mouse button 2</B></TD><TD>Insert the current X selection at
the cursor (unlike Motif this does not move the insertion point to the
mouse). If the widget does not have the input focus (and thus no
cursor) it puts the cursor where clicked and inserts the selection
there.</TD></TR>
<TR><TD WIDTH=200><B>Mouse button 1</B></TD><TD>Moves the cursor to
this point. Drag selects characters. Double click selects words.
Triple click selects all text. Shift+click extends the selection.
When you select text it is automatically copied to the clipboard.
</TD></TR>
<TR><TD><B>Mouse button 2</B></TD><TD>Insert the clipboard at
the point clicked. You can also select a region to replace with the
clipboard by selecting a region with mouse button 2.
</TD></TR>
<TR><TD><B>Mouse button 3</B></TD><TD>Currently acts like button 1.</TD></TR>
<TR><TD><B>Backspace</B></TD><TD>Deletes one character to the left, or
deletes the selected region.</TD></TR>
<TR><TD><B>Enter</B></TD><TD>May cause the callback, see when().</TD></TR>
@@ -44,9 +51,7 @@ deletes the selected region.</TD></TR>
<TR><TD><B>^B or Left</B></TD><TD>Move left</TD></TR>
<TR><TD><B>^C</B></TD><TD>Copy the selection to the clipboard</TD></TR>
<TR><TD><B>^D or Delete</B></TD><TD>Deletes one character to the right
or deletes the selected region. <I>Due to silly historical X problems,
the Delete key will act like Backspace until you type a &quot;real&quot;
backspace.</I></TD></TR>
or deletes the selected region.</TD></TR>
<TR><TD><B>^E or End</B></TD><TD>Go to the end of line.</TD></TR>
<TR><TD><B>^F or Right</B></TD><TD>Move right</TD></TR>
<TR><TD><B>^K</B></TD><TD>Delete to the end of line (next \n character)
@@ -56,11 +61,6 @@ into the clipboard.</TD></TR>
only, otherwise it moves to the next input field).</TD></TR>
<TR><TD><B>^P or Up</B></TD><TD>Move up (for Fl_Multiline_Input only,
otherwise it moves to the previous input field).</TD></TR>
<TR><TD><B>^Q or
<BR>RightCtrl or
<BR>Compose</B></TD><TD>Start a <A href="events.html#compose">compose-character</A>
sequence. The next one or two keys typed define the character to
insert. This also can be used to &quot;quote&quot; control characters.</TD></TR>
<TR><TD><B>^U</B></TD><TD>Delete everything.</TD></TR>
<TR><TD><B>^V or ^Y</B></TD><TD>Paste the clipboard</TD></TR>
<TR><TD><B>^X or ^W</B></TD><TD>Copy the region to the clipboard and
@@ -71,6 +71,158 @@ into a single &quot;undo&quot;. Often this will undo a lot more than you
expected.</TD></TR>
<TR><TD><B>Shift+move</B></TD><TD>Move the cursor but also extend the
selection.</TD></TR>
<TR><TD><B>RightCtrl or
<BR>Compose</B></TD><TD><a name=compose>
Start a <A href="events.html#compose">compose-character</A>
sequence. The next one or two keys typed define the character to insert:
<br><center><table border=1>
<tr>
<th>Keys</th><th>Char</th>
<th>Keys</th><th>Char</th>
<th>Keys</th><th>Char</th>
<th>Keys</th><th>Char</th>
<th>Keys</th><th>Char</th>
<th>Keys</th><th>Char</th>
</tr><tr>
<td align=center><small>space</small></td><td align=center><small>nbsp</small></td>
<td align=center><TT>*</tt></td><td align=center>°</td>
<td align=center><TT>`A</tt></td><td align=center>À</td>
<td align=center><TT>D-</tt></td><td align=center>Ð</td>
<td align=center><TT>`a</tt></td><td align=center>à</td>
<td align=center><TT>d-</tt></td><td align=center>ð
</tr><tr>
<td align=center><TT>!</tt></td><td align=center>¡</td>
<td align=center><TT>+-</tt></td><td align=center>±</td>
<td align=center><TT>'A</tt></td><td align=center>Á</td>
<td align=center><TT>~N</tt></td><td align=center>Ñ</td>
<td align=center><TT>'a</tt></td><td align=center>á</td>
<td align=center><TT>~n</tt></td><td align=center>ñ
</tr><tr>
<td align=center><TT>%</tt></td><td align=center>¢</td>
<td align=center><TT>2</tt></td><td align=center>²</td>
<td align=center><TT>A^</tt></td><td align=center>Â</td>
<td align=center><TT>`O</tt></td><td align=center>Ò</td>
<td align=center><TT>^a</tt></td><td align=center>â</td>
<td align=center><TT>`o</tt></td><td align=center>ò
</tr><tr>
<td align=center><TT>#</tt></td><td align=center>£</td>
<td align=center><TT>3</tt></td><td align=center>³</td>
<td align=center><TT>~A</tt></td><td align=center>Ã</td>
<td align=center><TT>'O</tt></td><td align=center>Ó</td>
<td align=center><TT>~a</tt></td><td align=center>ã</td>
<td align=center><TT>'o</tt></td><td align=center>ó
</tr><tr>
<td align=center><TT>$</tt></td><td align=center>¤</td>
<td align=center><TT>'</tt></td><td align=center>´</td>
<td align=center><TT>:A</tt></td><td align=center>Ä</td>
<td align=center><TT>^O</tt></td><td align=center>Ô</td>
<td align=center><TT>:a</tt></td><td align=center>ä</td>
<td align=center><TT>^o</tt></td><td align=center>ô
</tr><tr>
<td align=center><TT>y=</tt></td><td align=center>¥</td>
<td align=center><TT>u</tt></td><td align=center>µ</td>
<td align=center><TT>*A</tt></td><td align=center>Å</td>
<td align=center><TT>~O</tt></td><td align=center>Õ</td>
<td align=center><TT>*a</tt></td><td align=center>å</td>
<td align=center><TT>~o</tt></td><td align=center>õ
</tr><tr>
<td align=center><TT>|</tt></td><td align=center>¦</td>
<td align=center><TT>p</tt></td><td align=center></td>
<td align=center><TT>AE</tt></td><td align=center>Æ</td>
<td align=center><TT>:O</tt></td><td align=center>Ö</td>
<td align=center><TT>ae</tt></td><td align=center>æ</td>
<td align=center><TT>:o</tt></td><td align=center>ö
</tr><tr>
<td align=center><TT>&amp;</tt></td><td align=center>§</td>
<td align=center><TT>.</tt></td><td align=center>·</td>
<td align=center><TT>,C</tt></td><td align=center>Ç</td>
<td align=center><TT>x</tt></td><td align=center>×</td>
<td align=center><TT>,c</tt></td><td align=center>ç</td>
<td align=center><TT>-:</tt></td><td align=center>÷
</tr><tr>
<td align=center><TT>:</tt></td><td align=center>¨</td>
<td align=center><TT>,</tt></td><td align=center>¸</td>
<td align=center><TT>E`</tt></td><td align=center>È</td>
<td align=center><TT>O/</tt></td><td align=center>Ø</td>
<td align=center><TT>`e</tt></td><td align=center>è</td>
<td align=center><TT>o/</tt></td><td align=center>ø
</tr><tr>
<td align=center><TT>c</tt></td><td align=center>©</td>
<td align=center><TT>1</tt></td><td align=center>¹</td>
<td align=center><TT>'E</tt></td><td align=center>É</td>
<td align=center><TT>`U</tt></td><td align=center>Ù</td>
<td align=center><TT>'e</tt></td><td align=center>é</td>
<td align=center><TT>`u</tt></td><td align=center>ù
</tr><tr>
<td align=center><TT>a</tt></td><td align=center>ª</td>
<td align=center><TT>o</tt></td><td align=center>º</td>
<td align=center><TT>^E</tt></td><td align=center>Ê</td>
<td align=center><TT>'U</tt></td><td align=center>Ú</td>
<td align=center><TT>^e</tt></td><td align=center>ê</td>
<td align=center><TT>'u</tt></td><td align=center>ú
</tr><tr>
<td align=center><TT>&lt;&lt;</tt></td><td align=center>«</td>
<td align=center><TT>>></tt></td><td align=center>»</td>
<td align=center><TT>:E</tt></td><td align=center>Ë</td>
<td align=center><TT>^U</tt></td><td align=center>Û</td>
<td align=center><TT>:e</tt></td><td align=center>ë</td>
<td align=center><TT>^u</tt></td><td align=center>û
</tr><tr>
<td align=center><TT>~</tt></td><td align=center>¬</td>
<td align=center><TT>14</tt></td><td align=center>¼</td>
<td align=center><TT>`I</tt></td><td align=center>Ì</td>
<td align=center><TT>:U</tt></td><td align=center>Ü</td>
<td align=center><TT>`i</tt></td><td align=center>ì</td>
<td align=center><TT>:u</tt></td><td align=center>ü
</tr><tr>
<td align=center><TT>-</tt></td><td align=center>­</td>
<td align=center><TT>12</tt></td><td align=center>½</td>
<td align=center><TT>'I</tt></td><td align=center>Í</td>
<td align=center><TT>'Y</tt></td><td align=center>Ý</td>
<td align=center><TT>'i</tt></td><td align=center>í</td>
<td align=center><TT>'y</tt></td><td align=center>ý
</tr><tr>
<td align=center><TT>r</tt></td><td align=center>®</td>
<td align=center><TT>34</tt></td><td align=center>¾</td>
<td align=center><TT>^I</tt></td><td align=center>Î</td>
<td align=center><TT>TH</tt></td><td align=center>Þ</td>
<td align=center><TT>^i</tt></td><td align=center>î</td>
<td align=center><TT>th</tt></td><td align=center>þ
</tr><tr>
<td align=center><TT>_</tt></td><td align=center>¯</td>
<td align=center><TT>?</tt></td><td align=center>¿</td>
<td align=center><TT>:I</tt></td><td align=center>Ï</td>
<td align=center><TT>ss</tt></td><td align=center>ß</td>
<td align=center><TT>:i</tt></td><td align=center>ï</td>
<td align=center><TT>:y</tt></td><td align=center>ÿ
</table></center>
<p>For instance, to type "á" type [compose][a]['] or [compose]['][a].
<P>The character "nbsp" (non-breaking space) is typed by using
[compose][space].
<P>The single-character sequences may be followed by a space if
necessary to remove ambiguity. For instance, if you really want to
type "ª~" rather than "ã" you must type [compose][a][space][~].
<p>The same key may be used to "quote" control characters into the
text. If you need a <tt>^Q</tt> character you can get one by typing
[compose][Control+Q].
<p>X may have a key on the keyboard
defined as <tt>XK_Multi_key</tt>. If so this key may be used as well
as the right-hand control key. You can set this up with the program
<tt>xmodmap</tt>.
<p>If your keyboard is set to support a foreign language you should
also be able to type "dead key" prefix characters. On X you will
actually be able to see what dead key you typed, and if you then move
the cursor without completing the sequence the accent will remain
inserted.
</TABLE></CENTER>
<H3>Methods</H3>
<CENTER>