Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      reindent-after-vbasic-yank
      reindent-after-yank
      reindent-c-comments
      reindent-c-preprocessor-lines
      reindent-one-line-c-comments
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
reindent-after-yank  Variable Reference   reindent-c-preprocessor-lines


Epsilon User's Manual and Reference > Variable Reference >

reindent-c-comments: preference variable

Default value: 1

Bits in this variable control how C mode indents lines inside a comment. For block comments, this includes the line that starts the block comment only if its "/*" occurs at the beginning of the line.

The 2 bit makes Epsilon reindent block comment lines when yanking a block of text and automatically reindenting it.

The 4 bit makes Epsilon reindent a block comment line when you press <Enter> at the end of one, and c-reindent-previous-line would ordinarily permit Epsilon to reindent it. (If auto-fill is on, its rules will prevent such reindenting regardless of this bit.)

The 8 bit makes Epsilon reindent a one-line comment (a line beginning with //) when you press <Enter> at the end of one and c-reindent-previous-line would ordinarily permit Epsilon to reindent it.

The 1 bit permits reindenting block comment lines in all other commands like indent-region.



Previous   Up    Next
reindent-after-yank  Variable Reference   reindent-c-preprocessor-lines


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