From 76e6c812349089851869f8b272dfb95a542cf32d Mon Sep 17 00:00:00 2001 From: Markus Palme Date: Sat, 23 Sep 2006 10:39:48 +0000 Subject: [PATCH] SD2-1047: Quick XML doc not implemented for VB.NET comments git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1843 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../Base/Project/Src/TextEditor/Commands/ToolCommands.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main/Base/Project/Src/TextEditor/Commands/ToolCommands.cs b/src/Main/Base/Project/Src/TextEditor/Commands/ToolCommands.cs index dbe7b87f28..89ca92c5cf 100644 --- a/src/Main/Base/Project/Src/TextEditor/Commands/ToolCommands.cs +++ b/src/Main/Base/Project/Src/TextEditor/Commands/ToolCommands.cs @@ -87,14 +87,14 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Commands LineSegment line = textAreaControl.Document.GetLineSegment(startLine); string curLine = textAreaControl.Document.GetText(line.Offset, line.Length).Trim(); - if (!curLine.StartsWith("///") && ! curLine.StartsWith("'@")) { + if (!curLine.StartsWith("///") && ! curLine.StartsWith("'''")) { return; } while (startLine > 0) { line = textAreaControl.Document.GetLineSegment(startLine); curLine = textAreaControl.Document.GetText(line.Offset, line.Length).Trim(); - if (curLine.StartsWith("///") || curLine.StartsWith("'@")) { + if (curLine.StartsWith("///") || curLine.StartsWith("'''")) { --startLine; } else { break; @@ -104,7 +104,7 @@ namespace ICSharpCode.SharpDevelop.DefaultEditor.Commands while (endLine < textAreaControl.Document.TotalNumberOfLines - 1) { line = textAreaControl.Document.GetLineSegment(endLine); curLine = textAreaControl.Document.GetText(line.Offset, line.Length).Trim(); - if (curLine.StartsWith("///") || curLine.StartsWith("'@")) { + if (curLine.StartsWith("///") || curLine.StartsWith("'''")) { ++endLine; } else { break;