Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Reformatting HTML
Can anyone explain why WF has a need to put a LOT of white space (CR/LF?) in my html pages when I save them in Developer Studio?

I'm not using the Resource tool directly - just handcrafting html pages from scratch (based on existing documentation examples and code output form the Resource tool.)

I find this quite annoying. I would rather not have to use a separate editor just for this...

Do folks out there just live with it?
Posts: 21 | Location: Springfield, MA | Registered: August 17, 2004Reply With QuoteReport This Post
<Pietro De Santis>
We just live with it!

Here's something even more annoying:

Using an external text editor (my favourite: EditPlus) you could handcraft a beautiful looking WebFOCUS program, with blank lines to separate sections and indentations to clarify the code. Open it up as source code in Developer Studio, and all the blank lines have been deleted and everything is left-justified.
Reply With QuoteReport This Post
Platinum Member
posted Hide Post
In 5.3 you will be able to use your editor of
choice in Dev Studio
Posts: 105 | Location: Boston | Registered: April 23, 2003Reply With QuoteReport This Post
posted Hide Post
will nuke the leading two blank lines at the top of the html output.(but maybe that's not what you're talking about??)
In writing code, i use the editor in MRE and have no problems with blank lines or indentations. All are respected. I often use TextPad for line numbering, the only complaint i have with the ibi editor. I sometimes edit an html launch page right from within 525 MRE, using Edit Source, and again, no problems. Is MRE an option for you?
I use old HomeSite for an alternative editor for html pages, [frontpage changes your code for you, although they say fp 2003 doesn't do that anymore]. Homesite per se isn't around anymore.its incorporated into macromedia now.
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteReport This Post
posted Hide Post
Thanks, all!

I am going to use Visual Studio or TextPad (for now), but would obviously prefer not to have to bounce around editors.

Susan, the problem isn't the two blank lines at the top. I keep my html pages separate from my fex's (-HTMLFORM webpage). We also don't use MRE. What seesm to be happening is that if WF finds a blank line, it adds one (or two) more! No whitespace, no added whitespace. I like my whitespace, but not to the extent of what I get when I let Dev Studio save my html files! Frowner

btw, Susan, I thoroughly enjoyed your session at last Friday's FUN, and, more importantly, the informal chat and informational tidbits afterwards. Thanks!
Posts: 21 | Location: Springfield, MA | Registered: August 17, 2004Reply With QuoteReport This Post
  Powered by Social Strata  

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.