unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* how to set comments indentation
@ 2005-04-23  1:55 Lei, Li
  0 siblings, 0 replies; only message in thread
From: Lei, Li @ 2005-04-23  1:55 UTC (permalink / raw)


Hi!

Anybody knows how to set comments indentation as well as code lines? For
example, change following block
for(int i = 0; i < num; i++)
{
// comment here
   if (s[i] == const)
   {
// find something
      flag = true;
      break;
   }
}

to

for(int i = 0; i < num; i++)
{
   // comment here
   if (s[i] == const)
   {
      // find something
      flag = true;
      break;
   }
}


Thanks and best regards

Lei, Li

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-23  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-23  1:55 how to set comments indentation Lei, Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).