Lugaru's Epsilon Programmer's Editor 14.04
Context:
|
Previous
|
Up
|
Next
|
Navigating in Source Code |
Commands by Topic |
Accessing Help |
Epsilon User's Manual and Reference >
Commands by Topic >
More Programming Features >
Pulling Words
The pull-word command bound to the
Ctrl-<Up> key (as well as the F3 key) scans the buffer before
point, and copies the previous word to the location at point. If you
type the key again, it pulls in the word before that, and so forth.
Whenever Epsilon pulls in a word, it replaces any previously pulled-in
word. If you like the word that has been pulled in, you do not need
to do anything special to accept it-Epsilon resumes normal editing
when you type any key except for the few special keys reserved by this
command. You can type Ctrl-<Down> (the pull-word-fwd
command) to go in the other direction. Type Ctrl-g to erase the
pulled-in word and abort this command.
If a portion of a word immediately precedes point, that subword
becomes a filter for pulled-in words. For example, suppose you start
to type a word that begins WM , then you notice that the word
WM_QUERYENDSESSION appears a few lines above. Just type
Ctrl-<Up> and Epsilon fills in the rest of this word.
The command provides various visual clues that tell you exactly
from which point in the buffer Epsilon is pulling in the word.
If the source is close enough to be visible in the window, it is
simply highlighted. If the pulled-in word comes from farther
away, Epsilon shows the context in the echo area, or in a context
window that it pops up (out of the way of your typing).
When there are no more matches before point in the current buffer,
Epsilon loads a tag file (see Tags) and looks for
matches there. The pull-word-from-tags variable controls this
behavior. In this way, you can complete on any tagged identifier by
typing part of it and pressing F3 or Ctrl-<Up> until the
identifier you want appears.
You can also pull words from the buffer at most prompts. For
instance, you can retrieve a long file name that appears in the buffer
into a find-file prompt, or look for other instances of an
identifier in a program without typing the whole identifier. Type the
first few characters at a search or grep prompt and press F3
or Ctrl-<Up> to pull the rest.
Standard bindings:
Previous
|
Up
|
Next
|
Navigating in Source Code |
Commands by Topic |
Accessing Help |
Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.
|