Giter Club home page Giter Club logo

Comments (1)

eht16 avatar eht16 commented on July 28, 2024

This is not a bug of the "check spelling when opening document" feature but rather some sort of desired behaviour:
when reloading a document and having the option "check spelling while typing" activated, a full recheck of the document is performed on reload, just to have a freshly checked document.

Though while testing, I noticed a couple of things:

  • the document is rechecked twice on Reload because first when Geany deletes all text from the current document and then again when the new document content is added back again, this is definetely a bug
  • the described behaviour exists long before the option "check spelling when opening document" and should be re-evaluated now since it might make sense to remove the full recheck on reload unless the new option is set

I'm open to ideas about the second point.

The first point is just a bug and needs to be fixed. However, I don't know yet how because the plugin just sees 'something has been deleted in the document' and afterwards 'something has been added'. It doesn't really know that this is a reload action. One possibility could be to pair this with the "document-reload" signal and set some state, maybe with timeouts. Though, this feels cumbersome.

I need to think some more about this.

from geany-plugins.

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.