On Mon, Jun 08, 2020 at 02:48:48PM -0700, ToddAndMargo via perl6-users wrote:
> On 2020-06-08 13:55, Richard Hainsworth wrote:
[snip]
> > The opening bracket for class Informing is on (or about) line 10 and the
> > closing in at about line 630, with a comment 'end of Informing class'
> >
> > Richard
>
> Hi Richard,
>
> Ah Ha! and 626's bracket is not blue. Geany
> does that some times.
>
>
> 9: class Informing {
> 626: } # end of Informing class
>
> Okay now. I missed this because of line 8:
>
> 8: =comment code for the inform dialog box
> 9: class Informing {
> has $!app;
> has Bool $!reinit = True;
> has $!inf-lable;
> has $!box;
> has $!btn-box;
> has $!deleted_supply;
> has $!title;
> has $!position;
> has $!timer-lable;
> has @!buttons;
> has @!entries;
> has %.data = {};
> has $.response;
> has Supply $!sup = self.g-timeout(1000);
> has Tap $!tap;
> has Int $!timer = 10;
> has Bool $!show-countdown = True;
> 27: has Str $.text is rw = "Say <span
> color=\"green\">something</span><span weight=\"bold\" color=\"red\">
> beautiful</span>";
> 28: <blank line>
>
> Everything from line 8 to line 27 is a "comment". The
> comment does not terminate until the first blank line,
> which is 28.
>
> Seems to me the comment rules are being violated here.
> The comment does not terminate until the first blank
> line.
>
> What am I missing, again.
>
> :'(OK, that is weird. I do not know why your editor is showing you that. https://github.com/finanalyst/p6-inform/blob/master/lib/Informative.pm6 says that the "=comment" line is line 8, then there is a blank line 9, and then there is a "class Informing {" on line 10. G'luck, Peter -- Peter Pentchev [email protected] [email protected] [email protected] PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
signature.asc
Description: PGP signature
