Giter Site home page Giter Site logo

Comments (5)

weitechen avatar weitechen commented on July 2, 2024

Which OS are you using now? I'm using Mac + Chrome / Firefox, and the double-click on a word always select the word itself. I'm not quite sure how it works on Windows + Chrome / Firefox

from anafora.

weitechen avatar weitechen commented on July 2, 2024

The behavior of double-clicking on a word is OS by OS. Here are some discussions about how to select one word without the trailing space on Windows platform:

https://superuser.com/questions/282568/is-there-a-way-to-not-select-whitespace-after-a-word-when-double-clicking

from anafora.

j-lnaddef avatar j-lnaddef commented on July 2, 2024

I am using Windows 10 indeed, but this is the only editor doing this. On any other editor/website/app, double clicking selects only 1 word without the trailing spaces, that is why I assume there is something weird about anafora's behavior. I checked with other computers (still on Windows) and I get the same.

from anafora.

weitechen avatar weitechen commented on July 2, 2024

Got you. One of our annotator reports the same issues. I'm thinking that this issue may be due to
the JQuery plug-in. I'll check it recently

from anafora.

LennartPiro avatar LennartPiro commented on July 2, 2024

The trailing space is the problem here. Double click selects the word plus space, then the function snapSelectionToWord() extends this to include the following word as well.

from anafora.

Related Issues (20)

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.