Using Text Editor app

Hi,
I am have a long plain text doc and I would like to copy and paste it on to a rtf doc in Text Editor, however when I attempt this I am unsuccessful. Is this possible using the text editor? How do I acheive this. I would also like to understand what this app does but can't really find a clear explanation.
Thanks

The capabilities and features of TextEdit are intentionally both basic, and quite generic.
Many of the folks working with text extensively will tend toward the use of a full-on text editor such as the command line text editors vim or emacs, a GUI version of those editors such as MacVim or the emacs distros for OS X, or loading and using the (free) TextWrangler tool in place of TextEdit, or moving toward a purpose-built text-processing tool such as using Scrivener for writing or Xcode for programming.
For what you're probably up to here, I'd guess that TextWrangler is probably the best and most flexible approach.  That tool can read and write all sorts of different file formats and encodings, and it's GUI based — as you'd probably prefer to use here.
Text files can and do have various formats and various contents — different file organizations and different text encodings, whether using RTF, or a text file containing Unicode or ASCII / ISO Latin 1 or various other character encodings, so without some idea of what you're dealing with here, a more specific answer is difficult. 
"Simple" text files usually aren't, unfortunately.

Similar Messages

  • Regarding using text editor in 11g for writting query

    how can i use text editor in oracle 11g for writting query as in oracle 9i in which we use 'ed' command.

    user13063489 wrote:
    how can i use text editor in oracle 11g for writting query as in oracle 9i in which we use 'ed' command.This is really for asking in the database forum.
    However I assume you are using sqlplus
    If this is the case define the _EDITOR variable to one of the following as appropriate ....
    DEFINE _EDITOR=notepad
    DEFINE _EDITOR=vi
    For more assistance use the database general forum.

  • Simultaneously watch film and use text editor?

    I've been using an app called "Listen&Type" for years that allows me to open and control a film clip in a separate window and simultaneously call up a text editor for recording notes while watching the clip:
    http://www.nattaworks.com/english.html
    As you can see from their website, the app hasn't been updated in a while (and, judging by the last update of their website, probably never will be). My problem is that this app is PowerPC-based and I plan on upgrading to Mac OS X Lion when it comes out. But according to various reports, support for PowerPC apps via Rosetta will be dropped in Lion.
    Does anyone happen to know of an alternative to this app, i.e. one that offers similar functionality?
    Thanks.

    Try searching on MacUpdate and CNET Mac Downloads. As for Lion compatibility check out THIS.

  • Using Text Editor control in Visual Compose

    Hello,
    I have added Text Editor control in a input form with certain dimensions, but when I preview the form the text edit field has different height than my layout view.
    Do you know what am I doing wrong?
    Marcelo

    Hello marcelo,
    When you check the configuration panel (on the upper- right side). There's an option in layout "fit content" this might be on auto, you could change it to actual size.
    Regards

  • Simple text Editor App.. Saving Plain Text

    Hi All,
    I am trying to write my first text application in cocoa... I have got a working app from an Apple tutorial, however when saving, it uses the following:
    Code:
    - (NSData *)dataRepresentationOfType:(NSString *)aType
    NSData *data;
    [self setString:[textView textStorage]];
    data = [NSArchiver archivedDataWithRootObject:[self string]];
    return data;
    Which saves the content as not plain text. Is there anyway I can change the above to save as plain text ?
    Any help / direction would be great! Thanks,

    Perhaps something like this will work for you:
    NSString *s = [textView string];
    NSData *data = [NSData dataWithBytes: [s UTF8String] length: [s length]];

  • Using TEXT EDITOR in a Container

    Hi,
    I have one question about the scroll bar.
    I don´t know how can i control the scroll bar.
    Someone know which method can i use?
    Regards,
    Fred

    I understand about your explanation but this refers to vertical scroll, i didn't specify yet but i want some answer about the horizontal scroll. Sorry about that.
    Thanks for your answer.
    Regards,
    Fred

  • How to use long text editor in Webdynpro

    hi ,
    I want to use text editor in webdynpro.  I want to save the data in  long text.
    My requirement is the format of data should remain same(It should not get changed).
    Thanks
    SK

    Hi,
    use text editor uielement and bind it with a attribute of type string.  convert this string into a table using function module
    fill another internal table which is type compatible with table of SAVE_TEXT function module.
    CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text. 
    you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".
    similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.
    Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.
    Thanks
    Vishal Kapoor
    Edited by: vishal kapoor on Oct 19, 2010 3:51 PM

  • Text Editor -options

    Hi,
    I have been using text editor control.
    In this when we click load file button...an open prompt window appears..
    there we will be finding Files of type... dropdown..containing values like text(.txt) file and All file types..
    Is there any way to restrict this dropdown to single value..i mean to .txt file..should only be viewed omitting
    All files option in dropdown..
    i am using CL_GUI_TEXTEDIT..control...
    Is there any option to do it...
    Please Help me out.
    Thanks & Regards,
    Sandy.

    Hi Sandy,
    I don't think there is any method for this. As the dialog box opened is depending on your OS.
    But, you can cross check the uploaded file for  " .txt " using CP (contains pattern) function of string.
      DATA: xl type string.
      xl = '*.txt'.
      IF not P_FILE CP xl.  "P_FILE is name of file you will get.
    "Error"
    ENDIF.
    Sachin

  • Get the long text from Text Editor

    Hi,
    I am using text editor to enter the long text, after entering the text in the text editor
    when press the save button i am getting the long text into the internal table . this is working fine till here.
    But when press SAVE button , i want the text into the internal table  and  the text editor to be closed.
    but here i am not able to get the data into internal  table as it is again creating text editor .
    Can anyboby help me .

    Hi,
    Refresh the table.

  • Problem in reading the modified text from text editor

    Hi all,
    Im using text editor for saving the long text entered in the text editor as standard text in So10 tcode.
    Here im facing an issue in reading the text from text editor. That is, when the text is entered by the user for first time, then the below method reads the text successfully.   But when i do some changes in the existing text present in the text editor and try to read, then the modified text is not returned by the below method.
    I use the "CALL METHOD g_editor_ftext1->get_text_as_stream" to read the text. Given below is my code.
    CALL METHOD g_editor_ftext1->get_text_as_stream  
       IMPORTING
          text                   = ig_text_table
          is_modified            = g_xthead_updkz
        EXCEPTIONS
          error_dp               = 1
          error_cntl_call_method = 2
          OTHERS                 = 3.
    The return value of "is_modified" is always returned as 0.
    Could anyone pls help how to read the modified text using the above method?

    Check if this works and if it works then there should be some mistake in your coding
    REPORT abc.
    PARAMETERS:pa1 TYPE bwart.
    DATA: container TYPE REF TO cl_gui_docking_container,
          editor    TYPE REF TO cl_gui_textedit,
          report    TYPE syrepid,
          mod TYPE i,
          modon TYPE i.
    DATA:tlines    TYPE TABLE OF tdline,
         wa_tlines TYPE tdline.
    AT SELECTION-SCREEN OUTPUT.
      report = sy-repid.
      IF container IS INITIAL.
        CREATE OBJECT container
                     EXPORTING repid     = report
                               dynnr     = sy-dynnr
                               side      = container->dock_at_left
                               extension = 1070.
        CREATE OBJECT editor
                    EXPORTING
                         parent     = container.
      ENDIF.
      wa_tlines = 'This is test before a change'.
      APPEND wa_tlines TO tlines.
      CALL METHOD editor->set_text_as_r3table
         EXPORTING
               table              =  tlines
         EXCEPTIONS
               OTHERS             = 1.
      CALL METHOD editor->go_to_line( 1 ).
    START-OF-SELECTION.
      CLEAR tlines[].
      CALL METHOD editor->get_text_as_stream
                EXPORTING
                only_when_modified = '1'
                IMPORTING
                text = tlines
                is_modified = modon
                EXCEPTIONS
                error_dp = 1
                  error_cntl_call_method = 2
                  OTHERS = 3.
      IF modon = 1.
        WRITE 'Changed'.
      ELSE.
        WRITE 'Not changed'.
      ENDIF.
      WRITE modon.

  • OBJECT_OBJREF_NOT_ASSIGNED for Text editor

    We tried to use Text editor on a Screen which is RF enabled. It is working fine when we work in SAP. When this is being connected from LM01 the below error message is coming.
    Runtime error: OBJECT_OBJREF_NOT_ASSIGNED
    Exception: CX_SY_REF_INITIAL
    The code:
      IF g_editor IS INITIAL.
    *-- Create custom Container
        CREATE OBJECT g_editor_container
          EXPORTING
            container_name              = 'EDITOR'
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6
        IF sy-subrc <> 0.
        ENDIF.
    *-- Create  Text Editor
        CREATE OBJECT g_editor
          EXPORTING
          style                  = 0
          max_number_chars       = 28
          wordwrap_mode          = 2
          wordwrap_position      = 14
          wordwrap_to_linebreak_mode = cl_gui_textedit=>false
          parent                 = g_editor_container
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            OTHERS                 = 6
        IF sy-subrc <> 0.
        ENDIF.
    *-- Remove text editor toolbar
        CALL METHOD g_editor->set_toolbar_mode
          EXPORTING
            toolbar_mode           = cl_gui_textedit=>false
          EXCEPTIONS
            error_cntl_call_method = 1
            invalid_parameter      = 2
            OTHERS                 = 3.
    *--Remove text editor status bar
        CALL METHOD g_editor->set_statusbar_mode
          EXPORTING
            statusbar_mode         = cl_gui_textedit=>false
          EXCEPTIONS
            error_cntl_call_method = 1
            invalid_parameter      = 2
            OTHERS                 = 3.
      ENDIF.
    Can someone please suggest what is missing here.
    Thanks,
    NKumar

    Hi,
    Looking at the code the problem seems to be at:
    ==============
    IF g_editor IS INITIAL.
    Create custom Container
    CREATE OBJECT g_editor_container
    EXPORTING
    container_name = 'EDITOR'
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6
    IF sy-subrc 0.
    ENDIF.
    Create Text Editor
    CREATE OBJECT g_editor
    EXPORTING
    style = 0
    max_number_chars = 28
    wordwrap_mode = 2
    wordwrap_position = 14
    wordwrap_to_linebreak_mode = cl_gui_textedit=>false
    parent = g_editor_container
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    gui_type_not_supported = 5
    OTHERS = 6
    IF sy-subrc 0.
    ENDIF.
    Remove text editor toolbar
    CALL METHOD g_editor->set_toolbar_mode   " This point
    EXPORTING
    toolbar_mode = cl_gui_textedit=>false
    EXCEPTIONS
    error_cntl_call_method = 1
    invalid_parameter = 2
    OTHERS = 3.
    *--Remove text editor status bar
    CALL METHOD g_editor->set_statusbar_mode   " This point
    EXPORTING
    statusbar_mode = cl_gui_textedit=>false
    EXCEPTIONS
    error_cntl_call_method = 1
    invalid_parameter = 2
    OTHERS = 3.
    ENDIF.
    ===============
    You are creating the object "g_editor" and catching the exception. I think create object for g_editor is failing and since you are not checking this it is causing the problem.
    You can fix the code as follows:
    =====
    IF g_editor IS INITIAL.
    Create custom Container
    CREATE OBJECT g_editor_container
    EXPORTING
    container_name = 'EDITOR'
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    OTHERS = 6
    IF sy-subrc 0.
    ENDIF.
    Create Text Editor
    CREATE OBJECT g_editor
    EXPORTING
    style = 0
    max_number_chars = 28
    wordwrap_mode = 2
    wordwrap_position = 14
    wordwrap_to_linebreak_mode = cl_gui_textedit=>false
    parent = g_editor_container
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    gui_type_not_supported = 5
    OTHERS = 6
    IF sy-subrc 0.         -
    > put the below code under this if. That means the code is executed only
                                          if g_editor is created.
    Remove text editor toolbar
    CALL METHOD g_editor->set_toolbar_mode   " This point
    EXPORTING
    toolbar_mode = cl_gui_textedit=>false
    EXCEPTIONS
    error_cntl_call_method = 1
    invalid_parameter = 2
    OTHERS = 3.
    *--Remove text editor status bar
    CALL METHOD g_editor->set_statusbar_mode   " This point
    EXPORTING
    statusbar_mode = cl_gui_textedit=>false
    EXCEPTIONS
    error_cntl_call_method = 1
    invalid_parameter = 2
    OTHERS = 3.
    ENDIF.
    ENDIF.
    =====

  • Programmers text editor?

    I'm looking for a programmers text editor. Two features is has to have are syntax highlighting and the ability to select, cut and copy columns (not just rows).
    Any suggestions?
    /Raj/

    The two most commonly used text editors are BBEdit and TextMate.
    BBEdit: http://www.barebones.com/
    TextMate: http://macromates.com/
    Both have free demos and support plug-in syntax coloring for any non-standard coding you might do. TextMate is cheaper (in most cases) and several hardcore coders I know swear by it.
    If you don't want to spend money Text Wrangler is the free version of BBEdit and it does line numbers for sure and it does 4 character tab-stop columns but I'm not sure about column numbers exactly.
    Hope that helps,
    =Tod

  • WPC- Advanced Text Editor

    Hi,
    I want to have advanced text editor in my WPC web form. I went through the How To.. guide on creating a
    new web form and i saw in the section 6 that there is an element type htmleditadvanced which gives
    advanced text editor. But i couldnt see such a component in my editor components.
    I am using SP16. Can anyone let me know why it is missing or what needs to be done to get a advanced
    text editor. I am not looking for tinyMCE here.
    Regards
    BP

    On the solaris 10 for x86 os, I redirect some sysent
    table's interfaces like that SYS_read, SYS_pread,
    , SYS_pread64, SYS_readv, SYS_mmap.I'm afraid I still don't understand what you're saying. How did you redirect them?
    Then using Text Editor to edit a file, but my
    function was not be run. So I'm confused.Is this a generic editor (like vi) or something that you've compiled/written?
    Darren

  • IPhone 200 text plan & text plus app data usage??

    Hey everyone so i opted for the 200mb data plan and 200 texts, and i intend on using text plus app for most of my outgoing texts, but i wanted to know how much data that application uses? and does it need wifi or can i use 3G on it for texting other cell phones?

    Personally I would go with the highest plan you can get (2gb). After one month check your usage. If you didn't go over 200 (which you probably will), switch to the lower plan.

  • %20 issue for text editor

    Hi All,
    I have an issue using text editor. I am trying to populate dropdown from R/3. For all the spaces it puts %20 in the text editor. Also, if I enter some data along with some spaces in the text editor and try to save it to R/3 then all the spaces are saved as %20.
    I am sure some of you might have come up with this issue and would have definitely found out some solution. Expcting your early help.
    NOTE: I am on SP16
    Thanks and Regards,
    Murtuza

    Hi,
    It seems that your entries are URL-escaped.
    Do you call a specific FM ?
    Best regards,
    Guillaume

Maybe you are looking for

  • My MBP won't sleep HD, and I have tried every solution already posted.

    This is a persistent problem that began over 1 year ago, so information about how this unit might have been configured when it began is no longer available, but I have scoured this and google in general, using all search terms I can think of and stil

  • So i dropped my ipod 5th generation in the bathtub a week ago how do i fix it it wont come on or charge what do i do?

    So I dropped my ipod in the bathtub a week ago and its not working what do I do

  • If one node maxed out

    I have the following scenario:           A request comes in through an MDB and takes the following path: (1)MDB ->           (2)SLSBx -> (3)some local class(es) -> (4)SLSBy. Step (3) is optional. At           step (4), though, the node reached max on

  • Web album help

    I need some help with Dreamweaver. All the questions pertain to the "create web photo album" function. 1) When i click on a picture, it opens up a the picture and the navigation menu. Is it possible to change the back ground from white to something e

  • Guixt scripts for all users

    Hi I've made some scripts through guixt but obviously only works in my PC, i supose it's posible to store these scripts in the server or something similar so many different users can run these scripts without going terminar by terminal "installing" m