markdownlive icon indicating copy to clipboard operation
markdownlive copied to clipboard

Adding syntax highlighting

Open vojto opened this issue 13 years ago • 2 comments

Things you should know:

  1. 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.
  2. 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.
  3. Markdown syntax is incomplete, but can be easily configured from the plist.

Thanks!

vojto avatar Sep 02 '11 23:09 vojto

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?

rentzsch avatar Sep 03 '11 00:09 rentzsch

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.

vojto avatar Sep 03 '11 11:09 vojto