Search Unity

Suggestions for external text editor with OSX?

Discussion in 'Immediate Mode GUI (IMGUI)' started by shawnpigott, Mar 14, 2011.

  1. shawnpigott

    shawnpigott

    Joined:
    Sep 28, 2005
    Posts:
    262
    I'm working on a project to uses a large amount of text. I've tried using Pages and TextEdit to create text and paste it into a GUI.Label but both have fallen short by losing some of the formatting or characters. TextEdit appears better but it seems to strip apostrophes and quotation marks.

    Any suggestions for a better option/workflow?
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Unitron.

    --Eric
     
  3. bigkahuna

    bigkahuna

    Joined:
    Apr 30, 2006
    Posts:
    5,434
    Unitron +1
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    For C# MonoDevelop or VisualStudio if you have a virtual machine up anyway
     
  5. shawnpigott

    shawnpigott

    Joined:
    Sep 28, 2005
    Posts:
    262
    I have tried using Unitron but I must be missing something. When I cut and paste text into it, everything looks good but when I then cut and paste the text into Unity, it is missing apostrophes and quotation marks. If I Open the file with Unitron it replaces the apostrophes and quotation marks with this letter.

    â

    I just want to clarify that I'm talking about actual text here, not code. This is in game text that will be displayed using GUI.Label.
     
  6. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Code is text. Make sure you're using UTF-8 for the text encoding.

    --Eric
     
  7. shawnpigott

    shawnpigott

    Joined:
    Sep 28, 2005
    Posts:
    262
    True. Code is text. And I'm not saying there is anything wrong with that :)

    Unfortunately this still doesn't work but I have managed a relatively painless work around. If I select the offending characters, copy and paste them into 'find and replace' and then input the desire character, I am able to copy the modified text into Unity with apostrophes and quotation marks. It seems strange that there are 2 apostrophes. I kind of understand multiple quotation marks as they can be open or closed.

    Thanks for the help.
     
  8. Tom163

    Tom163

    Joined:
    Nov 30, 2007
    Posts:
    1,290
    TextMate. I swear by it and have always gone back to it even from IDEs.
     
  9. 01iv3r

    01iv3r

    Joined:
    Mar 6, 2011
    Posts:
    17
    I second that. TextMate is the one editor to rule them all on mac.
     
    Last edited: Mar 29, 2011