Giter Site home page Giter Site logo

Comments (4)

mpourmpoulis avatar mpourmpoulis commented on August 16, 2024

It seems that there were quite a few things wrong with these old piece of code, probably more importantly The wrong assumption that "".isspace()==True. After fixing this and doing some rewriting, things now Kinda work but there are still technicalities with using big ROIs and vertical descriptions as you can see below

bug1

from pythonvoicecodingplugin.

mpourmpoulis avatar mpourmpoulis commented on August 16, 2024

These should be now solved. The secondary problem I mentioned Is now solved along with #28

Also 64109fc fixed a typo I introduced in the development branch Which was causing an infinite loop when inside comments. Technically, It was supposed to be two separate commits but an accident Cause them to be committed And pushed together

from pythonvoicecodingplugin.

mpourmpoulis avatar mpourmpoulis commented on August 16, 2024

It seems that while Refactoring the code for obtaining the origin node from the selection, I forgot a small technicality, namely that nodes that do not correspond to regions of the code, Such as ast.Store,get A text range of (0,0) by asttokens , Causing problems when the origin is at the beginning of the file

bug10

This is now solved But I'm leaving it here for future reference

from pythonvoicecodingplugin.

mpourmpoulis avatar mpourmpoulis commented on August 16, 2024

is more an additional commit was added because I was not checking for none values Which caused trouble when the cursor was in an empty line at the beginning of the file. Everything works as expected now!

from pythonvoicecodingplugin.

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.