Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Fixing Mistakes
         Undoing
         Interrupting a Command
      The Screen
         Display Commands
         Horizontal Scrolling
         Windows
         . . .
      Buffers and Files
         Buffers
         Files
         File Variables
         . . .
         Buffer List Editing
      . . .

Previous   Up    Next
Interrupting a Command  Commands by Topic   Horizontal Scrolling


Epsilon User's Manual and Reference > Commands by Topic > The Screen >

Display Commands

The Ctrl-l (letter L) command causes Epsilon to center point in the window. If you give a numeric argument to Ctrl-l, Epsilon makes the current line appear on that line of the window. For instance, give a numeric argument of zero to make the current line appear on the topmost line of the window. (The line-to-top command is another way to do this.) If you give a numeric argument greater than the number of lines the window occupies, Epsilon will position the current line at the bottom of the window. (The line-to-bottom command is another way to do this.) When repeated, the Ctrl-l command also completely refreshes the screen. If some other program has written text on the screen, or something has happened to garble the screen, use this command to refresh it.

The Alt-<Comma> and Alt-<Period> commands move point to the first and last positions displayed on the window, respectively.

The Ctrl-z and Alt-z commands scroll the text in the window up or down, respectively, by one line. These scrolling commands will move point as necessary so that point remains visible in the window.

The Ctrl-v and Alt-v commands scroll the text of the window up or down, respectively, by several lines fewer than the size of the window. These commands move point to the center line of the window.

You can control the exact amount of overlap between the original window of text and the new window with the window-overlap variable. A positive value for this variable means to use that number of screen lines of overlap between one window of text and the next (or previous). A negative value for window-overlap represents a percentage of overlap, instead of the number of screen lines. For example, the default value for window-overlap of 2 means to use 2 lines of overlap. A value of -25 for window-overlap means to overlap by 25%.

You can change how Epsilon pages through a file by setting the variable paging-centers-window. Epsilon normally positions the cursor on the center line of the window as you move from page to page. Set this variable to zero if you want Epsilon to try to keep the cursor on the same screen line as it pages.

The goto-line command on Ctrl-x g prompts for a line number and then goes to the beginning of that line in the current buffer. If you prefix a numeric argument, Epsilon will use that as the line number. Use the format 10:20 to include a column specification; that one goes to line 10, column number 20. Or use a percent character to indicate a buffer percentage: 25% goes to a line 25% of the way through the buffer. Or use the format p123 to go to a particular buffer offset, counting by characters.

The Ctrl-x L command shows the number of lines in the buffer and the number of the line containing point. It also shows the number of bytes the file would occupy if written to disk. This can differ from the size of the buffer, because the latter counts each line separator as a single character. Such characters require two bytes when written to disk in the format used in Windows and DOS, however. See Line Translation for information on how Epsilon translates line separator characters. (The character count shown does not take into account any Unicode encoding that may happen when you save the file, so for such files it represents the number of characters that will be saved, which will vary from the number of bytes on disk.)

See the mode-format variable if you want to change how Epsilon displays the current line or column number in the mode line at all times, or draw-line-numbers if you want Epsilon to display each line's number in a column to its left.

The Ctrl-x = command displays in the echo area information pertaining to point. It shows the size of the buffer, the character position in the buffer corresponding to point, that character's column, and the value of that character in decimal, hex, and "normal" character representation, as well as the character's name for non-ASCII characters.

The count-words command displays the number of words in the current buffer. Highlight a region first and it will count only words in the region. With a numeric argument, it prompts for a search pattern and then counts the number of instances of that pattern.

Standard bindings:

  Ctrl-l  center-window
 Ctrl-v, <PgDn>  next-page
 Alt-v, <PgUp>  previous-page
 Ctrl-z  scroll-up
 Alt-z  scroll-down
 <Home>, Alt-<Comma>  beginning-of-window
 <End>, Alt-<Period>  end-of-window
   line-to-top
   line-to-bottom
 Ctrl-x =  show-point
 Ctrl-x L  count-lines
 Ctrl-x g  goto-line
 Ctrl-c Ctrl-w  count-words
 



Previous   Up    Next
Interrupting a Command  Commands by Topic   Horizontal Scrolling


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.