Hi! See:

#indent#
<div class="#insertion#">
        #select#
</div>

Suppose I've got already indented code (as it always is..). I start
the selection to the same indentation of that code. Then I use the
above clipping. What happens is that:

- the div tag is properly placed and indented
- the FIRST line of the selected code is properly indented
- the subsequent lines of the selected code are wrong: again indented

like this:

--

original (first lines):

                                                        <h4>America</h4>
                                                              <div 
class="contacts-row"><!-- contacts-row -->
 
<div class="contact-item left">

---

after clipping insert (first lines):
                                                <div class="">
                                                        <h4>America</h4>
                                                                                
                <div class="contacts-row"><!-- contacts-row -->
                                                                                
                        <div class="contact-item left">
---

See that the clipping div is ok, the h4 is ok, but from <div
class="contacts-row">, all the subsequent lines the are indented
again, a lot.

is it a bug? Am I wrong? Is there any solution? Thank you.


-- 
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