Giter Club home page Giter Club logo

tagging's People

Contributors

k-lpmg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tagging's Issues

Not proper working when we start tagging initially.

When I enter first "@" then it doesn't work properly and doesn't give exact match list. But when we enter some text and then I enter " @" it works properly. Please, check and let me know what I need to manage.

xcode 14.3.1 textview delegate calls twice

Hi,

Hope you are doing well.

As of now below method called twice in xcode 14.3.1. other xcode's below version working fine.
`public func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {

}`

Thanks in advance.

Crash at updateAttributeText

It works well for the first time tag user using @ mentions. When I try same for the second time it crashes on the function:

private func updateAttributeText(selectedLocation: Int) {

Could not get the cause of this crash but it is important to me if it resolve asap. Thanks!

Following is the crash log I'm getting:

Terminating app due to uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds' *** First throw call stack: (0x1831b3164 0x1823fc528 0x1831b30ac 0x183aaf594 0x183aaf9f0 0x10339e880 0x10339e9ac 0x1033a255c 0x103453c14 0x10339be4c 0x10339cc94 0x10339d484 0x18c9149ec 0x18c7ac294 0x18c9144d8 0x18c9136d0 0x18c913528 0x18c91345c 0x18cbd735c 0x18cbd665c 0x18d431fac 0x18c7975f0 0x183baf2e4 0x18315b77c 0x18315b6fc 0x18315af84 0x183158b5c 0x183078c58 0x184f24f84 0x18c7d15c4 0x1008a0da0 0x182b9856c) libc++abi.dylib: terminating with uncaught exception of type NSException

Predefine Tag

Hello,

We have text and we have tagged text before writing anything into textfield.

How can we do that?

Thanks in advance.

Facing a problem while explore with other language

When i explore with Tamil (SouthIndian language) as tagging suggestion then the tagging attribute is not applied for a whole word.

Solution:

taggingAttributeRange should be like this NSMakeRange(model.range.location+1, model.text.utf16.count).

need to get the characters count from utf16 encoding.

it'll be good if apply the same for updateAttributeText method's selectedLocation param (For cursor placing).

Refer the screenShots.

flaw
fix

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.