-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line numbers are required #15
Comments
I second this, having line numbers would be hugely helpful. |
This might help somebody to add this: http://stackoverflow.com/questions/2836162/how-to-add-line-numbers-to-a-uitextview |
I've actually already started trying to implement that along side. |
I would love to see it when you get something working. I've been looking for this for a while. |
Like that post says, it's working around the line break, or we scroll horizontally. Will be a challenge. |
@davemackintosh Yeah I'm messing with it now too. |
@davemackintosh Overriding the |
I haven't noticed anything massive yet but stopped playing a few hours ago to get on with some other work that pays me lol. Will have another look later on/tomorrow morning but if you find anything else do let me (us all) know! |
An alternative to overriding |
I think this might actually be easier than I thought, conceptually anyway. Will do an implementation tonight and see if I can come up with anything good. |
yes, it is easier than I thought with no measurable performance hit. I'm currently working on a |
Just so people know, I am still working on this. Work is just a bit hectic at the moment and finding time to finish the implementation is hard! rest assured I will update my fork with line numbers and once it's okayed I'll submit a pull-request. Some info on my implementation: After seeing performance issues with using The issue I'm having at the moment is updating the |
Okay, now I have some free time I'm back on this :) just as an update. Is anyone else working on this? |
@davemackintosh check out https://github.com/illyabusigin/CYRTextView to see a possible implementation of the line numbers... Haven't really dug around, but may be of some use. |
Oh. Ha, nice. I'll hit that up instead, having a quick look over it and it's mostly the same as what I've been doing. I'll add this today and remove what I've done. |
Required support for line numbers.
The text was updated successfully, but these errors were encountered: