all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.