[seedit] Re: HTML5

  • From: Sven E Olsson <seeditmaxi@xxxxxxxxx>
  • To: seeditmaxi@xxxxxxxxxxxxx
  • Date: Mon, 14 Feb 2011 05:51:21 +0100

On 2011-02-14, at 05:21 , Sven E Olsson wrote:

> On 2011-02-14, at 02:00 , Scott Turner wrote:
>> I've been playing with HTML 5, setting my template and such. I love it!
>> SEEdit working nicely. The only thing I miss is Tidy doing indents.
>> Scott
> There is two alternative:
> 1) Auto Indent (TAB)
> 2) Shift Selection Right ( ctrl-cmd-+) or from the Text Menu
> I know this is popular also to html programmers, but be careful, indent is 
> and working good for structured languages like C++, Pascal and Java. Using it 
> on html, it could soon be chaotic, how do it works on paragraphs with a lot 
> of text? 
> I do a lot of debugging to other html developers, and when they send me the 
> pages, it is sometimes hopeless to read and understand. So the first thing I 
> have to do is to use the SEEdit feature Remove TAB in Selection (from the 
> Text Menu).
> Sven E

I forgotten:

Why is it used?
For easier debugging of code, structured languages like Pascal have also start 
and end tags, and using indent make it easier to find missed end or start tags 

SEEdit have an "Unbalanced Tag Checker" inbuilt that check for unbalanced tags 
on every open and save documents. So Save often, then you get a message at the 
bottom of the editor window if unbalanced tags is found, and that happens often 
when using copy and paste, at least for me.

And to have control on all the divs use comments to the  div end tags. It make 
it easier to debug the code. And try to use divs with an ID or css class to 
easier see/understand where it begin and ends.

HTML5 make it some easier, in html5 is more divs like header, nav, section, 
article and aside to make the code more readable and easier to understand.

But it is always what you like and don't like ..... and sometimes there is a 

Sven E

Sven E Olsson
Skype: seeditonskype
Yahoo: seeditmaxi
iChat: seeditmaxi@xxxxxxx

Post a Question ( new thread/subject ): seeditmaxi@xxxxxxxxxxxxx
Answer a Question: Reply
To Unsubscribe/Subscribe visit: http://seeditmaxi.cachefly.net/freelist.html

Other related posts: