After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 636540 - syntax highlighting broken when rule contains comment or directive
syntax highlighting broken when rule contains comment or directive
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-05 22:11 UTC by Sylvain Rabot
Modified: 2010-12-05 22:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
path to resolve issue (1.14 KB, patch)
2010-12-05 22:11 UTC, Sylvain Rabot
accepted-commit_now Details | Review

Description Sylvain Rabot 2010-12-05 22:11:05 UTC
Created attachment 175888 [details] [review]
path to resolve issue

if there is a comment or a directives not indented in a rule
the highlighting is broken, e.g. :

rule: file1.c
# my comment
ifeq ($(var), Yes)
	@$(ECHO) do something
endif

Regards.
Comment 1 Paolo Borelli 2010-12-05 22:18:21 UTC
Review of attachment 175888 [details] [review]:

makes sense.

Thanks!