Thanks for the response Ben. Sounds like I should quit using the tab and
just uses spaces. The generated source gets pretty wild with all the tabs.

Steve

-----Original Message-----
From: Ben Johansen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 3:43 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Source Code Presentation


Hi,

According to the doc

Tab Size. Type the number of characters you want to equal one tab
character. The default is "3"

So apparently the tab character is stored in the html and that this
setting tell dev. Studio how many spaces to use per tab. 

The tab set is going to be different based on client.


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I am going behind bars for the MDA; come to
my site for details on how to bail me out
http://www.pcforge.com/MDALockup.htm
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 


-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2003 1:13 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Witango-Talk: Source Code Presentation

Ben,

Here is code from an include in a taf as displayed in the browser
generate
source code:

          <td valign="top"> 
            <table width="568" border="0" cellspacing="0"
cellpadding="0"
bgcolor="#FFFFFF">
              <tr> 
                <td valign="top" align="left">

Notice 2 space indentation for each level

Here is code from later on in the same browser generate source code only
this is from a results action in the same taf:

<table width=100% border=2 cellspacing=0 cellpadding=4>
        <tr height=0>
                <TD COLSPAN="3" ALIGN="CENTER" BGCOLOR="#C0C0C0">

Notice leading tabs versus leading spaces. Maybe I am misunderstanding
the
way the preferences work in the dev studio. Maybe when you hit tab that
is
what you get, but it only display the number of spaces that you indicate
in
the preferences. Maybe I should quit using the tab when aligning code in
the
dev studio and use spaces instead.

Steve

-----Original Message-----
From: Ben Johansen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 2:52 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Source Code Presentation


Do you have an example snippet of the output where is shows 2 tabs?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I am going behind bars for the MDA; come to
my site for details on how to bail me out
http://www.pcforge.com/MDALockup.htm
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 


-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2003 12:45 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Witango-Talk: Source Code Presentation

HTML

-----Original Message-----
From: Ben Johansen [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 2:20 PM
To: [EMAIL PROTECTED]
Subject: RE: Witango-Talk: Source Code Presentation


What source are you trying to display; Witango or HTML?


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
I am going behind bars for the MDA; come to
my site for details on how to bail me out
http://www.pcforge.com/MDALockup.htm
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller 


-----Original Message-----
From: Fogelson, Steve [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 23, 2003 2:00 PM
To: Witango User Group (E-mail)
Subject: Witango-Talk: Source Code Presentation

This might seem a little trivial, but I wanted to see if there was
something
I could do to make generated source code more presentable.

In the Dev Studio, there is an "preference" option. Under the "Text"
tab,
there is a "Tab Size". I have this set to 2. This places 2 spaces per
tab
when displaying code for "results" actions in the dev studio.

When html code is actually generated and sent to the browser, it places
tabs
instead of spaces. IE: 2 tabs instead of 2 spaces.

Any way to change this?

Thanks

Steve Fogelson
Internet Commerce Solutions
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to