Giter VIP home page Giter VIP logo

Comments (12)

fluks avatar fluks commented on June 20, 2024

Should the context menu switch apply only on the current tab or be a global switch?

from fin-spell.

wapsi avatar wapsi commented on June 20, 2024

Hmm, good question. Personally I would prefer to set it on globally as long as the user switch it back to off.

And I think this could be partly linked to my another feature request: #7 If that persistent setting is set to ON then this should set the ON/OFF globally as well.

from fin-spell.

fluks avatar fluks commented on June 20, 2024

So, the action bar (toolbar) and the context menu switches would do the same action, globally switch between always disabled or enabled? I'll try to implement this then.

from fin-spell.

wapsi avatar wapsi commented on June 20, 2024

Yeah, exactly.

from fin-spell.

fluks avatar fluks commented on June 20, 2024

I added the context menu item in the enabled-disabled branch if you want to test it.

from fin-spell.

wapsi avatar wapsi commented on June 20, 2024

Yeah, I tested this and it works, thanks!

BTW: Just a minor UIX thing: Is it possible to implement the context menu entry without a submenu? Maybe it can achieved by using menu entry with content: "Fin Spell: Set semporarily On" / "Fin Spell: Set semporarily Off" (depending what setting is currently set) directly on the root context menu:
fin-spell-mockup1

from fin-spell.

wapsi avatar wapsi commented on June 20, 2024

And another thing: If toggle the spelling temporarily off (either from the context menu or by clicking the Finnish flag icon) it removes all the highlightings immediately but if I turn it back on it does not trigger the spell checking immediately: I have to change the text (put one space for example at the end) and after that it highlights the mispelled words.

Is it possible to trigger the spell checking for the whole text immediately the spell checking is turned on (temporarily)?

from fin-spell.

fluks avatar fluks commented on June 20, 2024

Yeah, I tested this and it works, thanks!

BTW: Just a minor UIX thing: Is it possible to implement the context menu entry without a submenu? Maybe it can achieved by using menu entry with content: "Fin Spell: Set semporarily On" / "Fin Spell: Set semporarily Off" (depending what setting is currently set) directly on the root context menu:
fin-spell-mockup1

It's possible.

from fin-spell.

fluks avatar fluks commented on June 20, 2024

And another thing: If toggle the spelling temporarily off (either from the context menu or by clicking the Finnish flag icon) it removes all the highlightings immediately but if I turn it back on it does not trigger the spell checking immediately: I have to change the text (put one space for example at the end) and after that it highlights the mispelled words.

Is it possible to trigger the spell checking for the whole text immediately the spell checking is turned on (temporarily)?

And this is possible too. Probably a simple call to highlight all the inputs.

from fin-spell.

fluks avatar fluks commented on June 20, 2024

And another thing: If toggle the spelling temporarily off (either from the context menu or by clicking the Finnish flag icon) it removes all the highlightings immediately but if I turn it back on it does not trigger the spell checking immediately: I have to change the text (put one space for example at the end) and after that it highlights the mispelled words.
Is it possible to trigger the spell checking for the whole text immediately the spell checking is turned on (temporarily)?

And this is possible too. Probably a simple call to highlight all the inputs.

Added in the newest commit. All the input elements are spell checked on page load and if you temporarily enable spell checking. The last input element has the focus, this probably needs fixing. And the last word in input elements are not spell checked. I guess when the element gets focused and the cursor is placed in the end and the last word is considered as the current word you are typing.

from fin-spell.

fluks avatar fluks commented on June 20, 2024

Now in the latest commit, on off context menu item should be shown without a sub-menu when possible.

from fin-spell.

wapsi avatar wapsi commented on June 20, 2024

Yes, thanks! It's perfect!

I think this issue / feature request can be closed if you want to? I can confirm that this functionality is added and tested, thanks!

from fin-spell.

Related Issues (11)

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.