Re: folding error for C files

2006-08-25 Thread Bram Moolenaar
Gautam Iyer wrote: > I noticed the following problem when typing C files: If you enter a "{" > on the last line of a file, and press enter, then the last two lines > become a closed fold *CONTAINING* the cursor. You can not see the > cursor, or the "{" in the previous line, until you type some te

folding error for C files

2006-08-24 Thread Gautam Iyer
Hi Bram, I noticed the following problem when typing C files: If you enter a "{" on the last line of a file, and press enter, then the last two lines become a closed fold *CONTAINING* the cursor. You can not see the cursor, or the "{" in the previous line, until you type some text. At that point t