Giter VIP home page Giter VIP logo

fin-spell's People

Contributors

fluks avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fin-spell's Issues

Don't highlight the whole text on every key press

Highlighting all the text on every key press is slow if the text is long or you write fast. Only the edited word should be highlighted on every key press and all the other highlighting should stay as they are.

Add Päälle/Pois functionality in Firefox context menu

Add Päälle/Pois functionality in Firefox context menu. Now I need to push the Finnish flag (extenstion) button and select Päälle or Pois to enable or disable the spell checking. It would be easier if this option was available in the Firefox context menu (the menu which opens when I right click ~anywhere on the website):

[X] Finnish Spell Checking

Firefox allows to edit the context menu from the addons, here is some documentation about it: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Context_menu_items

Set spellcheck to false in the edited element

When the scripts are injected and the user starts to write, spellcheck attribute can be set to false, if the element has it. Then we can be sure there's no two different spellchecking highlights.

emsdk version in readme isn't found anymore as a precompiled package

The sdk-1.38.30-64bit version needs to be compiled now probably. With the latest version I get uncaught exception: getpwuid_r: TODO in the background script and Voikko doesn't work. I was able to use the version sdk-fastcomp-1.38.30-64bit successfully with rel-libvoikko-4.3 version of Voikko.

div role="textbox" elements are not spell checked

I noticed that Element (Matrix client) does use <div role="textbox"> elements with its input text fields:
<div class="mx_BasicMessageComposer_input mx_BasicMessageComposer_input_shouldShowPillAvatar" tabindex="0" aria-label="Send a message…" role="textbox" aria-multiline="true" aria-autocomplete="both" aria-haspopup="listbox" aria-expanded="false" dir="auto" spellcheck="true" style="" contenteditable="true"><div>Input text comes here</div></div>

And even I try to put:
div[role=textbox]
In "Spellchecked Elements" inside the Fin Spell settings it won't perform spell checking for those elements. It correctly disables the Firefox spell checking functionality for those elements when I turn the Fin Spell ON but it does not perform the Finnish (Voikko) spell checking against those fields.

More information about those div type="textbox" elements can be found from here: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/textbox_role

Add option to enable/disable the spell checking by default

Please add an option to enable (or disable) the spell checking by default. Now I have to click on the Finnish flag icon in the toolbar and click "Päälle". It would be really nice if there was an option to enable or disable the spell checking by default.

Or even better: If there was a possiblity to add different sites (by using regex for example) where the spell checking is enabled or disabled by default, depending of the setting I suggested above.

Do not spell check the word which is still under typing

Now the spell checker check the word I'm writing immediately there are something to spell check, like:
Tämä on tes|
It whill highlight that "tes" word there even I haven't finished it: testiä.

There have been som discussion already about this on another issue, here: #3 (comment)

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.