List of issuesList of issues

#1159 regex syntax hiligthing for non regex expressions
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: GUI
State: new Help

> 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.
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.
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic