Odd coding style support?
Submitted by Monday, 4 October, 2004 - 18:08
on
Hi,
I just started working on a new project that is using a very unique (read: I hate it) codeing style..
Any idea how I can modify the cplusplus.xlm so that it is more friendly to this style???
int x(int i)
...{
...switch(i)
......{
......case 1:
.........return 10;
......}
...return i;
...}
(ignore the dots. They were needed to maintain the structure)
Note that the body code and the {} line up, which is different from the so called "GNU coding style". I got it working so that the '{' is indented correctly but I can't seem to prevent jEdit from indenting again for the line following the '{'. Also, I can't see how I can tell jEdit to reduce the indent level for lines following a '}'..
Any help would be much appreciated.
I just started working on a new project that is using a very unique (read: I hate it) codeing style..
Any idea how I can modify the cplusplus.xlm so that it is more friendly to this style???
int x(int i)
...{
...switch(i)
......{
......case 1:
.........return 10;
......}
...return i;
...}
(ignore the dots. They were needed to maintain the structure)
Note that the body code and the {} line up, which is different from the so called "GNU coding style". I got it working so that the '{' is indented correctly but I can't seem to prevent jEdit from indenting again for the line following the '{'. Also, I can't see how I can tell jEdit to reduce the indent level for lines following a '}'..
Any help would be much appreciated.