Skip to content

Conversation

@dominickm
Copy link

Vojito,

I have been playing with RKSyntaxView and added a small fix for an issue I found: the issue was that if you did not explicitly call loadSyntax you might get a black view that you could not read.

More importantly, I added a convenience init that allows default schemes and syntax files to be set on init and will try to load those if the load methods are not specifically called. One issue is that my convenience method doesn't work with Nibs, so there is a check that will load your @"PageScheme" and @"PageSyntax" if all else fails. I am not really interested in making it work with nibs... but if you need it to I can look into it.

If you are interested in this type of thing, I offer you this pull. Have fun! Thanks for the great lib!

dominickm added 3 commits June 22, 2012 23:45
…; if it doesn't it will load the build in PageScheme and PageSyntax.


This fixes an issue where a user might see a black (illegible) textView in certain rare cases.
…ibs, however, if loaded from a Nib the previous solution will be used -- preventing a crash
@vojto
Copy link
Owner

vojto commented Jun 29, 2012

Hi, sorry for not responding, I'll try to merge this in before the weekend! Thanks!

@dominickm
Copy link
Author

Great. glad you like it.

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