/jEdit/tags/jedit-4-2-pre4/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
- <html><body>
- jEdit's text editing commands become very powerful when used together.
- For example, here is one way, when programming in Java,
- to find all uses of an instance variable that are outside the current
- method:
- <ul>
- <li>Position the caret inside a method and invoke
- <b>Edit</b>><b>Source</b>><b>Select Code Block</b>.
- <li>Invoke <b>Edit</b>><b>Invert Selection</b> (<b>C+e i</b>).
- <li>Invoke <b>Search</b>><b>Find</b> (<b>C+f</b>).
- <li>Type in the variable name and press <b>Enter</b>.
- <li>Because text is selected, the <b>HyperSearch</b> and
- <b>Search in Selection</b> settings will be chosen by default.
- <li>The <b>HyperSearch Results</b> window will list all uses of
- that variable outside the selected method.
- </ul>
- </body></html>