From: Lane S. <la...@op...> - 2003-08-01 15:05:46
|
Marc, I am going to send you a template off line to generate a completely formatted java class with all the indents. It does a lot of what you are trying to do. -Lane Keats wrote: >Marc, > >It's really not as bad as you're making it out to be. The only known bugs with whitespace handling are the implicit #begin and #end problems. You can avoid this altogether by using curly braces when you need precise control of whitespace. > >The rules are a bit complex, but they were hashed out exhaustively and there is some logic behind them. > >If you have a specific case that's giving you trouble I'd be glad to take a look. > >Keats > >-------Original Message------- >From: Marc Palmer <ma...@an...> >Sent: 08/01/03 07:21 AM >To: web...@li... >Subject: [Webmacro-devel] Whitespace :( > > > >> >> >Guys, > >I know this is such a seriously unpopular subject... but WM is really very > >horrible to use to produce nicely formatted text output. The whitespace >eating is just so hard to work with. > >WM's currently rules are generally fine for HTML due to the filtering of >consecutive whitespace inherent in HTML rendering, but for text output it >is really horrible. > >For example I am trying to get nice SQL statements generated from >metadata, >without commas on their own line, with spaces after commas (if I can get >them on the same line), with spaces before and after optional NOT NULL but > >without them being on their own line. > >It's just nasty, I'm not sure I can even achieve the formatting I want, >which is really worrying. > >I'm sure you are all well aware of this - but putting my "average joe >webmonkey" hat on here, I'd be smashing my screen to pieces with a hammer >by now at the -apparent-stupidity of WM's whitespace handling. > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Webmacro-devel mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > -- Lane Sharman Learn About Conga, All Java GUI Builder: http://opendoors.com/conga |