Text editor library

Discussion in 'Mac Programming' started by kikko088, Nov 15, 2013.

  1. kikko088 macrumors member

    Joined:
    Oct 13, 2010
    Location:
    Italy
    #1
    I search a way for create a little text editor for collapse and expand a portion of text (something like Xcode editor) I need it for create some HTML page (is for a personal app that I use for populate a database), which is the best way to do it?or there is same text editor library?


    Kikko088
     
  2. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #2
    NSOutlineView?

    Personally, I'd like to see someone use NSBrowser to make a folding text editor.
     
  3. gnasher729 macrumors P6

    gnasher729

    Joined:
    Nov 25, 2005
    #3
    NSTextView in MacOS X, UITextView in iOS.
     
  4. kikko088 thread starter macrumors member

    Joined:
    Oct 13, 2010
    Location:
    Italy
    #4
    ok, for now I use NSTextView but I don't know how can I create a collapse method, I want to know if there is some library that do it or if you can give me some tips or a way for do it!
     
  5. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    NSOutlineView has collapse/expand methods. I would probably start with that and customize it to be more suitable for text editing.
     
  6. kikko088 thread starter macrumors member

    Joined:
    Oct 13, 2010
    Location:
    Italy
    #6
    I find this library https://github.com/faceleg/ACEView that seems to be all I need, the problem is that I can't add it, I get an error, can you help me to add it on my project?

    I add the framework from build/prod/release to my project
    I copy ACEView folder on my project but I get an error: ACEView/ACERange.h is not found

    Where is the mistake?
     

Share This Page