An android HighlightTextEditor

Overview

HighlightTextEditor

An android HighlightTextEditor一款语法高亮控件。qq群:537960195。

语法高亮

HighlightTextEditor是一个安卓代码语法高亮控件,目前已经支持200多种语言,近90多种主题配色方案,同时支持lua扩展,以及自定义语言配置。强烈推荐,一款不可多得的开源控件。

支持的语言:

abap4.lang        clojure.lang      innosetup.lang    nxc.lang          s.lang
abc.lang          clp.lang          interlis.lang     oberon.lang       sas.lang
abnf.lang         cobol.lang        io.lang           objc.lang         scala.lang
actionscript.lang coldfusion.lang   jasmin.lang       ocaml.lang        scilab.lang
ada.lang          conf.lang         java.lang         octave.lang       scss.lang
agda.lang         crk.lang          js.lang           oorexx.lang       sh.lang
algol.lang        csharp.lang       jsp.lang          os.lang           small.lang
ampl.lang         css.lang          ldif.lang         oz.lang           smalltalk.lang
amtrix.lang       d.lang            less.lang         paradox.lang      sml.lang
applescript.lang  dart.lang         lhs.lang          pas.lang          snmp.lang
arc.lang          diff.lang         lilypond.lang     pdf.lang          snobol.lang
arm.lang          dylan.lang        limbo.lang        perl.lang         spec.lang
as400cl.lang      ebnf.lang         lindenscript.lang php.lang          spn.lang
ascend.lang       eiffel.lang       lisp.lang         pike.lang         sql.lang
asp.lang          erlang.lang       logtalk.lang      pl1.lang          squirrel.lang
aspect.lang       euphoria.lang     lotos.lang        plperl.lang       styl.lang
assembler.lang    express.lang      lotus.lang        plpython.lang     swift.lang
ats.lang          fame.lang         lua.lang          pltcl.lang        sybase.lang
autohotkey.lang   felix.lang        luban.lang        pov.lang          tcl.lang
autoit.lang       fortran77.lang    make.lang         pro.lang          tcsh.lang
avenue.lang       fortran90.lang    maple.lang        progress.lang     tex.lang
awk.lang          frink.lang        matlab.lang       ps.lang           ts.lang
bat.lang          fsharp.lang       maya.lang         ps1.lang          tsql.lang
bbcode.lang       fx.lang           mercury.lang      psl.lang          ttcn3.lang
bcpl.lang         gambas.lang       miranda.lang      pure.lang         txt.lang
bibtex.lang       gdb.lang          mod2.lang         pyrex.lang        upc.lang
biferno.lang      go.lang           mod3.lang         python.lang       vala.lang
bison.lang        graphviz.lang     modelica.lang     q.lang            vb.lang
blitzbasic.lang   haskell.lang      moon.lang         qmake.lang        verilog.lang
bms.lang          haxe.lang         ms.lang           qml.lang          vhd.lang
bnf.lang          hcl.lang          mssql.lang        qu.lang           xml.lang
boo.lang          html.lang         mxml.lang         r.lang            xpp.lang
c.lang            httpd.lang        n3.lang           rebol.lang        yaiff.lang
ceylon.lang       icon.lang         nasal.lang        rexx.lang         yang.lang
charmm.lang       idl.lang          nbc.lang          rnc.lang          znn.lang
chill.lang        idlang.lang       nemerle.lang      rpg.lang
clean.lang        inc_luatex.lang   netrexx.lang      rpl.lang
clearbasic.lang   informix.lang     nice.lang         rs.lang
clipper.lang      ini.lang          nsis.lang         ruby.lang

支持的配色主题:

acid.theme              darkspectrum.theme      fruit.theme             pablo.theme
aiseered.theme          denim.theme             golden.theme            peaksea.theme
andes.theme             dusk.theme              greenlcd.theme          print.theme
anotherdark.theme       earendel.theme          kellys.theme            rand01.theme
autumn.theme            easter.theme            leo.theme               rdark.theme
baycomb.theme           edit-anjuta.theme       lucretia.theme          relaxedgreen.theme
bclear.theme            edit-eclipse.theme      manxome.theme           rootwater.theme
biogoo.theme            edit-emacs.theme        maroloccio.theme        seashell.theme
bipolar.theme           edit-flashdevelop.theme matrix.theme            solarized-dark.theme
blacknblue.theme        edit-gedit.theme        moe.theme               solarized-light.theme
bluegreen.theme         edit-jedit.theme        molokai.theme           tabula.theme
breeze.theme            edit-kwrite.theme       moria.theme             tcsoft.theme
bright.theme            edit-matlab.theme       navajo-night.theme      the.theme
camo.theme              edit-msvs2008.theme     navy.theme              vampire.theme
candy.theme             edit-nedit.theme        neon.theme              whitengrey.theme
clarity.theme           edit-vim-dark.theme     night.theme             xoria256.theme
dante.theme             edit-vim.theme          nightshimmer.theme      zellner.theme
darkblue.theme          edit-xcode.theme        nuvola.theme            zenburn.theme
darkbone.theme          ekvoli.theme            olive.theme             zmrok.theme
darkness.theme          fine_blue.theme         orion.theme
darkslategray.theme     freya.theme             oxygenated.theme

插件支持:

asciidoc_html_add_links.lua        cpp_ref_wxwidgets_org.lua          outhtml_curly_brackets_matcher.lua
bash_functions.lua                 cpp_syslog.lua                     outhtml_keyword_matcher.lua
bash_ref_linuxmanpages_com.lua     cpp_wx.lua                         outhtml_parantheses_matcher.lua
cpp_qt.lua                         ctags_html_tooltips.lua            perl_ref_perl_org.lua
cpp_ref_cplusplus_com.lua          java_library.lua                   python_ref_python_org.lua
cpp_ref_gtk_gnome_org.lua          keywords_capitalize.lua            scala_ref_scala_lang_org.lua
cpp_ref_local_includes.lua         keywords_lowercase.lua             theme_invert.lua
cpp_ref_qtproject_org.lua          keywords_uppercase.lua             token_add_state_ids.lua	

截图

  • 代码编辑界面

    编辑界面 编辑界面 编辑界面 编辑界面 编辑界面 编辑界面 编辑界面 编辑界面

历史记录

  • a199ea2 - (HEAD, origin/master, master) 图片宽度修改 (evilbinary)
  • 046d56e - 高亮基本版本完成 (evilbinary)
  • 3bfce62 - 修复0,0位置文字获取不全问题 (evilbinary)
  • d51e13a - 增加语法解析后端 (evilbinary)
  • d6acd76 - 修改大小 (evilbinary)
  • a1d48bb - modify pic (evilbinary)
  • 65cbc6a - 修改图片大小 (evilbinary)
  • f90e1d5 - 代码截图 (evilbinary)
  • 43b466e - 增加显示行数 (evilbinary)
  • 7a766af - 移动文件,重新定义 (evilbinary)
  • 62c7078 - 增加css外部加载样式功能 (evilbinary)
  • d48d344 - 去除标题显示 (evilbinary)
  • 3a6a782 - 增加解析支持 (evilbinary)
  • b198bdd - modify readme (evilbinary)
  • ef7d5c6 - Create README.md (evilbinary)
  • 95f3a12 - first version (evilbinary)

Todo

  • 代码渲染基本功能。 [完成]
  • 支持200多种语言。 [完成]
  • 支持82种配色主题。 [完成]
  • 支持lua扩展语法高亮检测。 [基本完成]
  • 若干bug修复。
  • 主题语言更换功能。
  • 字体大小样式功能。
  • 表情功能。(待定)

项目捐赠

喜欢就支持一下

作者

项目主页

License

Copyright 2016 evilbinary

/* Copyright (C) 2015 evilbinary. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. */

You might also like...
Make your native android Dialog Fancy. A library that takes the standard Android Dialog to the next level with a variety of styling options. Style your dialog from code.
Make your native android Dialog Fancy. A library that takes the standard Android Dialog to the next level with a variety of styling options. Style your dialog from code.

FancyAlertDialog-Android Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { repositories { ..

Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#

Xamarin.Android Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#. Build Status Platform

A Tinder-like Android library to create the swipe cards effect. You can swipe left or right to like or dislike the content.

Swipecards Travis master: A Tinder-like cards effect as of August 2014. You can swipe left or right to like or dislike the content. The library create

Bootstrap style widgets for Android, with Glyph Icons
Bootstrap style widgets for Android, with Glyph Icons

Android-Bootstrap Android Bootstrap is an Android library which provides custom views styled according to the Twitter Bootstrap Specification. This al

[] A fast PDF reader component for Android development
[] A fast PDF reader component for Android development

This project is no longer maintained. You can find a good replacement here, which is a fork relying on Pdfium instead of Vudroid/MuPDF for decoding PD

[] Define and render UI specs on top of your Android UI
[] Define and render UI specs on top of your Android UI

dspec A simple way to define and render UI specs on top of your Android UI. Usage Enclose the target UI with a DesignSpecFrameLayout, usually the root

A Material design Android pincode library. Supports Fingerprint.
A Material design Android pincode library. Supports Fingerprint.

LolliPin A Lollipop material design styled android pincode library (API 14+) To include in your project, add this to your build.gradle file: //Loll

Android Library to implement simple touch/tap/swipe gestures
Android Library to implement simple touch/tap/swipe gestures

SimpleFingerGestures An android library to implement simple 1 or 2 finger gestures easily Example Library The library is inside the libSFG folder Samp

Android layout decorators : Injecting custom attributes in layout files, Using decorators to get rid of unnecessary class explosion with custom views
Android layout decorators : Injecting custom attributes in layout files, Using decorators to get rid of unnecessary class explosion with custom views

Decor Decor is a library that applies decorators to Android layout with additional attributes without the need to extend and create a custom View for

Comments
  • Fix broken headings in Markdown files

    Fix broken headings in Markdown files

    GitHub changed the way Markdown headings are parsed, so this change fixes it.

    See bryant1410/readmesfix for more information.

    Tackles bryant1410/readmesfix#1

    opened by bryant1410 0
  • Execution failed for task ':ndkBuild'.

    Execution failed for task ':ndkBuild'.

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':ndkBuild'.

    Process 'command '/Users/leon/Library/Android/sdk/ndk-bundle/ndk-build'' finished with non-zero exit value 2

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    opened by leonhhhhh 1
Owner
evilbinary
Programer,Also interested in compilers, 3D graphics, music, electronics, deep learning, robotics and DIY.
evilbinary
TourGuide is an Android library that aims to provide an easy way to add pointers with animations over a desired Android View

TourGuide TourGuide is an Android library. It lets you add pointer, overlay and tooltip easily, guiding users on how to use your app. Refer to the exa

Tan Jun Rong 2.6k Jan 5, 2023
Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your development.

Bubbles for Android Bubbles for Android is an Android library to provide chat heads capabilities on your apps. With a fast way to integrate with your

Txus Ballesteros 1.5k Jan 2, 2023
View that imitates Ripple Effect on click which was introduced in Android L (for Android 2.3+)

RippleView View that imitates Ripple Effect on click which was introduced in Android L. Usage For a working implementation, Have a look at the Sample

Muthuramakrishnan Viswanathan 1.2k Dec 30, 2022
A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out

FabricView - A new canvas drawing library for Android. The library was born as part of a project in SD Hacks (www.sdhacks.io) on October 3rd. It is cu

Antwan Gaggi 1k Dec 13, 2022
MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.

About MarkdownView (Markdown For Android) is an Android library that helps you display Markdown text or files (local/remote) as formatted HTML, and st

Feras Alnatsheh 1k Dec 20, 2022
SwipeBack for Android Activities to do pretty the same as the android "back-button" will do, but in a really intuitive way by using a swipe gesture

SwipeBack SwipeBack is for Android Activities to do pretty the same as the android "back-button" will do, but in a really intuitive way by using a swi

Hannes Dorfmann 697 Dec 14, 2022
A backport of the SwitchPreference component that was introduced on Android 4 (ICS / level 14). This port works on Android 2.1+ (Eclair MR1 / level 7).

Android Switch Preference Backport A backport of the SwitchPreference component that was introduced on Android 4 (ICS / level 14). This port works on

Benoit Lubek 498 Dec 29, 2022
Wizard Pager is a library that provides an example implementation of a Wizard UI on Android, it's based of Roman Nurik's wizard pager (https://github.com/romannurik/android-wizardpager)

Wizard Pager Wizard Pager is a library that provides an example implementation of a Wizard UI on Android, it's based of Roman Nurik's wizard pager (ht

Julián Suárez 520 Nov 11, 2022
Make your native android Toasts Fancy. A library that takes the standard Android toast to the next level with a variety of styling options. Style your toast from code.

FancyToast-Android Prerequisites Add this in your root build.gradle file (not your module build.gradle file): allprojects { repositories { ... ma

Shashank Singhal 1.2k Dec 26, 2022