Close Tag Block

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
csengh
Posts: 39
Joined: Fri Jul 07, 2017 12:32 pm

Close Tag Block

Post by csengh »

Hy!

Is any way to close tag block like in Chrome DeveloperTools panel?
.

Code: Select all

<div>...</div>
  <p>...</p>
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Close Tag Block

Post by Aivars »

If you write <div> then the editor will automatically add </div> unless you have disabled it. Look under menu Options -> Preferences -> Language Options -> HTML and see if Auto close HTML tags is checked.
Blumentals Software Programmer
csengh
Posts: 39
Joined: Fri Jul 07, 2017 12:32 pm

Re: Close Tag Block

Post by csengh »

Aivars wrote:If you write <div> then the editor will automatically add </div> unless you have disabled it.
Of course I need this option, I talk about to close the tag block (aka element's content)! So when I have a long <div> or any else element's code, for a better look I want to close it like in Chrome DeveloperTools panel:

Code: Select all

<body>
<div>...</div>   <!--like this  --> 
<div>...</div>   <!--like this  --> 
 <div>
   <p>...</p>
   <div>...</div>
   <p>Some text</p>  <!--now I want to work only with this paragraph so the rest of elements are closed  --> 
</div>
</body>
csengh
Posts: 39
Joined: Fri Jul 07, 2017 12:32 pm

Re: Close Tag Block

Post by csengh »

Ok, I found it. I talked about code collapse, exact what I need :P
But I want to close (not manually) all paragraphs in div and all tr(rows) in table. How can make it?

Because the Helpfile is very poor, please can somebody tell me how does it work Code Collapse for Selection , how can I modify the [-] sign on the gutter (where line numbers are located), I want to make the selection bigger or smaller or how can I delete the sign ?
.
Post Reply