- Subject: Re: SLang Structures - indentation
- From: Jeremy Cowgar <jc@xxxxxxxxxx>
- Date: Mon, 12 Jan 2004 18:27:15 -0500
On Tue, 2004-01-06 at 06:56, Jeremy Cowgar wrote:
> Greetings.
>
> When editing S-Lang code, my structures are not formatting correctly. I
> am curious if anyone else has this problem, or a solution. An example is
> (I've included '.' where a space should be for formatting).
>
> typedef struct
> {
> ..name,
> ....age,
> ....state
> }
> Person_Type;
>
> That's how it is formatted via Jed. Two problems are, the name is only
> being indented two spaces, while the rest 4. The second, is that
> Person_Type is normally on the end of the bracket. This is how most of
> the sample code is and how I would also like my code to be:
>
> typedef struct
> {
> ....name,
> ....age,
> ....state
> } Person_Type;
>
> The problem occurs during the entry of the code as well as from
> Mode>Format Buffer
I am curious if anyone has any input on this?
Thanks!
----
jeremy <jc@xxxxxxxxxx>
May the Source be with you!
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]