Menu

support .rtf

Wes Nathan
2009-03-14
2012-11-13
  • Wes Nathan

    Wes Nathan - 2009-03-14

    I have made Notepad++ my default replacement for Windows Notepad. It is one very powerful program. One thing I find curious, tho. I can't seem to find .rtf (rich text format) in the dropdown list of supported formats. There are over 50 formats on this list, but no .rtf. Am I missing it(can't see it for lookin')?

    If it isn't on the list, the next obvious question is, why not? I know Windows Notepad doesn't support it, either. But Wordpad does, and Notepad++ is 5 times the program Wordpad is.
    Thanks

     
    • gary coast

      gary coast - 2009-05-04

      Upon rereading, I think I'm the one that's wrong about the original question: the person probably did want WSWYG rtf which of course doesn't make sense because n++ is an editor and not a word processor.

      And I just found out that n++ DOES export to rtf.  Surprise.

       
    • Greg

      Greg - 2009-03-14

      The Microsoft RTF form is plain text. Hence, RTFs are easy enough to open through the Npp Open command. There is no syntax highlighting for RTF and so there is no real benefit of having a special save format for RTF. In any case, if you want to save a file as RTF, simply add '.rtf' to the filename in the Save dialog.

      If you open an RTF file then Npp remembers the extension. When you come to Save or SaveAs,  Npp provides the initial filename *with* the RTF extension as a default.

      I guess you might say Npp handles RTFs automatically without making a big deal about it.

      Hope this helps.

       
      • Fool4UAnyway

        Fool4UAnyway - 2009-03-15

        > If it isn't on the list, the next obvious question is, why
        > not? I know Windows Notepad doesn't support it, either. But
        > Wordpad does, and Notepad++ is 5 times the program Wordpad is.

        My guess is this poster want to use Notepad++ for processing and formatting text in .RTF markup, just like one uses Word for wword processing. (Perhaps the next obvious question would be why that can't be done in Notepad++.)

        Well, you can *edit* .RTF documents in Notepad++ just as well as .HTML documents, that is: you can edit the "code" or complete file that contains the markup (codes or tags) as well as the actual text contents.

        However, you cannot *show* the .RTF documents or .HTML documents as they are intended to *look*. That is because Notepad++ is not a "processor" but simply an editor: it allows you to edit the textual contents of the markup files.

        For .HTML there is HTML syntax highlighting available: it highlights the various tags you can use to markup the document in the final presentation.

        For .RTF such syntax highlighting is not (yet) available. But I guess this is not what the original poster wants.

        I guess he wants to be able to edit the representation of the document immediately (in WYSIWYG) as he can do in Wordpad. Well, simply use Wordpad (or even Word) for that.

         
    • gary coast

      gary coast - 2009-04-30

      I suspect the previous answers are very much missing the issue here which is: Can n++ export into .rtf so that whatever formatting (and other) that can be done in n++ (apart from what cut and paste picks up) can be migrated to another program (like Word) that understands/inputs .rtf

      For n++ to do this fully, it would be an ongoing development project  to keep up with new formatting (and other) features added to n++.  or you could look at it like, whatever limited .rtf capability can be had, that's good.

      rtf is not plain text in the sense that all you have to do is add the .rtf extension to a text file.  that's pretty funny.  like saying adding the .html extension  turns anything into an html file.

      I don't know anything about this (in an old thread):
      RE: Saving in rtf or html format
      By: FlakRat (flakrat) - 2006-12-27 21:50
      I'm not sure if there's a plug in for Notepad++, however SciTE has support for Edit->Copy as RTF.

      Since SciTE is a demo of features available in Scintilla, maybe Notepad++ will enable this feature in a future version (since it is also based on Scintilla).

      In the meantime, you can download SciTE. I use it when I want to copy and paste code into MS Word docs. I use Notepad++ when actually editing the source code.

      http://scintilla.sourceforge.net/SciTEDownload.html

       
MongoDB Logo MongoDB