Skip to content

Adding syntax highlighting#10

Open
vojto wants to merge 6 commits intorentzsch:masterfrom
vojto:master
Open

Adding syntax highlighting#10
vojto wants to merge 6 commits intorentzsch:masterfrom
vojto:master

Conversation

@vojto
Copy link

@vojto vojto commented Sep 2, 2011

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!

rentzsch added a commit that referenced this pull request Sep 3, 2011
---

Things you should know:

1. Im not using your subclasses of NSTextView/NSLayoutManager/etc. Felt like whatever it did wasnt too important. Sorry, didnt want to spend too much time integrating.

2. It highlight the whole thing whenever you press a key. Didnt 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!
@rentzsch
Copy link
Owner

rentzsch commented Sep 3, 2011

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?

@vojto
Copy link
Author

vojto commented Sep 3, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants