Syntax highlighting editor component for iOS (iPad/iPhone)
$30-5000 USD
キャンセル
投稿日: 12年以上前
$30-5000 USD
完了時にお支払い
The project is to create a text editing component (like a UITextView) for iOS/iPhone/iPad that displays colored and higlighted syntax as you write. The component will be used as a source code editor for many languages. The project can be done in any programming language (my suggestion is to write it in Objective C) and can use 3rd party libraries and/or the solution can be based on some other open-source (or closed-source) project, if their license conditions allow using it in a commercial product. The result will be used in apps that will be released in Apple's App Store, so the component must conform to the rules (App Store Review Guidelines), especially you can't use any private API, which will cause the app to be rejected by Apple. This project is NOT to create an application, only the editor component.
See details below.
## Deliverables
**Reference application:**
* **Textastic** - <[login to view URL]>, <[login to view URL]>
* basically this editor is exactly what I want, it is VERY fast, even when scrolling and editing a file with 10000 lines
* note that this app includes a lot of other features (file manager, ftp server, remote connections, file sync, ...) which is NOT part of this project. The task of this project is only to create the source code editor component
* it uses syntax definitions from the Fraise project
**Requirements:**
* syntax highlighting
* only text and background colors and bold/italic font, no need to support different text styles
* the component must support multiple languages through definition files - you should deliver the component with a few definitions (for example definitions for C++, PHP and Java) to show its functionality, but I will then add definitions for all the languages I need.
* speed
* the component MUST be able to scroll ABSOLUTELY smoothly for documents of 5000 lines, editing (inserting text, removing, copy&paste) must also work smoothly, there must be no (or very very little) delay between when the user taps a letter on the on-screen keyboard and when the letter is shown on the screen
* appearance
* The component should allow to choose font and font size. It is OK to allow only non-proportional (monospace) fonts.
* There should be a column on the left that shows line numbers
* The current line should be highlighted (different background color)
Note that the speed/performance of this component is critical. I know of some available solutions (e.g. EGOTextView), but all of them are tend to be extremely slow (mostly when editing) even on a 200 lines file. Also commercial apps, like the Codify/Codea app (<[login to view URL]>) are often very slow.
Also I am open to any suggestions regarding this component (or the app that I want to create), but basically all I want is a user-friendly, functional and fast editor with syntax highlighting for multiple languages that allows to edit small and medium size files (up to 5000 lines). Seeing that the Textastic app has all of these requirements, it should be achievable. Feel free to ask any question.