On Aug 27, 2012, at 12:37 PM, Robert A. Rosenberg wrote:

> At 12:31 -0400 on 08/27/2012, [email protected] wrote about Re: Table Editor?:
> 
>> FWIW, I will often create the table of data in Excel or another spreadsheet 
>> program, then copy&paste into a text document in BBEdit and
>> 1.      replace Tabs with </td><td>
>> 2.      replace end of line with </tr><tr>
> 
> Your method is almost enough. Two changes however. First start with:
> 
> <table><tr><td> and </table> and paste the Excel data just before the 
> </table>.
> 
> The end of line replace in (2) should be </tr><tr><td> (you need a <td> 
> before the first cell on each row). Also delete the extra </tr> just before 
> the </table> after the mass find/replace of the end of lines.
> 
> This will bracket each row with <tr>...</tr> and each cell with <td>...</td>.


Or do this:

        1.  Highlight your pasted data

        2.  Select Markup -> Tables... -> Convert to Table

-- 
Rod Buchanan

-- 
-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
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 feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>



Reply via email to