PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/doc/tips/tip59.html

#
HTML | 19 lines | 17 code | 2 blank | 0 comment | 0 complexity | 5b035b4d9497abc96015fa28f525c02a 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><body>
  2. jEdit's text editing commands become very powerful when used together.
  3. For example, here is one way, when programming in Java,
  4. to find all uses of an instance variable that are outside the current
  5. method:
  6. <ul>
  7. <li>Position the caret inside a method and invoke
  8. <b>Edit</b>&gt;<b>Source</b>&gt;<b>Select Code Block</b>.
  9. <li>Invoke <b>Edit</b>&gt;<b>Invert Selection</b> (<b>C+e i</b>).
  10. <li>Invoke <b>Search</b>&gt;<b>Find</b> (<b>C+f</b>).
  11. <li>Type in the variable name and press <b>Enter</b>.
  12. <li>Because text is selected, the <b>HyperSearch</b> and
  13. <b>Search in Selection</b> settings will be chosen by default.
  14. <li>The <b>HyperSearch Results</b> window will list all uses of
  15. that variable outside the selected method.
  16. </ul>
  17. </body></html>