All Projects → vic797 → android_native_code_view

vic797 / android_native_code_view

Licence: other
A EditText with syntax highlight support

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to android native code view

fastedit
安卓端高性能输入框。
Stars: ✭ 38 (+65.22%)
Mutual labels:  syntax-highlighting, edittext
KodeEditor
A simple code editor with syntax highlighting and pinch to zoom
Stars: ✭ 60 (+160.87%)
Mutual labels:  syntax-highlighting, edittext
SubLilyPond
LilyPond syntax highlighting in Sublime Text 2 and 3.
Stars: ✭ 26 (+13.04%)
Mutual labels:  syntax-highlighting
tmux.vim
[DEPRECATED] .tmux.conf syntax highlighting
Stars: ✭ 47 (+104.35%)
Mutual labels:  syntax-highlighting
clojure.vim
Clojure syntax highlighting for Vim and Neovim.
Stars: ✭ 23 (+0%)
Mutual labels:  syntax-highlighting
hgrep
Grep with human-friendly search results
Stars: ✭ 335 (+1356.52%)
Mutual labels:  syntax-highlighting
highlight
Source code to formatted text converter
Stars: ✭ 44 (+91.3%)
Mutual labels:  syntax-highlighting
misbehave
Add IDE-like text entry to HTML contenteditable tags
Stars: ✭ 34 (+47.83%)
Mutual labels:  syntax-highlighting
Aris
Aris - A fast and powerful tool to write HTML in JS easily. Includes syntax highlighting, templates, SVG, CSS autofixing, debugger support and more...
Stars: ✭ 61 (+165.22%)
Mutual labels:  syntax-highlighting
SheenValidator
Android library to make form validation easier
Stars: ✭ 29 (+26.09%)
Mutual labels:  edittext
6502-npp-syntax
Notepad++ Syntax Highlighting for 6502 Assembly (and NESASM)
Stars: ✭ 21 (-8.7%)
Mutual labels:  syntax-highlighting
sublime-PICO-8
PICO-8 plugin for the Sublime Text 3 editor.
Stars: ✭ 42 (+82.61%)
Mutual labels:  syntax-highlighting
myPDDL
PDDL Syntax Highlighting, Snippets, Domain Visualization and more for Sublime Text
Stars: ✭ 32 (+39.13%)
Mutual labels:  syntax-highlighting
passport
A Kotlin-based Android view validation library with a simple DSL.
Stars: ✭ 31 (+34.78%)
Mutual labels:  edittext
lammps vscode
VSCODE extension for language support of LAMMPS scripts
Stars: ✭ 26 (+13.04%)
Mutual labels:  syntax-highlighting
uDevkit-IDE
An IDE for uDevkit or C/C++ projects with Git written in Qt5
Stars: ✭ 15 (-34.78%)
Mutual labels:  syntax-highlighting
CodeView
Android Library to make it easy to create an Code editor or IDE that support any languages and themes, with auto complete, auto indenting, snippets and more features
Stars: ✭ 254 (+1004.35%)
Mutual labels:  syntax-highlighting
code2tex
Convert source code to a LaTeX document / PDF with syntax highlighting and line numbers.
Stars: ✭ 24 (+4.35%)
Mutual labels:  syntax-highlighting
DzNoteEditor
Delphi Property Editor for TStrings supporting formatted languages with syntax highlight
Stars: ✭ 18 (-21.74%)
Mutual labels:  syntax-highlighting
clearable-edittext
Simple custom view for clearable EditText.
Stars: ✭ 58 (+152.17%)
Mutual labels:  edittext

Native Syntax Highlighter for Android

This library allows you to highlight syntax in an Android Native way using Spannable. A different way than other syntax highlighters that use a WebView with a Javascript library.

Features:

  • Optimized: set the spans only in the current line, in a region or in the entire view.
  • Personalization: Add your own rules using JSON. They can be loaded from a JSON string or a JSON file in assets or in the external storage.
  • Read Only: use it as a TextView
  • Any number of rules: add all the rules that you want (could affect the performance)

By default this library does not include any syntax; you can create your own syntax files using JSON or by adding the Syntax rules by code.

Something extra!

This library includes the LineCountLayout witch extends from ScrollView and allows you to add line numbers to any EditText.

Add to your project

Add this to your main gradle:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

And add the reference to your app-level gradle:

dependencies {
	compile 'com.github.vic797:android_native_code_view:VERSION'
}

Usage

See the wiki to know how to use it.

Licence

Copyright 2017 Victor Campos

Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].