I'm experimenting with Yi as a way of making my project's data files
easier to edit.  However, I'm having a hard time of it.  I hope you
don't mind if I post beginner questions to this thread.

I started by making a mode.  My first improvement was to set modeHL to
an Alex-based lexer that generates a list of tokens.  Lexer errors
cause yi to abort, which is somewhat undesirable.  How can I avoid
that?

Then, I wrote a modeGetStrokes that takes a token and returns a stroke
for it.  However, only the token at the most recently edited point
gets colored.  What should I do to apply syntax highlighting to an
entire buffer?

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to