MantisBT - mSLDev
View Issue Details
0000089mSLDevFuture Suggestionspublic2013-03-24 04:172013-11-06 13:49
Travis 
 
lowfeatureN/A
newopen 
 
 
7.29
0000089: Differentiate between local and global variables with different highlighting
As it sounds. Just a feature suggestion.
No tags attached.
Issue History
2013-03-24 04:17TravisNew Issue
2013-03-27 18:17WimsNote Added: 0000065
2013-03-27 19:47TravisNote Added: 0000067
2013-03-30 12:35westorNote Added: 0000074
2013-11-06 13:49WimsNote Added: 0000146

Notes
(0000065)
Wims   
2013-03-27 18:17   
How do you make the difference? As far as I know, this cannot be done because the state of a variable can only be known at runtime, there is no way to know if the variables is global/local for msldev.
(0000067)
Travis   
2013-03-27 19:47   
Local variables are always defined within a script. If it's not defined, I think it's safe to assume that it's a global variable (for syntax highlighting).
(0000074)
westor   
2013-03-30 12:35   
Yes good idea!
(0000146)
Wims   
2013-11-06 13:49   
I doubt msldev will ever assume something about your code :)