Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Fixing Mistakes
         Undoing
         Interrupting a Command
      The Screen
         . . .
         Setting Colors
         Code Coloring
         Window Borders
         The Bell
      Buffers and Files
         Buffers
         Files
         File Variables
         . . .
         Buffer List Editing
      . . .

Previous   Up    Next
Code Coloring  Commands by Topic   The Bell


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

Window Borders

Under Windows and X11, you can control the title of Epsilon's main window. The variables window-caption-file, window-caption-buffer, and window-caption control what appears in Epsilon's title bar.

Use the command set-display-look to make Epsilon's window decoration and screen appearance resemble that of other editors. It displays a menu of choices. You can select Epsilon's original look, Brief's look, the look of the DOS Edit program (the same as the QBasic program), or the look of the Borland IDE.

The command toggle-borders removes the lines separating Epsilon's windows from one another, or restores them.

When there are no window borders, Epsilon provides each window with its own separate color scheme, in place of the single one selected by set-color. (You can still use set-color to set the individual colors in a color scheme, but Epsilon doesn't care which particular color scheme you select when it displays the contents of individual windows. It does use your selected color scheme for other parts of the screen like the echo area or screen border.)

The color schemes Epsilon uses for borderless windows have names like "window-black", "window-blue" and so forth. Epsilon assigns them to windows in order. You can remove one from consideration using the delete-name command, or create a new one using EEL (see Color Classes).

The rest of this section describes some of the variables set by the above commands. The set-display-look command in particular does its work entirely by setting variables. You can make Epsilon use a custom display look by setting these variables yourself. The variables also allow some customizations not available through the above commands.

The echo-line variable contains the number of the screen line on which to display the echo area. The avoid-top-lines and avoid-bottom-lines variables tell Epsilon how many screen lines at the top and bottom of the screen are reserved, and may not contain tiled windows. By default, echo_line contains the number of the last screen line, avoid-top-lines is zero, and avoid-bottom-lines is one, to make room for the echo area.

To Epsilon display text in the echo area whenever it's idle, set the variables show-when-idle and show-when-idle-column. See their online documentation for details.

To position the echo area at the top of the screen, set echo-line and avoid-bottom-lines to zero and avoid-top-lines to one. (If you're using a permanent mouse menu, set echo-line and avoid-top-lines one higher.)

To completely fill the screen with text, toggle borders off and set avoid-bottom-lines and avoid-top-lines to zero. Whenever Epsilon needs to display text in the echo area, it will temporarily overwrite the last screen line for a moment, and then return to showing buffer text on every line.

You can customize the position and contents of the mode line Epsilon displays for ordinary tiled windows by setting variables. These variables all start with "mode-". See the online help for mode-format for details. Also see the full-path-on-mode-line variable.

You can set several variables to put borders around the screen. If you want Epsilon to always display a window border at the right edge of the screen, set the variable border-right nonzero. (The toggle-scroll-bar command, which turns on permanent scroll bars for all windows, sets this variable.) Epsilon displays a border at the left screen edge if border-left has a nonzero value. Similarly, border-top and border-bottom variables control borders at the top and bottom edges of the screen, but only if a tiled window reaches all the way to that edge of the screen. (A menu bar might be in the way.) All these variables are zero by default. (Toggling all window borders off with the toggle-borders command overrides these variables.) If the border-inside variable is nonzero (as it is by default), Epsilon displays a border between side-by-side windows. Set it to zero to eliminate these borders. (The toggle-borders command sets this variable, among other things.)

Standard bindings:

    set-display-look
 



Previous   Up    Next
Code Coloring  Commands by Topic   The Bell


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.