Bug 13077 - Incorrect Syntax highlighting for triple quoted strings
Summary: Incorrect Syntax highlighting for triple quoted strings
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0.8
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-07-05 17:34 UTC by Dave Thomas
Modified: 2015-01-16 13:24 UTC (History)
3 users (show)

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


Attachments
screen shot showing the problem (21.93 KB, image/png)
2013-07-05 17:34 UTC, Dave Thomas
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:
VERIFIED FIXED

Description Dave Thomas 2013-07-05 17:34:49 UTC
Created attachment 4280 [details]
screen shot showing the problem

I have attached a screen shot showing an incorrectly highlighted triple quoted string.  The entire region between the two sets of triple quotes should be highlighted as a string.  i.e the following should all be highlighted as a string:

"""let reverse str = str |> Array.rev
let testCase = "TheBadCat"
let result = reverse testCase"""
Comment 1 Dave Thomas 2013-07-05 17:37:40 UTC
Forgot to mention this is an F# syntax highlighting issue.
Comment 2 Mike Krüger 2013-07-11 04:23:00 UTC
fixed
Comment 3 Sunil Kumar 2015-01-16 13:24:07 UTC
I have checked this issue and now it's working fine. Now all code between tripe quoted is highlighting as string.

Screencast:  http://www.screencast.com/t/ah3iIkMCDR

Hence closing this issue.

Environment info: 
=== Xamarin Studio ===

Version 5.7.1 (build 13)
Installation UUID: 561c7a69-0a91-4bae-ad7c-f0c79d594337
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: 8.6.1.7 (Business Edition)
Hash: a7f03d5
Branch: 
Build date: 2015-01-15 17:36:07-0500

=== Xamarin.Android ===

Version: 4.20.0.28 (Trial Edition)
Android SDK: /Users/tajinder/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.Mac ===

Version: 1.12.0.4 (Business Edition)

=== Build Information ===

Release ID: 507010013
Git revision: 8e357d6be321e716f361ebc9591e4cee7f217c21
Build date: 2015-01-15 14:23:22-05
Xamarin addins: a6842a7727f64e956f942b8160f7835c9d9076a4

=== Operating System ===

Mac OS X 10.8.4
Darwin Tajinders-iMac.local 12.4.2 Darwin Kernel Version 12.4.2
    Mon Jun 17 18:00:12 PDT 2013
    root:xnu-2050.45.8~1/RELEASE_X86_64 x86_64