You are here

Writing HTML, etc, and text edit-help requested

For current or would-be users of Apple Mac computers, with answers to many FAQs.

Writing HTML, etc, and text edit-help requested

Postby Jeraldo » Tue Jun 19, 2012 10:19 pm

Learning HTML.
You already know what happens with Text Edit.
Anything saved as txt OR html still opens they way it would appear in a browser when opening in TextEdit.

The TextEdit preferences:

They seem to be set correctly.

Open and Save:
Ignore rich text commands in HTML files
...........................................in RSS files

New Document:
Plain Plain Text

I using 10.6.8
and TextEdit 1.6

Suggestions? Again, whether saved as html or txt files they still open in TextEdit as if in a browser.
Thanks!
Jeraldo
Frequent Poster
Posts: 1020
Joined: Fri Sep 09, 2005 11:00 pm

Re: Writing HTML, etc, and text edit-help requested

Postby Jeraldo » Tue Jun 19, 2012 11:40 pm

I don't understand it. With the suffix htm or html
I can write in TextEdit, open things in a browser-everything appears as it should.
I open it again in TextEdit, I get the text.
I can make changes.
I can do this three or four times.
Then inexplicably, the next time it opens in TextEdit it appears as it would in a Browser, and thereafter any more HTML writing is gone.
The only thing that's happening is the same file is opened repeatedly in a browser and repeatedly in TextEdit.
Jeraldo
Frequent Poster
Posts: 1020
Joined: Fri Sep 09, 2005 11:00 pm

Re: Writing HTML, etc, and text edit-help requested

Postby Jeraldo » Wed Jun 20, 2012 1:33 am

The problem seems to have solved itself.
Did some utility disk housekeeping, and resets of preferences, and it's working consistently.
I wouldn't hazard a guess on the cause nor the solution to the problem.
Jeraldo
Frequent Poster
Posts: 1020
Joined: Fri Sep 09, 2005 11:00 pm

Re: Writing HTML, etc, and text edit-help requested

Postby Guy Johnson » Wed Jun 20, 2012 9:02 am

It's our little gremlin friends.
User avatar
Guy Johnson
Frequent Poster
Posts: 1329
Joined: Thu May 01, 2003 11:00 pm
Location: North Pembrokeshire

Re: Writing HTML, etc, and text edit-help requested

Postby desmond » Wed Jun 20, 2012 10:18 am

Do yourself a favour: don't use TextEdit.

A good text editor is a beautiful thing. If you can't stretch to BBEdit or TextMate, then grab the free lite version of BBEdit:

http://ash.barebones.com/TextWrangler_4.0.1.dmg
User avatar
desmond
Jedi Poster
Posts: 6455
Joined: Tue Jan 10, 2006 12:00 am

mu:zines | music magazine archive | Latest: MT Nov 90
Needed: SOS April 1993. Can you donate your copy to complete the early SOS archive?


Re: Writing HTML, etc, and text edit-help requested

Postby Jeraldo » Wed Jun 20, 2012 11:11 am

Thank you for the suggestions, I'm already convinced!
Jeraldo
Frequent Poster
Posts: 1020
Joined: Fri Sep 09, 2005 11:00 pm

Re: Writing HTML, etc, and text edit-help requested

Postby james_ogl » Wed Jun 20, 2012 11:59 am

I've recently started to use a nice code editor called
Sublime Text 2 - I think they're still working on it, but at the moment it's free to use and if you like it - it's not that expensive to buy.

The one downside is that it doesn't have code hinting built in at the monent which means it's not going to help you by giving hints.

It's worth a look even just for the nice colour schemes
james_ogl
Posts: 2
Joined: Tue Jun 19, 2012 11:00 pm

Re: Writing HTML, etc, and text edit-help requested

Postby james_ogl » Wed Jun 20, 2012 1:37 pm

Sorry I messed up the address to the link I posted - should have been this: Sublime Text 2
james_ogl
Posts: 2
Joined: Tue Jun 19, 2012 11:00 pm


Who is online

Users browsing this forum: No registered users and 2 guests