From: Étienne B. <be...@gm...> - 2008-05-04 16:30:47
|
Hi, I tried modifying syntax-table, then adding c-lang-defconst, but didn't find the actual way to say "]" close the block. The current version is at http://live.gnome.org/Vala/Emacs , you can find sample code in http://live.gnome.org/Vala . Here is an example indented by Emacs : 1 public class Test { 2 [Description(nick="Option name", 3 blurb="Unique name of the option.")] 4 public string name {get; set construct;} 5 public string desc {get; set construct;} Should be : 1 public class Test { 2 [Description(nick="Option name", 3 blurb="Unique name of the option.")] 4 public string name {get; set construct;} 5 public string desc {get; set construct;} Currently, lines 1 is topmost-intro, 2 is defun-block-intro, 3 is statement-bloc-intro and 4 is statement-cont. I guess at least 4 is wrong and should be statement like 5. How to fix this ? Regards, Étienne. -- E Ultreïa ! |