View Issue Details

IDProjectCategoryView StatusLast Update
0000251Inno Script StudioGeneralpublic2018-02-24 14:55
ReporterDutchGeminiAssigned Totimchilvers 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000251: The [Code] marker inside comment text is treated as real [Code] marker and shown in "Pascal Code" section
DescriptionWhen 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 ReproducePaste 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
;
TagsNo tags attached.

Activities

timchilvers

2012-03-27 19:28

administrator   ~0000196

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.

Issue History

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