The translation is done upon rendering; check the haskell mode. I think that the mapping function itself is in the lexer module.
On Tue, Jan 19, 2010 at 12:24 AM, Gwern Branwen <gwe...@gmail.com> wrote: > Background: > http://groups.google.com/group/gitit-discuss/browse_thread/thread/82a3909c2b2436 > > I thought it had something to do with Yi.Char.Unicode, but I only see > this while grepping: > > gr Yi.Char.Unicode > Yi/Char/Unicode.hs:module Yi.Char.Unicode (greek, symbols, > subscripts, superscripts, checkAmbs, disamb) where > Yi/Users/JP.hs:import Yi.Char.Unicode > Yi/Users/Ertai.hs:import Yi.Char.Unicode (greek, symbols) > > So obviously the unicodifying is being somehow done otherwise. As I > say in my email, my current approach of a sliding window over the > String which represents a codeblock is a pretty crude method and is > incorrect for all sorts of code fragments. How does Yi do it, and how > could I modify my plugin to do it as well? > > -- > gwern > > -- > Yi development mailing list > yi-devel@googlegroups.com > http://groups.google.com/group/yi-devel >
-- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel