Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      import-customizations
      incremental-search
      indent-for-comment
      indent-previous
      indent-region
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
incremental-search  Command Reference   indent-previous


Epsilon User's Manual and Reference > Command Reference >

indent-for-comment

Indent and insert a comment, or search for one.  Alt-;

This command creates a comment on the current line, using the commenting style of the current language mode. The comment begins at the column specified by the comment-column variable (by default 40). (However, if the comment is the first thing on the line and indent-comment-as-code is nonzero, it indents to the column specified by the buffer's language-specific indentation function.) If the line already has a comment, this command reindents the comment to the comment column.

With a numeric argument, this command doesn't insert a comment, but instead searches for one. With a negative numeric argument, it searches backwards for a comment.

More info:

Commenting Commands



Previous   Up    Next
incremental-search  Command Reference   indent-previous


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