Discussion:
[wingide-users] Comment syntax highlighting
Coyot Linden (Glenn Glazer) via wingide-users
2018-10-16 18:46:44 UTC
Permalink
So, I am writing some tests which have the form of:

Case 1:
  Subcase
  Subcase

Case 2:
  Subcase

etc.

and I when I started commenting as framework to be filled in, I noticed
that:

##subcase description

didn't highlight

but

# #subcase description

did.

Is it possible to that there is some sort of regex match failure here? I
could not find anything in PEP that advises against "##".

Best,

coyot
GLENN GLAZER | /Senior Software Engineer /*m:* 562.305.2920 | *email:*
***@lindenlab.com | *Second Life:* Coyot Linden
*LINDEN LAB* | Create Virtual Experiences
________________________________________________
Wingware Support via wingide-users
2018-10-16 19:50:40 UTC
Permalink
## comments are colored differently from # comments by default. This
can be configured via the Editor -> Syntax Coloring page of the
Preferences dialog. The different colors are assigned to --

commentline for a # comment
commentblock for a ## comment

Cheers,

John
Post by Coyot Linden (Glenn Glazer) via wingide-users
  Subcase
  Subcase
  Subcase
etc.
and I when I started commenting as framework to be filled in, I noticed
##subcase description
didn't highlight
but
# #subcase description
did.
Is it possible to that there is some sort of regex match failure here? I
could not find anything in PEP that advises against "##".
Best,
coyot
GLENN GLAZER | /Senior Software Engineer /*m:* 562.305.2920 | *email:*
*LINDEN LAB* | Create Virtual Experiences
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
_________________________________________________
Wing IDE users list
http://wingware.com/lists
Coyot Linden (Glenn Glazer) via wingide-users
2018-10-16 21:51:50 UTC
Permalink
Thanks, that worked!

It would be nice if the color selector had an option for just typing in
the html hex code for a color since the selector reports them that way
for custom colors.

Best,

coyot
## comments are colored differently from # comments by default.  This
can be configured via the Editor -> Syntax Coloring page of the
Preferences dialog.  The different colors are assigned to --
commentline for a # comment
commentblock for a ## comment
Cheers,
John
   Subcase
   Subcase
   Subcase
etc.
and I when I started commenting as framework to be filled in, I
##subcase description
didn't highlight
but
# #subcase description
did.
Is it possible to that there is some sort of regex match failure
here? I could not find anything in PEP that advises against "##".
Best,
coyot
GLENN GLAZER | /Senior Software Engineer /*m:* 562.305.2920 |
*LINDEN LAB* | Create Virtual Experiences
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
_________________________________________________
Wing IDE users list
http://wingwar

Loading...