C# Class CommentReflowerTest.TestTextPoint

This class implements enough of the EnvDTE.TextPoint and EnvDTE.EditPoint intefaces to allow regression testing
Inheritance: EnvDTE.TextPoint, EnvDTE.EditPoint
Datei anzeigen Open project: kmunson/CommentReflowerVSIX Class Usage Examples

Public Properties

Property Type Description
mCharPosition int
mLineNum int

Public Methods

Method Description
ChangeCase ( object i, EnvDTE st ) : void
CharLeft ( int i ) : void
CharRight ( int i ) : void
ClearBookmark ( ) : void
Copy ( object obj, bool b ) : void
CreateEditPoint ( ) : EnvDTE.EditPoint
Cut ( object obj, bool b ) : void
Delete ( object obj ) : void
DeleteWhitespace ( EnvDTE opt ) : void
EndOfDocument ( ) : void
EndOfLine ( ) : void
EqualTo ( EnvDTE other ) : bool
FindPattern ( string st, int i, EnvDTE &j, EnvDTE &f ) : bool
GetLines ( int start, int end ) : string
GetText ( object obj ) : string
GreaterThan ( EnvDTE other ) : bool
Indent ( EnvDTE pt, int i ) : void
Insert ( string st ) : void
InsertFromFile ( string st ) : void
LessThan ( EnvDTE other ) : bool
LineDown ( int i ) : void
LineUp ( int i ) : void
MoveToAbsoluteOffset ( int i ) : void
MoveToLineAndOffset ( int i, int j ) : void
MoveToPoint ( EnvDTE pt ) : void
NextBookmark ( ) : bool
OutlineSection ( object i ) : void
PadToColumn ( int i ) : void
Paste ( ) : void
PreviousBookmark ( ) : bool
ReadOnly ( object obj ) : bool
ReplacePattern ( EnvDTE a, string st1, string st2, int i, EnvDTE &r ) : bool
ReplaceText ( object i, string st, int j ) : void
SetBookmark ( ) : void
SmartFormat ( EnvDTE pt ) : void
StartOfDocument ( ) : void
StartOfLine ( ) : void
TestTextPoint ( TestFileWrapper parent, int lineNum, int lineCharOffset ) : System
TryToShow ( EnvDTE How, object PointOrCount ) : bool
Unindent ( EnvDTE pt, int j ) : void
WordLeft ( int i ) : void
WordRight ( int i ) : void
get_CodeElement ( EnvDTE cal ) : EnvDTE.CodeElement

Method Details

ChangeCase() public method

public ChangeCase ( object i, EnvDTE st ) : void
i object
st EnvDTE
return void

CharLeft() public method

public CharLeft ( int i ) : void
i int
return void

CharRight() public method

public CharRight ( int i ) : void
i int
return void

ClearBookmark() public method

public ClearBookmark ( ) : void
return void

Copy() public method

public Copy ( object obj, bool b ) : void
obj object
b bool
return void

CreateEditPoint() public method

public CreateEditPoint ( ) : EnvDTE.EditPoint
return EnvDTE.EditPoint

Cut() public method

public Cut ( object obj, bool b ) : void
obj object
b bool
return void

Delete() public method

public Delete ( object obj ) : void
obj object
return void

DeleteWhitespace() public method

public DeleteWhitespace ( EnvDTE opt ) : void
opt EnvDTE
return void

EndOfDocument() public method

public EndOfDocument ( ) : void
return void

EndOfLine() public method

public EndOfLine ( ) : void
return void

EqualTo() public method

public EqualTo ( EnvDTE other ) : bool
other EnvDTE
return bool

FindPattern() public method

public FindPattern ( string st, int i, EnvDTE &j, EnvDTE &f ) : bool
st string
i int
j EnvDTE
f EnvDTE
return bool

GetLines() public method

public GetLines ( int start, int end ) : string
start int
end int
return string

GetText() public method

public GetText ( object obj ) : string
obj object
return string

GreaterThan() public method

public GreaterThan ( EnvDTE other ) : bool
other EnvDTE
return bool

Indent() public method

public Indent ( EnvDTE pt, int i ) : void
pt EnvDTE
i int
return void

Insert() public method

public Insert ( string st ) : void
st string
return void

InsertFromFile() public method

public InsertFromFile ( string st ) : void
st string
return void

LessThan() public method

public LessThan ( EnvDTE other ) : bool
other EnvDTE
return bool

LineDown() public method

public LineDown ( int i ) : void
i int
return void

LineUp() public method

public LineUp ( int i ) : void
i int
return void

MoveToAbsoluteOffset() public method

public MoveToAbsoluteOffset ( int i ) : void
i int
return void

MoveToLineAndOffset() public method

public MoveToLineAndOffset ( int i, int j ) : void
i int
j int
return void

MoveToPoint() public method

public MoveToPoint ( EnvDTE pt ) : void
pt EnvDTE
return void

NextBookmark() public method

public NextBookmark ( ) : bool
return bool

OutlineSection() public method

public OutlineSection ( object i ) : void
i object
return void

PadToColumn() public method

public PadToColumn ( int i ) : void
i int
return void

Paste() public method

public Paste ( ) : void
return void

PreviousBookmark() public method

public PreviousBookmark ( ) : bool
return bool

ReadOnly() public method

public ReadOnly ( object obj ) : bool
obj object
return bool

ReplacePattern() public method

public ReplacePattern ( EnvDTE a, string st1, string st2, int i, EnvDTE &r ) : bool
a EnvDTE
st1 string
st2 string
i int
r EnvDTE
return bool

ReplaceText() public method

public ReplaceText ( object i, string st, int j ) : void
i object
st string
j int
return void

SetBookmark() public method

public SetBookmark ( ) : void
return void

SmartFormat() public method

public SmartFormat ( EnvDTE pt ) : void
pt EnvDTE
return void

StartOfDocument() public method

public StartOfDocument ( ) : void
return void

StartOfLine() public method

public StartOfLine ( ) : void
return void

TestTextPoint() public method

public TestTextPoint ( TestFileWrapper parent, int lineNum, int lineCharOffset ) : System
parent TestFileWrapper
lineNum int
lineCharOffset int
return System

TryToShow() public method

public TryToShow ( EnvDTE How, object PointOrCount ) : bool
How EnvDTE
PointOrCount object
return bool

Unindent() public method

public Unindent ( EnvDTE pt, int j ) : void
pt EnvDTE
j int
return void

WordLeft() public method

public WordLeft ( int i ) : void
i int
return void

WordRight() public method

public WordRight ( int i ) : void
i int
return void

get_CodeElement() public method

public get_CodeElement ( EnvDTE cal ) : EnvDTE.CodeElement
cal EnvDTE
return EnvDTE.CodeElement

Property Details

mCharPosition public_oe property

public int mCharPosition
return int

mLineNum public_oe property

public int mLineNum
return int