All Projects → GuessEver → CodeEditorView

GuessEver / CodeEditorView

Licence: MIT license
Code Editor UITextView

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to CodeEditorView

see-cli
A colorful 🌈 cat - syntax highlight print CLI
Stars: ✭ 24 (+20%)
Mutual labels:  syntax, highlight
Gogrep
Search for Go code using syntax trees
Stars: ✭ 450 (+2150%)
Mutual labels:  syntax, code
remark-highlight.js
Legacy plugin to highlight code blocks with highlight.js — please use `rehype-highlight` instead
Stars: ✭ 58 (+190%)
Mutual labels:  syntax, highlight
Highlightjs Line Numbers.js
Line numbering plugin for Highlight.js
Stars: ✭ 323 (+1515%)
Mutual labels:  code, highlight
Vue Highlight.js
📜 Highlight.js syntax highlighter component for Vue.
Stars: ✭ 180 (+800%)
Mutual labels:  syntax, highlight
micro-code-analyser
A tiny Node.js microservice to detect the language of a code snippet
Stars: ✭ 21 (+5%)
Mutual labels:  syntax, code
Lowlight
Virtual syntax highlighting for virtual DOMs and non-HTML things
Stars: ✭ 310 (+1450%)
Mutual labels:  syntax, highlight
KodeEditor
A simple code editor with syntax highlighting and pinch to zoom
Stars: ✭ 60 (+200%)
Mutual labels:  syntax, code
Elm Syntax Highlight
Syntax highlighting in Elm
Stars: ✭ 61 (+205%)
Mutual labels:  syntax, highlight
Nord Highlightjs
An arctic, north-bluish clean and elegant highlight.js theme.
Stars: ✭ 49 (+145%)
Mutual labels:  syntax, highlight
laravel-markdown
A highly configurable markdown renderer and Blade component for Laravel
Stars: ✭ 159 (+695%)
Mutual labels:  code, highlight
colocat
Fegeya Colocat, Colorized 'cat' implementation. Written in C++17.
Stars: ✭ 14 (-30%)
Mutual labels:  syntax, highlight
Refractor
Lightweight, robust, elegant virtual syntax highlighting using Prism
Stars: ✭ 291 (+1355%)
Mutual labels:  syntax, highlight
Code Surfer
Rad code slides <🏄/>
Stars: ✭ 5,477 (+27285%)
Mutual labels:  syntax, code
Phpgrep
Syntax-aware grep for PHP code.
Stars: ✭ 185 (+825%)
Mutual labels:  syntax, code
reveal-code-focus
A Reveal.js plugin that allows focusing on specific lines of code blocks.
Stars: ✭ 108 (+440%)
Mutual labels:  code, highlight
PyTools
❤️❤️❤️ Cute Tools By Python
Stars: ✭ 51 (+155%)
Mutual labels:  code
coding-notes
I'm compiling comprehensive coding tutorials for many different languages and frameworks! 🐲
Stars: ✭ 201 (+905%)
Mutual labels:  syntax
evil-textobj-syntax
This package is a port of vim-textobj-syntax for emacs. It provides evil text objects for consecutive items with same syntax highlight.
Stars: ✭ 19 (-5%)
Mutual labels:  syntax
jsdoc-syntax.vim
Standalone JSDoc syntax for vim
Stars: ✭ 17 (-15%)
Mutual labels:  syntax

CodeEditorView

Build Status CocoaPods CocoaPods CocoaPods

Code Editor UITextView

Introduction

You can use it to edit code with highlight and auto indent

Useage

  1. import main header #import "CodeEditorView.h"
  2. create a view to your view
CodeEditorView* codeView = [[CodeEditorView alloc] initWithLanguage:CodeEditorLanguageCpp];
[codeView setFrame:self.view.frame];
[self.view addSubview:codeView];
  1. done!
  2. if you want to load code by code, use
[codeView loadText:@"#include <cstdio>\nint main() {\n\tprintf(\"hello world\");\n\treturn 0;\n}"];

Installation

  1. Simply drag folder CodeEditorView to your project
  2. Install with pod pod install CodeEditorView

Language

We support C, Cpp, Pascal and Java grammar highlight now

typedef enum {
CodeEditorLanguageC = 0,
CodeEditorLanguageCpp,
CodeEditorLanguagePascal,
CodeEditorLanguageJava,
CodeEditorLanguagePlain
} CodeEditorLanguageType;

Theme

We just have one theme now just like Xcode. Hope for more in the future.

Thanks

Module Git License
TextKit_LineNumbers https://github.com/alldritt/TextKit_LineNumbers.git MIT
RFKeyboardToolbar https://github.com/ruddfawcett/RFKeyboardToolbar.git MIT

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].