Don't Always Auto-complete End Tag

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

Don't Always Auto-complete End Tag

Postby BootBlock » Tue Mar 22, 2016 10:47 pm

Hi there,

just a little suggestion regarding the auto-completion of HTML tags (and possibly others; the parenthesis on PHP methods get auto-inserted even if they already (positionally) follow the caret).

As expected, typing the trailing > character causes the tag to auto-closed. For example:

Typing the right-angled bracket for <span> causes the editor to auto-insert </span>, which results in <span>|</span>.

All good so far, but say for example if you end-up modifying the starting <span> and then for whatever reason remove the > bracket, typing it again will cause the editor to once again complete it, resulting in <span>|</span></span>.

Proposal
The ending tag </span> (or whatever; just an example) should only be inserted if it doesn't immediately follow the caret, or maybe if there are no dangling tags of that type.
http://www.bootblock.co.uk .:. http://software.bootblock.co.uk
BootBlock
 
Posts: 6
Joined: Tue Mar 22, 2016 10:16 pm
Location: United Kingdom

Re: Don't Always Auto-complete End Tag

Postby Aivars » Tue Mar 29, 2016 11:05 am

Ok, I understand your suggestion. I'll add it to the list.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2456
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 15 guests