Restriction of text files

Discussion in 'Windows 8 Help and Support' started by StefanStojkovski, Mar 3, 2014.

  1. StefanStojkovski

    StefanStojkovski Active Member

    Joined:
    Jan 25, 2014
    Messages:
    9
    Likes Received:
    0
    I mean, i understand that text files are meant to be simple, but why isn't there a format that allows using colors in your text file, and possibly bold, italic and underline. I mean it would be very useful, since windows doc files are too slow to open and to complicated to edit. Also .java, .html and all of those file extensions represent nothing more then colored text files. An extension .ctxt could stand for colored text file.
    Is there an explanation someone can offer?
     
  2. MikeHawthorne

    MikeHawthorne Essential Member
    Microsoft Community Contributor

    Joined:
    May 25, 2009
    Messages:
    6,049
    Likes Received:
    300
    Hi

    Windows .txt files go back to .dos, before people even had color monitors.

    They don't have the capability to contain the kind of formatting that modern document files use.
    That's why Word always warns you when you are going to save something as a .txt file, if it is in another format before you do it.

    If you changed them to allow colored text and all of that sort of things they wouldn't be text files anymore, they would be .doc files.

    Even .doc is giving way to other formats now.

    Formats like .pdf can contain pretty much anything you want to put in them including images and still retain a fairly small size.

    I haven't really noticed that .doc files are hard to edit or slow to open, but I suppose the fact that they allow for the additional options in formatting is what would make then that way.

    Mike
     
  3. davehc

    davehc Microsoft MVP
    Premium Supporter Microsoft MVP

    Joined:
    May 1, 2008
    Messages:
    5,116
    Likes Received:
    301
    You could use the built in Wordpad. I have this as my default, rather than notepad, as my quick edit program. It saves as an "rtf", which is the next best, or quickest, for notes.


    RTF.PNG
     
    #3 davehc, Mar 4, 2014
    Last edited: Mar 4, 2014
  4. MikeHawthorne

    MikeHawthorne Essential Member
    Microsoft Community Contributor

    Joined:
    May 25, 2009
    Messages:
    6,049
    Likes Received:
    300
    Hi again.

    How does that happen, I typed the message below and then re-saved it as a text file and got the results that I always have.

    I typed this message and saved it as a doc file and a text file.

    [​IMG]
    This is what I got when I opened the text file?
    [​IMG]
    Mike

    Ps. Sorry I missed the part about saving in Rich Text Format, I thought you were really doing that as a text file. LOL
     
    #4 MikeHawthorne, Mar 4, 2014
    Last edited: Mar 4, 2014
  5. davehc

    davehc Microsoft MVP
    Premium Supporter Microsoft MVP

    Joined:
    May 1, 2008
    Messages:
    5,116
    Likes Received:
    301
    If you save as a .txt file, normally a message pops up and warns you that all format and personalisation will be lost. In fact, that is what does happen.
    LOl. My turn to apologise, Mike. I didn't scroll down and see your last sentence!
     
  6. StefanStojkovski

    StefanStojkovski Active Member

    Joined:
    Jan 25, 2014
    Messages:
    9
    Likes Received:
    0
    Thanks so much, i totally forgot about WordPad and .rtf! That is just the thing i'm looking for. It opens fast and is not restricted by the width of a page format like in word. I can comfortably write code in it. Thanks!
     
  7. Bergwen

    Bergwen New Member

    Joined:
    Mar 6, 2014
    Messages:
    1
    Likes Received:
    0
    Other great applications that doesn't modify the text formatting at all and allows you to use syntax highlighting instead are notepad++(cross platform) and VIM(cross platform).

    Sent from my SM-N900V using Tapatalk
     
  8. patcooke

    patcooke Microsoft MVP
    Staff Member Premium Supporter Microsoft MVP

    Joined:
    May 16, 2010
    Messages:
    5,455
    Likes Received:
    268
    If you want a text editor for writing code I'd check out edit plus. I've used it for many years and find it perfect for general text editing as well as a for a host of languages for which it has excellent color coding features:

    http://www.editplus.com/
     

Share This Page

Loading...