Lugaru's Epsilon
Editor 14.04

Epsilon User's Manual and Reference
   Commands by Topic
      Advanced Topics
         . . .
         Updating from an Old Version
            Updating from Epsilon 7
            Updating from Epsilon 4
         Keys and their Representation
            Mouse Keys
         Customizing the Mouse

Previous   Up    Next
Keys and their Representation  Commands by Topic   Customizing the Mouse

Epsilon User's Manual and Reference > Commands by Topic > Advanced Topics > Keys and their Representation >

Mouse Keys

When you use the mouse, Epsilon generates a special key code for each mouse event and handles it the same way as any other key. (For mouse events, Epsilon also sets certain variables that indicate the position of the mouse on the screen, among other things. See The Mouse.)

 M-<Left>  M-<LeftUp>  M-<DLeft>  M-<Move>
 M-<Center>  M-<CenterUp>  M-<DCenter>  
 M-<Right>  M-<RightUp>  M-<DRight>  
 M-<Button4>  M-<Button4Up>  M-<DButton4>  
 M-<Button5>  M-<Button5Up>  M-<DButton5>  

Epsilon uses the above names for mouse keys when it displays key names in help messages and similar contexts. M-<Left> indicates a click of the left button, M-<LeftUp> indicates a release, and M-<DLeft> a double-click. See Customizing the Mouse before binding new commands to these keys.

Epsilon doesn't record mouse keys in keyboard macros. Use the equivalent keyboard commands when defining a macro.

There are several "input events" that Epsilon records as special key codes. Their names are listed below. See Window Events for information on the meaning of each key code.

 M-<MenuSel>  M-<HScroll>  M-<WinHelpReq>  M-<LoseFocus>
 M-<Resize>  M-<DragDrop>  M-<Button>  
 M-<VScroll>  M-<WinExit>  M-<GetFocus>  

Under Windows, Epsilon displays a tool bar. The toggle-toolbar command hides or displays the tool bar. To modify the contents of the tool bar, see the definition of the standard-toolbar command in the file menu.e, and the description of the tool bar primitive functions in Tool Bar Primitives.

The invoke-windows-menu command brings up the Windows system menu. Alt-<Space> is bound to this command. If you bind this command to an alphabetic key like Alt-p, it will bring up the corresponding menu (the Process menu, in this example).

In a typical Windows program, pressing and releasing the Alt key without pressing any other key moves to the menu bar, highlighting its first entry. Set the variable alt-invokes-menu to one if you want Epsilon to do this. The variable has no effect on what happens when you press Alt and then press another key before releasing Alt: this will run whatever command is bound to that key. If you want Alt-e, for example, to display the Edit menu, you can bind the command invoke-windows-menu to it.

Standard bindings:


Previous   Up    Next
Keys and their Representation  Commands by Topic   Customizing the Mouse

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