MantisBT - mSLDev
View Issue Details
0000076mSLDevSyntax Highlightingpublic2013-03-22 20:432013-03-22 21:41
hixxy 
administrator 
lowtrivialalways
closedfixed 
Win7 64-bitWindows 7(6.1)
0.3.1.0 
0.4.1.0 
7.29
0000076: Variable/identifier command arguments incorrect highlighted as commands
As per the mIRC forum:

If you set a command to a variable (or have an identifier return a value to be used as a command), the IDE highlights any parameters you pass to it as a command.
Copy/paste this script into the IDE:

-----

alias test {
  var %s = sockwrite -n $sockname
  %s GET / HTTP/1.1
  %s Host: www.google.com
  %s Accept: */*, *.*
}

-----

In this script "GET," "Host:" and "Accept:" will all be highlighted in the custom command colour rather than as plaintext.
No tags attached.
Issue History
2013-03-22 20:43hixxyNew Issue
2013-03-22 21:41administratorNote Added: 0000028
2013-03-22 21:41administratorStatusnew => closed
2013-03-22 21:41administratorAssigned To => administrator
2013-03-22 21:41administratorResolutionopen => fixed
2013-03-22 21:41administratorFixed in Version => 0.4.1.0

Notes
(0000028)
administrator   
2013-03-22 21:41   
Fixed in the latest build.