Giter Club home page Giter Club logo

Comments (5)

davidhq avatar davidhq commented on June 1, 2024 1

Thank you very much for this.

I did two things in v1.1.21 :

  • fix an obvious issue with spaces around '=' as you noticed
  • made an additional guard for when there are certain user errors (or even further highlighter issues) inside (...) so that the problem doesn't break the highlighting further down... on example where problem doesn't spread out of brackets anymore is this user typo: for (strinfg i = 0; i < n; i++) {

I hope this fix didn't break something else, I checked on example contracts and the highlighter code itself is of enough quality that this should not be the case but still - would be grateful for checks by others... as always, report if you still find something, will be fixed....

from sublimeethereum.

davidhq avatar davidhq commented on June 1, 2024

Thank you very much for this report. Fixed in 1.1.10. Please write back if you find any other issue.

from sublimeethereum.

mrice32 avatar mrice32 commented on June 1, 2024

Thank you!

from sublimeethereum.

Atlasoin avatar Atlasoin commented on June 1, 2024

Still have the problem of loop.
It doesn't work when the code is like

for (i=1; i < n; i ++)

but it works when the code is like:

for (i = i; i < n; i++)

Is that as expected? I just feel really weird...
My Ethereum package version: v1.1.20, Sublime Text: v3.2.1
Screenshots attached:
Screenshot from 2019-05-24 10-55-18
Screenshot from 2019-05-24 10-55-32

Thanks!

from sublimeethereum.

Atlasoin avatar Atlasoin commented on June 1, 2024

Thanks so much!

from sublimeethereum.

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.