We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var balance
this.balance
In both cases, balance is highlighted as a keyword. In reality, the former is just a variable, whereas the latter is a property of an address.
balance
address
Same problem with all special properties, e.g., msg.foo, block.timestamp, etc.
msg.foo
block.timestamp
The text was updated successfully, but these errors were encountered:
One thing that might help is to add alsoletter={.}, to \lstdefinelanguage. Then you can have this.balance as a keyword.
alsoletter={.},
\lstdefinelanguage
Sorry, something went wrong.
See https://tex.stackexchange.com/questions/10913/using-keywords-including-a-dot-in-the-name-with-the-listings-package
No branches or pull requests
In both cases,
balance
is highlighted as a keyword. In reality, the former is just a variable, whereas the latter is a property of anaddress
.Same problem with all special properties, e.g.,
msg.foo
,block.timestamp
, etc.The text was updated successfully, but these errors were encountered: