EmEditor (text editor) Forum Index EmEditor Core Enhancement Suggestions
Highlight/Colour matching tags... | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Yutaka | Posted on: 9/28/2011 10:12 am |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2401 |
Re: Highlight/Colour matching tags... Hi Deipotent,
This is one of features I would like to add in future versions. Thanks!
|
| CrashNBurn | Posted on: 9/28/2011 8:31 am |
Just can't stay away ![]() ![]() Joined: 4/8/2010 From: Posts: 130 |
Re: Highlight/Colour matching tags... Deipotent says: Quote:
The other thing WeBuilder does is to highlight the start and end tag of the current block you are in in a light green colour, and if one of them is missing it will highlight that tag in light red. This is useful as a quick visual indicator that tags are matched. I've attempted numerous times, unsuccessfully, to setup a custom "brace matching/indentation" (code folding) for HTML, but since there are so many valid closing tags it's not possible --- thus one is limited to code folding only exactingly indented HTML. The other aspect of tag matching, the tag is not matched when it is "closed" at the wrong depth, and is "mis-matched" when closed inside an open tag. e.g. Appearance [Cursor NOT inside the div]: <div>some text<span>more text</div></span> e.g. Appearance [Cursor INSIDE the div]: <div>some text<span>more text</div></span> While EmEditor can't necessarily be everything to everyone, this would definitely lessen my need for other Editors. And code-folding inside matched tags that aren't necessarily "properly" indented would be awesome -- which I mention as it would be a side-effect that could be enabled if EmEditor counted the depth level of tags. |
| Deipotent | Posted on: 9/28/2011 6:11 am |
Just can't stay away ![]() ![]() Joined: 2/15/2008 From: Posts: 120 |
Highlight/Colour matching tags... I've been doing some web development recently and tested out a few specific web editors, including WeBuilder. This has a couple of features I found useful - one of which I've already requested: real-time Web Preview update (or preferably coonfigurable to update every x seconds).
The other thing WeBuilder does is to highlight the start and end tag of the current block you are in in a light green colour, and if one of them is missing it will highlight that tag in light red. This is useful as a quick visual indicator that tags are matched. It would be nice if this was configurable, so that text/regex start/end pairs could be added to a list. I know EmEditor supports Zen Coding, so not sure if this could somehow be added through that ? |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |




