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 316330 - Ada Syntax highlighting is incorrect
Ada Syntax highlighting is incorrect
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
1.4.x
Other All
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-14 18:55 UTC by Rikard Nordgren
Modified: 2005-12-30 17:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Rikard Nordgren 2005-09-14 18:55:10 UTC
Please describe the problem:
When using attributes in an Ada program the syntax highlighting function colours
everything as a string.

Steps to reproduce:
1. Enter o := integer'value(str(o..i - 1)) + x;

The ' before value marks the attribute and not the beginning of a string. Thus
the highlighting becomes wrong for the rest of the line.


Actual results:
The colour after the attribute is "string"-coloured for the rest of the line.

Expected results:
It should be highlighted normally

Does this happen every time?
Yes

Other information:
Comment 1 Paolo Borelli 2005-09-16 08:21:57 UTC
moving to gtksourceview.
Comment 2 Paolo Maggi 2005-12-30 17:19:16 UTC
Fixed in CVS HEAD.

2005-12-30  Paolo Maggi  <paolo@gnome.org>

	* gtksourceview/language-specs/ada.lang: fixed bug #316330 (Ada Syntax
	highlighting is incorrect)