프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Associate | |||
BackspaceDeleteLineBreak | void | ||
CopyFrom | void | ||
DeleteLineBreak | void | ||
Draw | void | ||
InsertLineBreak | void | ||
InsertionPoint | System | ||
IsValidInsertionPoint | bool | ||
MoveBack | |||
MoveForward | |||
MoveUpOrDown |
메소드 | 설명 | |
---|---|---|
ApplyStyle ( string style ) : void |
Changes the Selection's style
|
|
Backspace ( ) : void |
Implement the backspace key function (delete one character, or merge two paragraphs).
|
|
CanApplyStyle ( string style ) : bool |
Checks whether the Selection's style can be changed
|
|
CanDelete ( ) : bool |
Return true if Delete() will delete something. Default is that it will not.
|
|
Delete ( ) : void |
Delete the selected material, or whatever else is appropriate when the Delete key is pressed. (Insertion Point deletes the following character.)
|
|
ExpandToWord ( ) : RangeSelection | ||
GetParagraphOps ( IParagraphOperations ¶graphOps, |
||
GetSelectionLocation ( IVwGraphics graphics, PaintTransform transform ) : |
Get the location, in the coordinates indicated by the transform, of a rectangle that contains the primary insertion point. Todo JohnT: there should be a parallel routine to get the location of the secondary rectangle.
|
|
InsertRtfString ( string input ) : bool | ||
InsertText ( string input ) : bool |
Insert the specified text at the insertion point. Enhance JohnT: normalize the string after the edit, maintaining the posititon of the IP correctly.
|
|
InsertTsString ( ITsString input ) : bool | ||
MoveByKey ( |
Return the selection that should be produced by a KeyDown event with the specified arguments. If the argument does not specify a key-moving event or it is not possible to move (e.g., left arrow at start of document), return null.
|
|
NextIp ( int distance ) : |
||
RestoreData ( |
||
SameLocation ( |
True if the two selections are at the same place (ignoring AssociatePrevious).
|
|
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
Associate ( bool previous ) : |
||
BackspaceDeleteLineBreak ( ) : void | ||
CopyFrom ( |
Make your state equivalent to the other IP.
|
|
DeleteLineBreak ( ) : void | ||
Draw ( IVwGraphics vg, PaintTransform ptrans ) : void | ||
InsertLineBreak ( ) : void | ||
InsertionPoint ( |
||
IsValidInsertionPoint ( int runIndex, int ichRun ) : bool | ||
MoveBack ( ) : |
||
MoveForward ( ) : |
||
MoveUpOrDown ( int delta ) : |
Move the insertion point up or down (depending on the sign of delta). Records an x position in the selection, so further moves down from the new IP as a starting point stay aligned as nearly as possible with the start position.
|
public GetParagraphOps ( IParagraphOperations ¶graphOps, |
||
paragraphOps | IParagraphOperations | |
parentHookup | ||
index | int | |
리턴 | bool |
public GetSelectionLocation ( IVwGraphics graphics, PaintTransform transform ) : |
||
graphics | IVwGraphics | |
transform | PaintTransform | |
리턴 |
public MoveByKey ( |
||
args | ||
리턴 |
public RestoreData ( |
||
dataToSave | ||
리턴 | ISelectionRestoreData |
public SameLocation ( |
||
other | ||
리턴 | bool |