Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      . . .
      Changing Text
         Inserting and Deleting
         Killing Text
         Clipboard Access
         . . .
         Hex Mode
      Language Modes
         . . .
         Perl Mode
         PostScript Mode
         Python Mode
         Shell Mode
         TeX Mode
         . . .
      More Programming Features
         Pulling Words
         Accessing Help
         Commenting Commands
      . . .

Previous   Up    Next
PostScript Mode  Commands by Topic   Shell Mode


Epsilon User's Manual and Reference > Commands by Topic > Language Modes >

Python Mode

Epsilon automatically enters Python mode when you read a file with an extension of .py. In Python mode, Epsilon does appropriate syntax highlighting. Tagging, comment filling, and other commenting commands are also available. Auto-indenting adds an extra level of indentation after a line ending with ":", and repeats the previous indentation otherwise.

When the cursor is on a brace, bracket, or parenthesis, Epsilon will try to locate its matching brace, bracket, or parenthesis, and highlight them both. If the current character has no match, Epsilon will not highlight it. Set the variable auto-show-python-delimiters to zero to disable this feature.

Set the python-indent variable to alter the level of indentation Epsilon uses. (Tab widths in Python files are always set to 8, according to Python standards.) Set compile-python-cmd to modify the command line used by the compile-buffer command for Python buffer.

Press Alt-' to display a list of all subroutines defined in the current file. You can move to a definition in the list and press <Enter> and Epsilon will go to that definition, or press Ctrl-G to remain at the starting point.

Standard bindings:

    python-mode
 



Previous   Up    Next
PostScript Mode  Commands by Topic   Shell Mode


Lugaru Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.