You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i += 2; // place as if it was the second next char treated
visibleChars += 2;
} else {
i++; // place as if it was the next char treated
visibleChars++;
}
state = StateForScript(aspScript);
scriptLanguage = aspScript;
}
styler.ColourTo(i, SCE_H_ASP);
// fold whole script
if (foldHTMLPreprocessor)
levelCurrent++;
Second bug is scriptLanguage lost on editing inside multiline comment block (e.g. press Enter before --%>), which cause comment block not terminated at handle the end of a pre-processor = Non-HTML. this is same for multiline SCE_H_ASPAT. Change ScriptOfState() to return eScriptVBS for SCE_H_XCCOMMENT and SCE_H_ASPAT fixed the problem. also ScriptOfState() likely has bug for SCE_HPHP_COMPLEX_VARIABLE.
The text was updated successfully, but these errors were encountered:
Here are two bugs for server side comment
<%-- ... --%>
(maybeSCE_H_XCCOMMENT
could be renamed? as it's not unique to XCode/JSP):https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/aspnet/development/inline-expressions#--------server-side-comments-block
lexilla/lexers/LexHTML.cxx
Lines 801 to 803 in 157f28e
lexilla/include/LexicalStyles.iface
Lines 287 to 288 in 157f28e
First bug is code folding, I think
fold whole script
block should be promoted beforeif (chNext2 == '@') {
:lexilla/lexers/LexHTML.cxx
Lines 1516 to 1541 in 157f28e
Second bug is
scriptLanguage
lost on editing inside multiline comment block (e.g. press Enter before--%>
), which cause comment block not terminated athandle the end of a pre-processor = Non-HTML
. this is same for multilineSCE_H_ASPAT
. ChangeScriptOfState()
to returneScriptVBS
forSCE_H_XCCOMMENT
andSCE_H_ASPAT
fixed the problem. alsoScriptOfState()
likely has bug forSCE_HPHP_COMPLEX_VARIABLE
.The text was updated successfully, but these errors were encountered: