Re: [dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-19 Thread Louis Santillan
Syntax highlighting color: https://github.com/antirez/kilo/blob/master/kilo.c#L505 On Tue, Jul 19, 2016 at 11:07 AM, Eric Pruitt wrote: > On Tue, Jul 19, 2016 at 07:51:49PM +0200, lukáš Hozda wrote: >> Oh, this looks pretty neat. How does the syntax highlighting work? Is >> it hardcoded or are th

Re: [dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-19 Thread Eric Pruitt
On Tue, Jul 19, 2016 at 07:51:49PM +0200, lukáš Hozda wrote: > Oh, this looks pretty neat. How does the syntax highlighting work? Is > it hardcoded or are the some configuration files somewhere? It's hardcoded: https://github.com/antirez/kilo/blob/master/kilo.c#L350 Eric

Re: [dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-19 Thread lukáš Hozda
Oh, this looks pretty neat. How does the syntax highlighting work? Is it hardcoded or are the some configuration files somewhere? 2016-07-19 19:50 GMT+02:00 lukáš Hozda : > Oh, this looks pretty neat. How does the syntax highlighting work? Is it > hardcoded or are the some configuration files some

Re: [dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-19 Thread Cág
Louis Santillan wrote: [repo] https://github.com/antirez/kilo [blog] http://antirez.com/news/108 [demo[ https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb No curses, just 3 key bindings, and syntax highlighting. This is something really cool! I would actually slightly modify it: 1) remove lice

[dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

2016-07-18 Thread Louis Santillan
[repo] https://github.com/antirez/kilo [blog] http://antirez.com/news/108 [demo[ https://asciinema.org/a/90r2i9bq8po03nazhqtsifksb No curses, just 3 key bindings, and syntax highlighting.