GithubHelp home page GithubHelp logo

atmb4u / autojs Goto Github PK

View Code? Open in Web Editor NEW
464.0 464.0 40.0 1.04 MB

Auto complete plugin from dictionary with no external dependencies

Home Page: http://atmb4u.github.io/AutoJS

License: BSD 3-Clause "New" or "Revised" License

JavaScript 62.97% Shell 1.27% CSS 33.64% Python 2.13%

autojs's People

Contributors

atmb4u 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autojs's Issues

Multiple suggestions per substring

It would be great to be able to cycle through multiple matching suggestions for the completed string (like you can on a Unix shell when completing paths etc by pressing tab). Having only one suggestion per substring is a bit limiting...

Personally, I'd like to see the tab key cycle through the available/relavant suggestions, and then press right arrow to complete the word, but really I think the ideal would be to make a config map where the developer can define what keys do what (everyone seems to have a differnt idea of what is good UX, as per discussion on #1)

symbol to prevent auto complete

is this possible to so something like if i start the word with a particular symbol like #smile auto complete should not trigger.

thanks you for this awesome library. #madeinkerala

Normal speed typing doesn't seem to work well

If I try to type in the box "I'm on my way", it immediately removes "I'm" and I'm left with " one my way". Maybe I don't understand how this is supposed to work, but normal typing is still an issue for this.

diccionario independiente.

Si yo quieira agregar un listado de palabras, no tendria que modificar el core, me parece mejor que el diccionario de palabras este en un archivo separado.

saludos

Internationalization

Hi!

Can I make an pt-BR version of the words? I found this extremely useful, but here in Brazil we do not speak english by default. hahah :)

Tks

No keyboard shortcut for accepting suggestions

Neither Space nor Enter work, with Tab the focus goes outside the input box.

If I click on the suggestion, it gets inserted, but the text cursor jumps to the character closest to the mouse pointer.

Ctrl-Z on Windows causes unexpcted autocomplete triggering

I'm testing this in Chrome on Windows 7.

After typing "This is a test." hitting Ctrl-Z few times causes autocomplete to trigger on each undo event resulting eventually text to transform into "Theengntosuendhermt".

I was expecting autocompletes to be ingored on undos.

Custom error highlighting

Hi,

Thank you very much for the code. I have question, is there possibility to highlight incorrect words to create custom string builder.
For example I want to build:

"Project is not interesting."

Where first three words are correct (taken from one dictionary), but word "interesting" would be blacklisted and highlighted.

Any advice?

how using UTF8

example 👍 : keyword "chào bạn" , "thân yêu"

pls,how suggest key them.

Red underline function is not working

Hi ,
I have downloaded rar file and try to include in .net mvc projects. Auto suggestion is working fine but red underline for wrong word is not working. whether I missed anything?
Also in the css link it has,

But I am unable to find the file(app.css) in downloaded style sheet folder. Can you please help me asap

auto.js for div contenteditable tag

I am using this plugin for div contenteditable=true tag..
everything is working but when user press enter then it selection range doesnot work
here is the function:

function SelectChar(el, start, end) {
var div = el;
var textNode = div.firstChild;
if (textNode.data.length > 1) {
var rangeObj = document.createRange();
rangeObj.setStart(textNode, start);
rangeObj.setEnd(textNode, end);

selection = window.getSelection();
selection.removeAllRanges();
selection.addRange(rangeObj);

}
}
any idea about that?

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.