- Subject: SLang Structures - indentation
- From: Jeremy Cowgar <jc@xxxxxxxxxx>
- Date: Tue, 06 Jan 2004 06:56:30 -0500
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
Thanks,
Jeremy
--------------------------
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]