Re: Indendation of Progress code

2007-01-10 Thread Jürgen Krämer

Hi,

Thomas Michael Engelke schrieb:
 
 I have a problem with indendation of a piece of Progress code. It's
 representative of a bit of indendation problems I have now and again,
 always indenting way too far without any visible cause. I hope someone
 can reproduce the issue.
 
 I've attached the problematic file (zipped) to this post. When I am in
 line 771 and use O (shift+o, that's the letter, not the number), I get
 the cursor one line up, but indented by 49 chars, not (as I would
 expect) 7. I'm not sure if this is a problem of vim, a problem of the
 Progress syntax file or a problem of my configuration.
 
 Please hint me in the right direction.

you seem to have

  set cindent

somewhere in one of your loaded scripts. Check where it has been set
with

  verbose set cindent?

and remove it from the script.

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)


Re: Indendation of Progress code

2007-01-10 Thread Thomas Michael Engelke

2007/1/10, Jürgen Krämer [EMAIL PROTECTED]:


Hi,

Thomas Michael Engelke schrieb:

 I have a problem with indendation of a piece of Progress code. It's
 representative of a bit of indendation problems I have now and again,
 always indenting way too far without any visible cause. I hope someone
 can reproduce the issue.

 I've attached the problematic file (zipped) to this post. When I am in
 line 771 and use O (shift+o, that's the letter, not the number), I get
 the cursor one line up, but indented by 49 chars, not (as I would
 expect) 7. I'm not sure if this is a problem of vim, a problem of the
 Progress syntax file or a problem of my configuration.

 Please hint me in the right direction.

you seem to have

  set cindent

somewhere in one of your loaded scripts. Check where it has been set
with

  verbose set cindent?

and remove it from the script.

Regards,
Jürgen


Hello Jürgen and the others,

thanks, that fixed the problem asap. I love this mailing list.

On a related matter, I actually liked the indendation most of the
time. Seldom I had a problem like this one today. Is there a indent
like the next/previous line, whichever has code-solution build-in?

Regards,

Thomas

--
GPG-Key: tengelke.de/thomas_michael_engelke.asc