NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[bug?] Auto close doesnt work for <strong>


Joined: 10 Feb 2004
Posts: 93
Reply with quote
Using registered version of 5 (build 5025).

Replicate issue (this is what I did):

  1. Go to Tools... Settings...
  2. Go to Editor section --> Reserved Words
  3. Change Language to HTML
  4. Under predefined functions and tags: scrolled down to strong
  5. Click the Edit Button
  6. Place a checkmark next to Auto close
  7. I also chose To Lower in the Change case: section, but this doesnt seem to affect the bug
  8. Click the OK button
  9. Click the OK button
  10. In your HTML file (or php file where you have switched back to html), type in <stron
  11. From the code completion list, choose <>strong
  12. Add your trailing > character


at this point, the IDE should automatically close the <strong> element with </strong>, but it doesnt. bug? or am I missing something?
View user's profileFind all posts by gilzowSend private messageAIM Address


Joined: 10 Feb 2004
Posts: 93
Reply with quote
I think it figured it out. It seems the IDE has problems with nested elements when they are next to each other. For example, if I have
Code:

<ul><li><strong>|</li></ul>

The IDE doesnt autoclose the <strong>, I guess, because it is inbetween/next to the closing </li>. It's doing the same thing for the <em> element. Actually, now that I look closer, it wont autoclose any elements that are embedded inside another if they are currently touching. So if you begin a <ul> and the IDE autocloses it, and then immediately begin a <li> it wont autoclose the <li>.

I would say this is definitely a bug.
View user's profileFind all posts by gilzowSend private messageAIM Address
[bug?] Auto close doesnt work for <strong>
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic