Giter Club home page Giter Club logo

ep_autocomp's People

Contributors

jdittrich avatar joassouza avatar johnmclear avatar lpagliari avatar marcelklehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ep_autocomp's Issues

Suggestion

Hi
Does this plugin suggest words typed as the text highlighted in green and the words be not in the pad?

Original sentence: I think this the way to go.We don't have all the time in the world to test this.

New sentence: I think this the way to go.We don't have forever and ever to test this.

etherpad-lite-autocomplete

Autocomp suggestions not working

Hello,

How to exactly enable autocomp for Etherpad? I already called npm install ep_autocomp when I am in etherpad-lite folder. When I navigate to etherpad-lite/node_modules/, I see a folder ep_autocomp in it. THen I restarted etherpad, but I don't see word suggestions, even with the text just typed. What am I missing? The documentation just mentioned to 'Enable under settings', I cannot find anything related to autocompletion in settings.json. Thank you.

Allow clicking list items

What should happen: When clicking on a list entry, the corresponding autocomplete text should be inserted at cursor position
What happens: nothing

Reason:
Inserting text via sendkeys after mouseclick on a item throws a _TypeError: invalid 'in' operand ret.doc in ace2_common.js?callback=require.define. It seems to be connected to some focus stealing problem.

ease configuration

What should be possible:
configuring the autocompletion by editing a simple JSON or CSV file where the desired autocompletion style can be set.
The desired state should than be loaded from autocompletion-styles that are delivered with the plugin.

How it is now: a config-object in the code needs to be edited.

Long suggestion list does not scroll with highlighted entry.

What I did: I wanted to autocomplete a word with had a long list of possible suggestions for an input (>10 suggestions). I wanted to select one at the end of the list.

What I expected: When I selected the bottom most entry of the entries currently shown in the scrollable list, I expected the list to scroll down as I select the next entry below

What happened: The highlighted/selected entry was shifted to the next item, but it was not visible since the list did not scroll with the selection.

this is o.k.
one more…

this is not, as it is not visible
oops. That small blueish line on the bottom is the barely visible next list entry.

Apologies for overly meaningless testing content a,aa,aaa…

Use ESC to close suggestions

I've seen that Ctrl+space closes the suggestions box. Was there any reason to not use ESC as shortcut to close suggestions box? Any concerns or risks?

clean up code

The code in https://github.com/jdittrich/ep_autocomp/blob/master/static/js/autocomp.js is messy.

It is commented, but the order of the functions does not make sense and the comments should be reviewed.

  • moveUp and moveDown functions should be adjacent
  • createAutocompHTML does return undefined, not "?"

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.