Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Banister,</p> <p>I myself have searched for a long time for a nice and robust Cocoa Syntax Highlighter, and since I'm currently building a code-oriented text editor myself, that would be a major part of the project.</p> <p>So, I found out that there are plenty of Objective-C/Cocoa -friendly Syntax Highlighting libraries/components. For a starter (for something relatively basic, that is), I would suggest you have a look at :</p> <ul> <li><a href="http://parsekit.com/okudakit/" rel="noreferrer">OkudaKit</a> (using CSS for styling)</li> <li><a href="http://www.zathras.de/angelweb/sourcecode.htm" rel="noreferrer">UKSyntaxColoredTextDocument</a> by Uli Kusterer (pretty nice try)</li> </ul> <hr> <p>However, if you really need something <strong>POWERFUL, well-tested and still Cocoa-friendly</strong>, I would definitely suggest you to try <a href="https://launchpad.net/scintilla-cocoa" rel="noreferrer"><strong>the Scintilla component (for Cocoa)</strong></a>. The code is great, and the community (at <a href="http://www.google.gr/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CCUQFjAA&amp;url=http://groups.google.com/group/scintilla-interest&amp;ei=TpCBT4iPNIPdsgas9aS6AQ&amp;usg=AFQjCNEAUtMk9KokAPyua5vcCKzPY259Yg&amp;sig2=NVJELyhD5njArOQ_eUJe2Q" rel="noreferrer">Scintilla-Interest</a> Group) will gladly help you iron out any issues you may encounter.</p> <p><strong>In a few words :</strong></p> <p>I'm currently using on an about-to-be-release big project and it's working beautifully for me.</p> <hr> <h2>Scintilla</h2> <blockquote> <p><strong>Scintilla</strong> is a free library that provides text-editing functions, with an emphasis on advanced features for source code editing. SciTE (cross-platform), Geany, Notepad++ (Windows), and Notepad2 (Windows) are examples of standalone editors based on Scintilla.</p> </blockquote> <p><strong>Scintilla Editing Component in use <em>(SciTe)</em></strong></p> <p><img src="https://i.stack.imgur.com/Bwyjo.png" alt="Scintilla Editing Component"></p> <p><strong>Features</strong></p> <blockquote> <p>Scintilla supports many features to make code editing easier in addition to <strong>syntax highlighting</strong>. The highlighting method allows the use of <strong>different fonts, colors, styles and background colors</strong>, and is not limited to fixed-width fonts. The control supports error <strong>indicators</strong>, <strong>line numbering</strong> in the margin, as well as <strong>line markers</strong> such as code breakpoints. Other features such as <strong>code folding</strong> and <strong>autocompletion</strong> can be added.</p> </blockquote> <hr> <ul> <li><strong>Download Scintilla</strong> (the Cocoa support has been integrated in the main project) : <a href="http://www.scintilla.org/SciTEDownload.html" rel="noreferrer">http://www.scintilla.org/SciTEDownload.html</a></li> <li><strong>Example project</strong> (integrating Scintilla with Cocoa) : <a href="http://bazaar.launchpad.net/~mike-lischke/scintilla-cocoa/trunk/files/head:/cocoa/ScintillaTest/" rel="noreferrer">http://bazaar.launchpad.net/~mike-lischke/scintilla-cocoa/trunk/files/head:/cocoa/ScintillaTest/</a></li> <li>For <strong>complete documentation</strong>, have a look at : <a href="http://www.google.gr/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;ved=0CDAQFjAA&amp;url=http://www.scintilla.org/ScintillaDoc.html&amp;ei=n5CBT8XbIofZsgbfudXVBA&amp;usg=AFQjCNFrOGa6WnUeYKmwQzJ6U3ZLHHGxEQ&amp;sig2=XIBwiZ2xJN9IO6ktDqOcmg" rel="noreferrer">Scintilla Documentation</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload