View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000251 | Inno Script Studio | General | public | 2012-03-27 13:52 | 2018-02-24 14:55 |
Reporter | DutchGemini | Assigned To | timchilvers | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000251: The [Code] marker inside comment text is treated as real [Code] marker and shown in "Pascal Code" section | ||||
Description | When the script does not contain a [Code] section marker, for instance because you have moved all of the code to an external ISS file but you have used the [Code] marker inside a comment, then all lines following [Code] until EOF ot until the next "[Section]" are considered Pascal Code. | ||||
Steps To Reproduce | Paste exactly this in a new script: [Files] ; These components have 'dontcopy' flag, have no destination and will be copied to the final folder via [Code]. ; Source: ..\{#TheAppRoot}.XLA; Flags: dontcopy touch; Components: full\addin Source: ..\{#TheAppRoot}.XLAM; Flags: dontcopy skipifsourcedoesntexist touch; Components: full\addin ; [Icons] Name: {group}\Read Me; Filename: {app}\readme.txt; WorkingDir: {app}; Components: full\addin This is what you see clicking on "Pascal Code" ; Source: ..\{#TheAppRoot}.XLA; Flags: dontcopy touch; Components: full\addin Source: ..\{#TheAppRoot}.XLAM; Flags: dontcopy skipifsourcedoesntexist touch; Components: full\addin ; | ||||
Tags | No tags attached. | ||||
|
Fixed issue when searching the script to get the section start, it now confirms that the section header ([Code], [Setup], etc.) starts in the first column. Any spaces before the start of any text in the line is first trimmed before the check is completed. The fix will appear in the next release. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-03-27 13:52 | DutchGemini | New Issue | |
2012-03-27 19:24 | timchilvers | Assigned To | => timchilvers |
2012-03-27 19:24 | timchilvers | Status | new => assigned |
2012-03-27 19:28 | timchilvers | Note Added: 0000196 | |
2012-03-27 19:28 | timchilvers | Status | assigned => resolved |
2012-03-27 19:28 | timchilvers | Resolution | open => fixed |
2018-02-24 14:55 | timchilvers | Status | resolved => closed |