hi there - I'll keep it simple, here's what I'm trying to do:<br>I'm converting a text doc to a HTML doc and I decide I want to enclose a paragraph in <p> tags (or whatever). so I manually select the paragraph and use my command-ctrl-. command and everything's beautiful. <br>
but wait I say to myself - I don't like having to take my fingers off the keyboard to select the paragraph... oh I'll just use TM's 'Select Paragraph' command (via recorded macro to assign keystroke). <br>
but it turns out it doesn't work the way I want it to: 'Select Paragraph' - and also 'Select Line' - both extend their selection past the last character out to an apparently 'infinite' margin... <br>
here is an example - I have this text:<br><br><div style="margin-left: 40px;">Orsay School Group Lottery FormFor K–12 school groups a limited number of free tickets are available for Monday-only viewings (9:30 a.m. to 1:30 p.m., October 4 through December 13, 2010). These tickets will be distributed as a lottery. Please read carefully the Orsay lottery guidelines below to determine if the lottery system is appropriate for your class. <br>
To apply, please complete the application below. For questions about the lottery, please e-mail <a href="mailto:kerickson@famsf.org">kerickson@famsf.org</a> or call 415-750-2603.<br></div><br>and I select the first paragraph using the 'Select Paragraph' command and then use the Cmd-Ctrl-. shortcut to enclose in <h3> this is what I get:<br>
<br><div style="margin-left: 40px;"><h3>Orsay School Group Lottery FormFor K–12 school groups a limited number of free tickets are available for Monday-only viewings (9:30 a.m. to 1:30 p.m., October 4 through December 13, 2010). These tickets will be distributed as a lottery. Please read carefully the Orsay lottery guidelines below to determine if the lottery system is appropriate for your class. <br>
</h3>To apply, please complete the application below. For questions about the lottery, please e-mail <a href="mailto:kerickson@famsf.org">kerickson@famsf.org</a> or call 415-750-2603.<br></div><br>notice that the </h3> tag is on the next line - obviously this is undesirable and it slows down my coding way too much to have to then manually take my cursor over and insert a return after the closing tag - so much that it is obviously not worth it. <br>
<br>so for the sake of my being able to write readable code how do I accomplish this?<br><br>thanks.<br>bennett<br>