CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 1:13 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Editor Feature: wrap selected text in tags
PostPosted: Sun Dec 12, 2010 5:52 am 
Offline

Joined: Sun Jul 19, 2009 4:42 am
Posts: 3
Here is how this feature works. Suppose you have the following text:
Code:
Friends List
Alex alex@example.com
Bart bart@example.com
Chad chad@example.com

So you highlight Friends List, and press the command key/button for the feature. A small window opens, and you type <h2> and press Enter. The automatic result is then:
Code:
<h2>Friends List</h2>
Alex alex@example.com
Bart bart@example.com
Chad chad@example.com

As you can see, the feature automatically terminates the tag at the of the selected text. You can then move down and surround each line with a <tr> and then each name and address with a <td>. I know there are already easy ways to make tables, but this is just an example. You can also use it to surround selected text with quotes, parenthesis, brackets, etc.

I don't know how hard that would be to implement, but I think it would be useful. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 26 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group