MantisBT - mSLDev
View Issue Details
0000078mSLDevGeneral (other)public2013-03-22 20:552014-03-01 01:45
hixxy 
administrator 
lowtrivialalways
resolvedfixed 
Win7 64-bitWindows 7(6.1)
0.3.1.0 
0.4.1.0 
7.29
0000078: $& is not ignored in comments
$& should be ignored when it is in a comment, but it still indents the following line.
Copy paste either of these into the IDE and then hit the "{ }" brackets button:

Method 1:

; echo -a a $&
b

Method 2:

/*
echo -a a $&
b
*/
No tags attached.
Issue History
2013-03-22 20:55hixxyNew Issue
2013-03-22 21:35administratorNote Added: 0000027
2013-03-22 21:36administratorAssigned To => administrator
2013-03-22 21:36administratorStatusnew => confirmed
2013-11-06 13:40WimsNote Added: 0000144
2014-03-01 01:45administratorStatusconfirmed => resolved
2014-03-01 01:45administratorFixed in Version => 0.4.1.0
2014-03-01 01:45administratorResolutionopen => fixed

Notes
(0000027)
administrator   
2013-03-22 21:35   
This is actually related to this: http://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/240431/gonew/1/in_a_commented_line_causes_ide [^]

This is actually by design. Yes, we mimicked an mIRC bug! The reason being is when you have a group of scripters using a GIT or SVN, some use mSLDev, some don't. When the bug didn't exist in mSLDev, SVN kept showing random two spaces being added and removed in various locations where $& might have been commented out. Unfortunately this was an annoyance big enough (brought to my attention by multiple parties) that a decision was made to actually mimic the bug and solve the issue.

It looks like Khaled might finally fix this bug. When it happens, I'll update mSLDev accordingly.

This bug report is to remain open until such time.
(0000144)
Wims   
2013-11-06 13:40   
The issue has been fixed and msldev still mimic the old behavior?
Looks like your parties using SVN hasn't been using either msldev or newer mIRC version for a long time :d