Re: syncolor.e + tokenize.e = an absolute disaster

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
mattlewis said...

I've been taking a look at syncolor/tokenize. I think that tokenize was written with the idea that it would be working with correct euphoria code, which is obviously inappropriate for a text editor. I've got some updates that I think fix the issues with quotes and shebangs. They just need some more testing to make sure I didn't break something else.

I just pushed up those changes. ed.ex doesn't handle multi-line quotes properly, because it colors lines independently, so it doesn't know that it's inside of a string. Strange things happen with /* */ style quotes, too. In particular, if you hit enter after starting one, the line below disappears.

OK, /* */ style comments should be better now. The actual multi-line stuff isn't properly colored (for them or strings), but they don't eat lines now.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu