Writing HTML, etc, and text edit-help requested

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

Writing HTML, etc, and text edit-help requested

Post by Jeraldo »

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: 1023 Joined: Sat Sep 10, 2005 12:00 am

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

Post by Jeraldo »

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: 1023 Joined: Sat Sep 10, 2005 12:00 am

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

Post by Jeraldo »

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: 1023 Joined: Sat Sep 10, 2005 12:00 am

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

Post by Guy Johnson »

It's our little gremlin friends.
User avatar
Guy Johnson
Frequent Poster
Posts: 1336 Joined: Fri May 02, 2003 12:00 am Location: North Pembrokeshire
This is my few words.

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

Post by muzines »

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
muzines
Jedi Poster
Posts: 12332 Joined: Tue Jan 10, 2006 12:00 am
..............................mu:zines | music magazine archive | difficultAudio  | Legacy Logic Project Conversion

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

Post by Jeraldo »

Thank you for the suggestions, I'm already convinced!
Jeraldo
Frequent Poster
Posts: 1023 Joined: Sat Sep 10, 2005 12:00 am

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

Post by james_ogl »

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: Wed Jun 20, 2012 12:00 am

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

Post by james_ogl »

Sorry I messed up the address to the link I posted - should have been this: Sublime Text 2
james_ogl
Posts: 2 Joined: Wed Jun 20, 2012 12:00 am
Post Reply