markdownlive
markdownlive copied to clipboard
Adding syntax highlighting
Things you should know:
- I'm not using your subclasses of NSTextView/NSLayoutManager/etc. Felt like whatever it did wasn't too important. Sorry, didn't want to spend too much time integrating.
- It highlight the whole thing whenever you press a key. Didn't try it with large documents and I would expect problems. Maybe better solution would be to highlight only current line, visible range, etc.
- Markdown syntax is incomplete, but can be easily configured from the plist.
Thanks!
Thanks, I pulled it into a feature branch: feature/syntax-highlighting. I plan to port it over to RegexKitLite so I can target 10.6 again. Cool with you?
I will be very happy if you make it compatible with 10.6. (I really didn't think anybody else will use it when I wrote it.)
I want to improve the performance a bit, expect more pull requests then.