Skip to content
New issue

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

Trigger.new breaks following syntax highlighting #9

Open
jonathanwiesel opened this issue Mar 1, 2014 · 1 comment
Open

Trigger.new breaks following syntax highlighting #9

jonathanwiesel opened this issue Mar 1, 2014 · 1 comment

Comments

@jonathanwiesel
Copy link

If you're working with triggers and do something like this:

for(Opportunity opp : Trigger.new){
     if(opp.Status != "Closed Won" && opp.Amount > 100000){
        ...
     }
}

The syntax highlighting for the if and && keyword goes wrong. This is because the new keyword is behaving like a new object instantiation.

@jonathanwiesel
Copy link
Author

Attaching a screenshot for better understanding
screen shot 2014-03-03 at 11 04 28 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant