help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is any extension in Emacs can shrink and expand a block of code


From: Andreas Röhler
Subject: Re: Is any extension in Emacs can shrink and expand a block of code
Date: Fri, 10 Aug 2012 19:04:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0

Am 10.08.2012 16:55, schrieb Qiang Yu:
Hi all,

Is there any extension in Emacs can shrink and expand a block of code?

For example:

int foo()
{
     return 0;
}

the content in "{}" can be shrunk to like:

int foo()
{...}

and I can expand it back.

Regards,
yuq


hs-minor-mode from hideshow.el

see also

cc-mode-help@lists.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]