On 2020-06-08 14:57, ToddAndMargo via perl6-users wrote:
On 2020-06-08 14:54, Peter Pentchev wrote:
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


Poop!!!  (Not my actual word and not an admission that
I cuss.)

Richard has a new one out, so I am going to get the new
one ASAP

Thank you.  I though I was going nuts.


It did it again!  And into Leafpad this time too!

So, I hit fork and edit and copied and pasted it (then cancel).
This time it worked.

Ha!

Reply via email to