Code Monkey home page Code Monkey logo

Comments (5)

IvanoBilenchi avatar IvanoBilenchi commented on June 26, 2024

@rashidasgari I cannot reproduce this issue. The test app is unaffected, and so are my other apps using it. Could you provide a code sample or steps to reproduce this?

from ictextview.

rashidasgari avatar rashidasgari commented on June 26, 2024

Thanks ivan. You are right, the sample app is working fine. Do you thinks
it is because i'm using arabic alphabet?

On Sun, May 11, 2014 at 12:40 AM, Ivano Bilenchi
[email protected]:

@rashidasgari https://github.com/rashidasgari I cannot reproduce this
issue. The test app is unaffected, and so are my other apps using it. Could
you provide a code sample or steps to reproduce this?


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-42752929
.

from ictextview.

IvanoBilenchi avatar IvanoBilenchi commented on June 26, 2024

@rashidasgari That may be it, I never tested it with Arabic. I'll have a look into it tomorrow.

Mind providing a sample text-word pair to help me reproduce it? That may speed things up a bit, especially if this only happens with some search strings (I'm no arabic speaker :p)

from ictextview.

rashidasgari avatar rashidasgari commented on June 26, 2024

Yeah sure thing. Just copy and paste a piece of text from this link
http://fa.wikipedia.org/wiki/%D8%A7%D9%BE%D9%84_(%D8%B4%D8%B1%DA%A9%D8%AA)
This should do it. I somehow managed to find another way. I dismiss the
keyboard when you hit the search button and display a toolbar to go to the
next word. And in the "(void)scrollRectToVisible:(CGRect)rect
animated:(BOOL)animated
consideringInsets:(BOOL)considerInsets" method i add some value like 50 or
70 to the contentoffset.y. But i think it would be awesome if you could fix
this issue since your work must of helped alot of developers. If you could
find a way to scroll the textview in a way that each dark highlight word is
displayed in the middle of the view.

On Sun, May 11, 2014 at 2:43 PM, Ivano Bilenchi [email protected]:

That may be it, I never tested it with Arabic. I'll have a look into it
tomorrow.

Mind providing a sample text-word pair to help me reproduce it? That may
speed things up a bit, especially if this only happens with some search
strings (I'm no arabic speaker :p)


Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-42766875
.

from ictextview.

IvanoBilenchi avatar IvanoBilenchi commented on June 26, 2024

@rashidasgari I still didn't manage to reproduce the issue you pointed out. Anyway, I implemented the feature you requested (and other stuff as well). Check out the latest commits.

You can now scroll the primary match in the middle of the text view by calling scrollToMatch: or scrollToString: with atScrollPosition:ICTextViewScrollPositionMiddle.

Let me know if that workarounds the issue you were experiencing. I'll be waiting for feedback before actually confirming this as the stable 1.1.0 version.

from ictextview.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.