From 48679dd3643879aa36e8af5216ded509fadae061 Mon Sep 17 00:00:00 2001 From: Matt Ward Date: Thu, 19 Oct 2006 16:52:34 +0000 Subject: [PATCH] Ampersands now displayed correctly in text editor visual error tooltips. The original code was replacing each ampersand with three ampersands, a fix for a problem in SharpDevelop 1.1 rev 1662 which is no longer needed in SharpDevelop2. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1914 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- src/Main/Base/Project/Src/TextEditor/Gui/Editor/ErrorDrawer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/Base/Project/Src/TextEditor/Gui/Editor/ErrorDrawer.cs b/src/Main/Base/Project/Src/TextEditor/Gui/Editor/ErrorDrawer.cs index 8f9e611738..2fc6359292 100644 --- a/src/Main/Base/Project/Src/TextEditor/Gui/Editor/ErrorDrawer.cs +++ b/src/Main/Base/Project/Src/TextEditor/Gui/Editor/ErrorDrawer.cs @@ -30,7 +30,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Gui.Editor : base(offset, length, TextMarkerType.WaveLine, (task.TaskType == TaskType.Error) ? Color.Red : Color.Orange) { this.task = task; - base.ToolTip = task.Description.Replace("&", "&&&"); + base.ToolTip = task.Description; } }