![]() ![]() ObjSel.StartOfLine(vsStartOfLineOptions. If ().StartsWith("//") ThenĭTE.ExecuteCommand("Edit.UncommentSelection")ĭTE.ExecuteCommand("Edit.CommentSelection")ĭTE.UndoContext.Open("comment/uncomment code")ĭim iCol As Int32 = startPoint.Displa圜olumnĭim ep1 As EditPoint2 = ()ĭim ep2 As EditPoint2 = () ' without breaking existing file format commenting. ![]() ' This allows this macro to be attached to the Ctrl+K+C shortcut ![]() ' We should default to regular commenting if we're not editing CSS. 'text = ep1.GetLines(ep1.Line, ep2.Line + 1)ĭim fileName = 'Dim ts1 As TextSelection = CType((), EnvDTE.TextSelection) ObjFind.FindReplace(vsFindAction.vsFindActionReplaceAll, commentEnd, vsFindOptions.vsFindOptionsMatchWholeWord, "", vsFindTarget.vsFindTargetOpenDocuments,, , vsFindResultsLocation.vsFindResultsNone)ĭim objSel As TextSelection = These trendy plants vs zombies figures are high in quality and. ObjFind.FindReplace(vsFindAction.vsFindActionReplaceAll, commentStart, vsFindOptions.vsFindOptionsMatchWholeWord, "", vsFindTarget.vsFindTargetOpenDocuments,, , vsFindResultsLocation.vsFindResultsNone) Find custom and popular plants vs zombies figures toys and collectibles at. ' objFind.FindReplace(vsFindAction.vsFindActionReplaceAll, "test", vsFindOptions.vsFindOptionsMatchWholeWord, "NEW THING", vsFindTarget.vsFindTargetOpenDocuments,, , vsFindResultsLocation.vsFindResultsNone) ' objEditPt.Insert("This is a test." & Chr(13)) ' ' Get a handle to the new document and create an EditPoint. ' commentStart = Utilities.LineOrientedCommentStart() 'Purpose:To patch the bug of Visual Studio 2010 can not make correct comments of Studio 2010对CSS添加的错误注释 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |