Bug 16107 - syntax highlight error group and value
Summary: syntax highlight error group and value
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.13
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-11-11 07:44 UTC by S. Ritter
Modified: 2013-11-18 05:11 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Screenshot of source code (59.51 KB, image/png)
2013-11-11 07:44 UTC, S. Ritter
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description S. Ritter 2013-11-11 07:44:09 UTC
Created attachment 5390 [details]
Screenshot of source code

Description of Problem:


Steps to reproduce the problem:
Type C# source code - see screenshot


Actual Results:
light blue

Expected Results:
black

How often does this happen? 
ever

Additional Information:


=== Xamarin Studio ===

Version 4.0.13 (build 38)
Installation UUID: 29b0e094-012c-494f-8e8f-50cacaea4924
Runtime:
	Mono 3.2.3 ((no/8d3b4b7)
	GTK+ 2.24.20 theme: Raleigh
	GTK# (2.12.0.0)
	Package version: 302030000

=== Apple Developer Tools ===

Xcode 5.0.1 (3335.23)
Build 5A2053

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Xamarin.Android ===

Not Installed

=== Xamarin.iOS ===

Version: 7.0.2.7 (Starter Edition)
Hash: 57edee2
Branch: 
Build date: 2013-04-10 18:05:51-0400

=== Build Information ===

Release ID: 400130038
Git revision: 07afec667f7be5d0ee511eb7115bbac6377fbae8
Build date: 2013-09-24 08:53:29+0000
Xamarin addins: 61140345a5b109633a94409edcbc7a4c19a425c6

=== Operating System ===

Mac OS X 10.9.0
Darwin --N/A-- 13.0.0 Darwin Kernel Version 13.0.0
    Thu Sep 19 22:22:27 PDT 2013
    root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
Comment 1 Mike Krüger 2013-11-11 07:58:51 UTC
group is a query expression keyword.

Enable semantic highlighting in the source editor options - that'll recognize the difference correctly.
Comment 2 S. Ritter 2013-11-11 08:14:46 UTC
Enable semantic highlighting was/is activated.
Comment 3 Mike Krüger 2013-11-13 06:32:08 UTC
then there must've been a parser error somewhere.

The IllegalStateException should've been c olored as a type if semantic highlighting would've worked.
Comment 4 Mike Krüger 2013-11-13 06:32:39 UTC
Can you reproduce that somehow ? (If so - can I get the source for that file?)
Comment 5 Mike Krüger 2013-11-18 05:11:24 UTC
I can't reproduce it - but judging from the screenshot I would say that semantic highlighting is not enabled.

That can happen if the file wasn't in a project with the build action 'compile'. Or that a parser error prevented the semantic highlighter to finsh.