Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #58214

Re: RTF vs XCode

From Your Name <YourName@YourISP.com>
Newsgroups comp.sys.mac.system
Subject Re: RTF vs XCode
Date 2014-03-30 09:55 +1200
Organization Aioe.org NNTP Server
Message-ID <300320140955121829%YourName@YourISP.com> (permalink)
References (1 earlier) <290320140844592292%YourName@YourISP.com> <lh4t1v$a2s$1@solani.org> <280320142306408124%timstreater@greenbee.net> <290320141224355373%YourName@YourISP.com> <290320140802276974%timstreater@greenbee.net>

Show all headers | View raw


In article <290320140802276974%timstreater@greenbee.net>, Tim Streater
<timstreater@greenbee.net> wrote:
> In article <290320141224355373%YourName@YourISP.com>, Your Name
> <YourName@YourISP.com> wrote:
> > In article <280320142306408124%timstreater@greenbee.net>, Tim Streater
> > <timstreater@greenbee.net> wrote:
> > > In article <lh4t1v$a2s$1@solani.org>, ErikRS <mac-dane@is.invalid>
> > > wrote:
> > > > Your Name wrote:
> > > > > Siri Cruise <chine.bleu@yahoo.com> wrote:
> > > > >> My 10.6 has gone the way of all flesh and with it the ability to
> > > > >> properly
> > > > >> edit RTF in XCode. Are there any other edittors that can edit RTF
> > > > >> with
> > > > >> all the usual functionality like auto-indent?
> > > > >
> > > > > BBEdit is the more usual text editor used by programmers and HTML
> > > > > website creators, but I don't know if it handles RTF. RTF isn't really
> > > > > needed for such an editor when the colouring, etc. can be done
> > > > > on-the-fly on screen. http://www.barebones.com/products/bbedit/
> > > > 
> > > > Yes, BBEdit is the ultimate text editor. It has no direct saving 
> > > > functionality into /any/ file format. But it handles plain and styled 
> > > > text and it can be used for editing RTF and other files, because it 
> > > > always keeps the primary format as the saving format. I.e. if you open
> > > > a 
> > > > TXT file in BBEdit and use the COM+S, it will keep the .txt format, and 
> > > > if you open a RTF file, hit COM+S it will keep the .rtf format
> > > > 
> > > > Another benefit is that BBEdit can save directly into customized 
> > > > formats. I.e. if you open a TXT file (or any other file format), make 
> > > > your changes and select 'Save As' you can change the suffix from .txt
> > > > to 
> > > > .rtf, .doc, docx etc, and the saved tocument will be a document of the 
> > > > chosen file format. - And hereto fully formattings are kept as the 
> > > > original an d it's possible to add styled text to a .txt file!
> > > > 
> > > > Just tried with a RTF file which I first saved as a TXT file - all 
> > > > formattings are kept, - and then again back to a TXT file - all 
> > > > formattings are kept.
> > > 
> > > You seem to be implying that BBedit knows how to save a text file in
> > > Word format. RTF is just text, nothing special about it. Some
> > > applications will *interpret* it as styled text, but that's a different
> > > story.
> > > 
> > > Changing the suffix doesn't change the file format. It just changes the
> > > suffix. The file content is unaltered.
> > 
> > I don't know about BBEdit, but GraphicConverter is definitely "suffix
> > aware" - when in a Save As window, whatever suffix you type on the
> > filename will automatically change the file format it saves as (as will
> > choosing the format from the pop-up menu of course). If you type ".jpg"
> > or ".jpeg" the file saves as a JPG. If you type ".tiff" it saves as a
> > TIF, etc.
> 
> Well obviously. A .tiff is a different format from a .jpg or .png and
> the file sizes will be diffeent too.

You missed the point - GraphicConverter will change the actual file
format being saved based on what you type as the filename extenstion.




> A .txt file is just text. So is a .rtf file. 

Not strictly true. RTF contains text, but also contains formatting
instructions, and in the case of Microsoft's version it can also
contain images, tables, etc.




> You can save your text file as .doc but that doesn't make the file be 
> in Word format. 

*IF* BBEdit's Save As routines work the same way as GraphicConverter,
then that's exactly what will happen - I'm not saying it does since
I've never used it, but it is certainly possible to change the file
format based on the filename extension you use.

Changing the filename extension in the Finder will of course not change
the file format of any document. It will often simply change which
application will try to open the document when double-clicked.




> Try writing some simple text in a Word document, save it as .doc, and
> open that with BBedit and see how far you get.

I don't know about BBEdit, but Apple's TextEdit will certainly open
simple (and even mildly comlex) Word .doc documents and retain the
formatting where possible.

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

RTF vs XCode Siri Cruise <chine.bleu@yahoo.com> - 2014-03-27 20:26 -0700
  Re: RTF vs XCode Jolly Roger <jollyroger@pobox.com> - 2014-03-28 04:11 +0000
    Re: RTF vs XCode Siri Cruise <chine.bleu@yahoo.com> - 2014-03-27 23:35 -0700
      Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-28 14:30 +0100
        Re: RTF vs XCode Siri Cruise <chine.bleu@yahoo.com> - 2014-03-28 06:39 -0700
      Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 08:41 +1200
  Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 08:44 +1200
    Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-28 23:28 +0100
      Re: RTF vs XCode Tim Streater <timstreater@greenbee.net> - 2014-03-28 23:06 +0000
        Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 12:24 +1200
          Re: RTF vs XCode Tim Streater <timstreater@greenbee.net> - 2014-03-29 08:02 +0000
            Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-29 13:17 +0100
              Re: RTF vs XCode Tim Streater <timstreater@greenbee.net> - 2014-03-29 18:02 +0000
                Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-30 03:00 +0200
            Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-30 09:55 +1200
              Re: RTF vs XCode Tim Streater <timstreater@greenbee.net> - 2014-03-29 22:27 +0000
              Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-30 03:16 +0200
          Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-29 12:49 +0100
        Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-29 12:30 +0100
      Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 12:03 +1200
        Re: RTF vs XCode Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-03-28 23:56 +0000
      Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 12:20 +1200
        Re: RTF vs XCode ErikRS <mac-dane@is.invalid> - 2014-03-29 12:55 +0100
      Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 12:27 +1200
      Re: RTF vs XCode Your Name <YourName@YourISP.com> - 2014-03-29 12:32 +1200

csiph-web