Yeah, Ace has some bad touch support too, and it's got serious problems with RTL and variable-width characters. If we do syntax highlighting, staying in the native editor widget is probably best for performance and consistency of behavior on both Android and iOS. (Text edit widgets support annotated text with some styling, which should be enough for our needs.)
-- brion
On Wed, Jun 4, 2014 at 9:52 AM, Yuvi Panda yuvipanda@gmail.com wrote:
On Wed, Jun 4, 2014 at 3:52 PM, Yuri Astrakhan yastrakhan@wikimedia.org wrote:
I wonder if the code editor extension can be adapted to work for wiki markup.
Possibly, although ACE (the one we use on desktop) has somewhat terrible perf on Mobile the last time I checked (a few months ago). Lots of cursor placement issues as well.
If we do it on Android, it'll most likely just use Android Spannables in a regular EditText - should be much faster and bug free, I think.
-- Yuvi Panda T http://yuvi.in/blog
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l