PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/42docs/users-guide/words.html

#
HTML | 55 lines | 55 code | 0 blank | 0 comment | 0 complexity | 491d133c8019350392b740fa7c760c1e MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Working With Words</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="jEdit 4.2 User's Guide"><link rel="up" href="editing.html" title="Chapter 5. Editing Text"><link rel="previous" href="undo-redo.html" title="Undo and Redo"><link rel="next" href="lines.html" title="Working With Lines"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Working With Words</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="undo-redo.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Editing Text</th><td width="20%" align="right"> <a accesskey="n" href="lines.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="words"></a>Working With Words</h2></div></div><div></div></div><p>
  2. <tt class="keycap">C+LEFT</tt> and <tt class="keycap">C+RIGHT</tt>
  3. move the caret a word at
  4. a time. Holding down <tt class="keycap">Shift</tt> in addition to the above
  5. extends the selection a word at a time.
  6. </p><p>
  7. A single word can be selected by double-clicking with the mouse,
  8. or using the
  9. <span><b class="guimenu">Edit</b></span>&gt;<span><b class="guisubmenu">More
  10. Selection</b></span>&gt;<span><b class="guimenuitem">Select
  11. Word</b></span> command (shortcut: <tt class="keycap">C+e w</tt>).
  12. A selection that begins and ends on word boundaries can be created by
  13. double-clicking and dragging.
  14. </p><p>
  15. <tt class="keycap">C+BACKSPACE</tt> and <tt class="keycap">C+DELETE</tt>
  16. delete the word
  17. before or after the caret, respectively.
  18. </p><p>
  19. <span><b class="guimenu">Edit</b></span>&gt;<span><b class="guimenuitem">Complete Word</b></span> (shortcut: <tt class="keycap">C+b</tt>) locates
  20. possible completions for the word at the caret, first by looking in the
  21. current edit mode's syntax highlighting
  22. keyword list, and then in the current buffer for words that begin with the
  23. word at the caret. This serves as a very basic code completion feature.
  24. </p><p>
  25. If there is only one completion, it will be inserted into the buffer
  26. immediately.
  27. </p><p>
  28. If multiple completions were found, the longest common prefix is inserted into the buffer, and a popup is shown below
  29. the caret position listing the completions.
  30. </p><p>
  31. To insert a completion from the list, either select it using the <tt class="keycap">UP</tt> and <tt class="keycap">DOWN</tt> keys and
  32. press <tt class="keycap">ENTER</tt>, press a digit to insert one of the first
  33. ten completions (1 is the first completion; 9 is the 9th; 0 is the 10th),
  34. or click the desired completion with the mouse. To close the popup without inserting a
  35. completion, press <tt class="keycap">ESCAPE</tt>.
  36. </p><p>
  37. Typing while the popup is
  38. visible will automatically update the popup and narrow the set of
  39. completions as necessary.
  40. </p><p>
  41. <span><b class="guimenu">Edit</b></span>&gt;<span><b class="guimenuitem">Word Count</b></span>
  42. displays a dialog box with the number of characters,
  43. words and lines in the current buffer.
  44. </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2598347"></a>What's a Word?</h3></div></div><div></div></div><p>
  45. The default behavior of the
  46. <tt class="keycap">C+LEFT</tt>,
  47. <tt class="keycap">C+RIGHT</tt>,
  48. <tt class="keycap">C+BACKSPACE</tt> and <tt class="keycap">C+DELETE</tt> commands is to
  49. stop both at the beginning and the end of each word. However this can be
  50. changed by remapping these keystrokes to alternative actions whose names end
  51. with <span><b class="guimenuitem">(Eat Whitespace)</b></span> in the
  52. <span><b class="guibutton">Shortcuts</b></span> pane of the
  53. <span><b class="guimenu">Utilities</b></span>&gt;<span><b class="guimenuitem">Global Options</b></span>
  54. dialog box; see <a href="global-opts.html#shortcuts-pane" title="The Shortcuts Pane">the section called &#8220;The Shortcuts Pane&#8221;</a>.
  55. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="undo-redo.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="editing.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="lines.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Undo and Redo </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Working With Lines</td></tr></table></div></body></html>