#1159 regex syntax hiligthing for non regex expressions
> What steps will reproduce the problem? Open SWF from issues/1158-missing-sprite-visual Find: var _loc2_:int = this.mcSwipe.width / 2 + (_loc1_ * this._gatherData.length / 2 + ELEMENT_DIFF * (this._gatherData.length - 1) / 2) - _loc1_; in actionscript. Or check the attached image. > What is the expected output? What do you see instead? Current: "2 + (_loc1_ * this._gatherData.length" is orange as stings (+regex) But this is not a regex. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Latest. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
regexSyntaxHiligthing.PNG (12 KiB)
I know, but it is hard to fix, since jsyntaxpane highlighting does not care about expressions - whether it is primary expression (regex) or / operator. To be correct, it will need to use same logic as AS3Parser, which may then become slower.