Re: Defining custom StyleNames for a simple mode

2009-05-09 Thread Jean-Philippe Bernardy
On Sat, May 9, 2009 at 2:57 AM, Deniz Dogan wrote: > > Hi > > I'm writing a little mode for Yi which will only do syntax > highlighting. What I'd like to know is how I can define my own text > styles, i.e. not use commentStyle etc. from the user's theme. All of > the other modes seem to use Style

Defining custom StyleNames for a simple mode

2009-05-08 Thread Deniz Dogan
Hi I'm writing a little mode for Yi which will only do syntax highlighting. What I'd like to know is how I can define my own text styles, i.e. not use commentStyle etc. from the user's theme. All of the other modes seem to use StyleName as the "Tokens", but since I want my own custom styles, inde