Working with Microsoft Visual Studio 2005

editing text. See also Code Editor; Text Editor

AfterKeyPress events, 259-261

BeforeKeyPress events, 259-261

document creation, 246-247

Document objects, 246-250

documents, role of, 246

editors for. See Code Editor; Text Editor

EditPoint objects, 250, 253-256

events, 259-262

finding document objects, 247

HTMLWindow objects, 242-244

LineChanged event, 261-262

managing document windows, 248

point objects, 250-253

saving documents, 249

stack linkage, 258-259

TextDocument objects, 250

TextPane objects, 244-246

TextPoint objects, 250-251

TextSelection objects, 253-256

TextSelection property, 249

TextWindow objects, 242-244

undo contexts, 256-259

VirtualPoint objects, 251-252

vsTextChangedEnumeration, 262

Window objects, 241-242

windows for. See editor windows

editor windows

ActivePane property, 243-246

defined, 241

discovering parent windows, 244

HTMLWindow objects, 242-244

Panes property, 243

TextPane objects, 244-246

TextWindow objects, 242-244

Window objects, 241-242

EditPoint objects, 253, 254-256

Edit.QuickFind command, 50

Emacs keyboard shortcut scheme, 40

EndPoint property, 250, 251

enumerating

project items, 163-166

projects in solutions, 155-156

windows collections, 198

EnvDTE namespace

add-ins, objects used in, 120

Solution object, 153

environmental variables, 13

EnvironmentEvents modules, 182, 216

Equals method, 235-237

EqualTo method of TextPoint, 251

error list windows, 221

Event box, 35

event handlers, macros for, 102-104

events

add-ins called by, 117-119

AfterKeyPress events, 259-261

BeforeKeyPress events, 259-261

build events, 193-194

garbage collector problem, 162-163

LifeCycle.cs example, 117-119

LineChanged event, 261-262

LoadUnload.cs example, 122-125

lost, 162-163

macro access to, 96

macros, firing with, 102-104

obtaining from EnvironmentEvents, 102

OnAddInsUpdate, 122-125

OnBeginShutdown, 125

OnBuild events, 193-194

OnDisconnection, 125-126

OnStartupComplete, 121

projects firing, 181-183

security with macros, 104

sequence for add-ins, 117

solution events, 158-163

SolutionEvents.cs, 159-162

Task List, 216-218

text editing events, 259-262

variable declarations, 182

vsTextChangedEnumeration, 262

Exec method, 137-138, 141-143

ExecuteCommand method, 134

executing commands, 134-135

expanding collapsed code, 46

Explorer windows. See UI hierarchy windows

Export Template Wizard

custom template generation, 78-81

modifying templates after generation, 81

replacement values, table of, 79-81

simple template generation, 75-78

exporting, macro modules for, 105

ext_DisconnectMode values, 125, 126

extensibility

add-ins for, 15. See also add-ins

content installer. See custom content installers

DTE object, 13

Extensibility namespace, 115

extensibility objects, calling, 207

IDE folder shortcut, creating, 12

IDTExtensibility2 interface. See IDTExtensibility2 interface

macros for, 14. See also macros

starter kits, 16

tool windows, 4

wizards for, 15. See also wizards

Категории