Re: I've often wondered...

2008-10-08 Thread RobS

Thanks Rich. That makes perfect sense, as always. ;-)

Rob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~--~~~~--~~--~--~---



Re: I've often wondered...

2008-10-07 Thread Rich Siegel

On 10/7/08 at 1:35 PM, [EMAIL PROTECTED] (RobS) wrote:

>In the Get Info dialog, for an XHTML document, what is counted as
>words?

A "word" to BBEdit is a run of word characters bounded by one 
(or more) non-word characters. So, for your HTML example, the 
word count doesn't tell you how many words will be in the 
rendering, and it will include runs of word characters inside of 
elements, attributes, and attribute values, not just content.

>And I'm guessing paginate is also counting the pages including code,
>not any possible rendered version.

That's correct.

R.
-- 
Rich Siegel Bare Bones Software, Inc.
<[EMAIL PROTECTED]>  

Someday I'll look back on all this and laugh... until they 
sedate me.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~--~~~~--~~--~--~---



I've often wondered...

2008-10-07 Thread RobS

...and now I need to know. (And being a good boy scout, I did search
the Manual and the Help too.)

In the Get Info dialog, for an XHTML document, what is counted as
words? Take this code fragment for example...

< div class="img-lock" >
< a href="art/j-some.html" onclick="popup('art/j-some.html'); return
false;" >
< img src="imgs/j-some-sm.jpg" alt="Some Picture Here, 1950"
width="94" height="140" / >< /a >< br / >
< i >Some Picture Here< /i >, 1950
< /div >

How many words? Just the 4 that are visible when the page is rendered
in a browser? Or would it be 8, including the alt tag's contents? Or
more?

Chars and lines will be everything in the code, I suppose. And I'm
guessing paginate is also counting the pages including code, not any
possible rendered version. So it's just words I'm unclear about.

Rob

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~--~~~~--~~--~--~---