Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      c-colon
      c-hash-mark
      c-mode
      c-open
      capitalize-word
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
c-hash-mark  Command Reference   c-open


Epsilon User's Manual and Reference > Command Reference >

c-mode

Do automatic indentation for C-like languages.

This command puts the current buffer in C mode, appropriate for editing programs written in any language with a syntax similar to C (such as EEL). In C mode, <Enter> indents each new line by scanning previous lines to determine the proper indentation. <Tab> reindents the current line when you invoke it with point inside a line's indentation. With point outside a line's indentation, or when repeated, this command adds more indentation.

By default, the find-file command automatically turns on C mode for files that end with .c, .cpp, .hpp, .cxx, .hxx, .y, .h, .java, .inl, idl, .acf, .cs, .i, .ii, .m, .mi, .mm, .mmi, or .e.

More info:

C Mode



Previous   Up    Next
c-hash-mark  Command Reference   c-open


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