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

Re: [StrongED] StrongED 4.69b5 C mode weird indentation

In message <2695ea6e53.fjgraute@xxxxxxxxx>
          Fred Graute <fjgraute@xxxxxxxxx> wrote:

> This is probably caused by the addition of the SmartIndent section. The
> default smart indent size is 2 so that would explain why one space is
> added - the Tab being the first indent char. [1]

> You could try setting the smart indent size to 1 in the C ModeFile.
> If that still isn't to your liking then comment out the SmartIndent
> section.

This has exactly the same effect: there is still one additional space 
inserted before my text.

Commenting out the complete SmartIndent section (or setting the indent 
size to 0) removes any indentation that I have done after the opening 
bracket position.

> [1] I'm not sure if a Tab should count as 1 character or if its width
> should be used. Something to look at for 4.70 I think.

Maybe this is part of the problem; going back to SE v4.67 (I have no 
v4.68 in access) I can see that a TAB character is counted as the 
configured tab width in column,line display but in v4.69 (a7,b3,b5) it 
counts only as one character (== column).

Looking at the dark side - I am using TextPad as editor on my Windows
systems (at work) - then it also counts a TAB character with its 
configured width.

> Cheers,
> Fred.

Best regards,


To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx