Skip to content
ben7th edited this page Jan 7, 2014 · 1 revision

Android客户端工程中,用于显示代码高亮区块的View,从TextView继承

API

set_formatted_code_content(String formatted_code_content);

传入代码段格式化脚本处理后的格式化信息,显示代码高亮文本。


目前仍存在的问题

  • 受TextView默认实现影响,文字折行是按照一般文本规律进行。理想中的方式是按字母折行,但是由于Android库本身的实现问题,比较难以做到。

Clone this wiki locally