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
Afficher le fichier Open project: kmunson/CommentReflowerVSIX Class Usage Examples

Méthodes publiques

Свойство Type Description
mCharPosition int
mLineNum int

Méthodes publiques

Méthode 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 méthode

public ChangeCase ( object i, EnvDTE st ) : void
i object
st EnvDTE
Résultat void

CharLeft() public méthode

public CharLeft ( int i ) : void
i int
Résultat void

CharRight() public méthode

public CharRight ( int i ) : void
i int
Résultat void

ClearBookmark() public méthode

public ClearBookmark ( ) : void
Résultat void

Copy() public méthode

public Copy ( object obj, bool b ) : void
obj object
b bool
Résultat void

CreateEditPoint() public méthode

public CreateEditPoint ( ) : EnvDTE.EditPoint
Résultat EnvDTE.EditPoint

Cut() public méthode

public Cut ( object obj, bool b ) : void
obj object
b bool
Résultat void

Delete() public méthode

public Delete ( object obj ) : void
obj object
Résultat void

DeleteWhitespace() public méthode

public DeleteWhitespace ( EnvDTE opt ) : void
opt EnvDTE
Résultat void

EndOfDocument() public méthode

public EndOfDocument ( ) : void
Résultat void

EndOfLine() public méthode

public EndOfLine ( ) : void
Résultat void

EqualTo() public méthode

public EqualTo ( EnvDTE other ) : bool
other EnvDTE
Résultat bool

FindPattern() public méthode

public FindPattern ( string st, int i, EnvDTE &j, EnvDTE &f ) : bool
st string
i int
j EnvDTE
f EnvDTE
Résultat bool

GetLines() public méthode

public GetLines ( int start, int end ) : string
start int
end int
Résultat string

GetText() public méthode

public GetText ( object obj ) : string
obj object
Résultat string

GreaterThan() public méthode

public GreaterThan ( EnvDTE other ) : bool
other EnvDTE
Résultat bool

Indent() public méthode

public Indent ( EnvDTE pt, int i ) : void
pt EnvDTE
i int
Résultat void

Insert() public méthode

public Insert ( string st ) : void
st string
Résultat void

InsertFromFile() public méthode

public InsertFromFile ( string st ) : void
st string
Résultat void

LessThan() public méthode

public LessThan ( EnvDTE other ) : bool
other EnvDTE
Résultat bool

LineDown() public méthode

public LineDown ( int i ) : void
i int
Résultat void

LineUp() public méthode

public LineUp ( int i ) : void
i int
Résultat void

MoveToAbsoluteOffset() public méthode

public MoveToAbsoluteOffset ( int i ) : void
i int
Résultat void

MoveToLineAndOffset() public méthode

public MoveToLineAndOffset ( int i, int j ) : void
i int
j int
Résultat void

MoveToPoint() public méthode

public MoveToPoint ( EnvDTE pt ) : void
pt EnvDTE
Résultat void

NextBookmark() public méthode

public NextBookmark ( ) : bool
Résultat bool

OutlineSection() public méthode

public OutlineSection ( object i ) : void
i object
Résultat void

PadToColumn() public méthode

public PadToColumn ( int i ) : void
i int
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

PreviousBookmark() public méthode

public PreviousBookmark ( ) : bool
Résultat bool

ReadOnly() public méthode

public ReadOnly ( object obj ) : bool
obj object
Résultat bool

ReplacePattern() public méthode

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

ReplaceText() public méthode

public ReplaceText ( object i, string st, int j ) : void
i object
st string
j int
Résultat void

SetBookmark() public méthode

public SetBookmark ( ) : void
Résultat void

SmartFormat() public méthode

public SmartFormat ( EnvDTE pt ) : void
pt EnvDTE
Résultat void

StartOfDocument() public méthode

public StartOfDocument ( ) : void
Résultat void

StartOfLine() public méthode

public StartOfLine ( ) : void
Résultat void

TestTextPoint() public méthode

public TestTextPoint ( TestFileWrapper parent, int lineNum, int lineCharOffset ) : System
parent TestFileWrapper
lineNum int
lineCharOffset int
Résultat System

TryToShow() public méthode

public TryToShow ( EnvDTE How, object PointOrCount ) : bool
How EnvDTE
PointOrCount object
Résultat bool

Unindent() public méthode

public Unindent ( EnvDTE pt, int j ) : void
pt EnvDTE
j int
Résultat void

WordLeft() public méthode

public WordLeft ( int i ) : void
i int
Résultat void

WordRight() public méthode

public WordRight ( int i ) : void
i int
Résultat void

get_CodeElement() public méthode

public get_CodeElement ( EnvDTE cal ) : EnvDTE.CodeElement
cal EnvDTE
Résultat EnvDTE.CodeElement

Property Details

mCharPosition public_oe property

public int mCharPosition
Résultat int

mLineNum public_oe property

public int mLineNum
Résultat int