Hi!
What happens if you select the whole text and choose Edit->Auto Indent?
Regards,
Johannes
Am Mittwoch, den 30.01.2008, 17:35 -0500 schrieb Sang Chul Choi:
> You're right. It is 2.2.0.
>
> Here is what I typed and got.
>
> int main ()
> {
> nice;
> nice;
> ok;
> if (x>0)
> {
> ok;
> }
> }
>
> But what I wanted was
>
> int main ()
> {
> nice;
> nice;
> ok;
> if (x>0)
> {
> ok;
> }
> }
>
> I could not get it.
>
> Thank you,
>
> Sang Chul
>
> On Wed, 2008-01-30 at 13:59 -0500, Johannes Schmid wrote:
> > Hi!
> >
> >
> > > I am using Anjuta 2.12.0 that is from ubunut package.
> >
> > There is no 2.12, I guess you mean 2.2!
> >
> > > I want to use auto
> > > indentation. It does not seem working. I tried to change anything. It
> > > does nothing. Maybe there is something I should have done. I unchecked
> > > "disable auto format" in the preference. Another question is that I want
> > > to have spaces rather than tab for indentation. I unchecked "use tabs
> > > for indentation." But, it still generates tabs than spaces when I type
> > > in codes.
> >
> > Hmm, pressing Ctrl-I should indent C/C++ source files and pressing
> > <Enter> should also indent the next line correctly.
> >
> > Are you sure you changed the correct preferences in "C/C++/Java" and in
> > the Editor plugin?
> >
> > Regards,
> > Johannes
>
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil