Свойство | Type | Description | |
---|---|---|---|
AdjustHeight | bool | ||
BaseMakeSelectionVisible | void | ||
CreateTempWritingSystemFactory | void | ||
RemoveNonRootNotifications | void | ||
ReplaceAll | ITsString | ||
RestoreNonRootNotifications | void | ||
ShutDownTempWsFactory | void | ||
SubstringCount | int |
Méthode | Description | |
---|---|---|
ApplyWS ( int hvoWs ) : void |
Applies the specified writing system to the current selection
|
|
GetAvailWidth ( IVwRootBox prootb ) : int |
Simulate infinite width if needed.
|
|
InnerFwTextBox ( ) : System |
Default constructor
|
|
MakeRoot ( ) : void |
Create the root box and initialize it. We want this one to work even in design mode, and since we supply the cache and data ourselves, that's possible.
|
|
PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void |
Any change to this private data access must be a change to our string, so check its length.
|
|
Select ( int start, int length ) : void |
Selects a range of text in the text box. If you want to set the start position to the first character in the control's text, set the start parameter to 0. You can use this method to select a substring of text, such as when searching through the text of the control and replacing information. Note: You can programmatically move the caret within the text box by setting the start parameter to the position within the text box where you want the caret to move to and set the length parameter to a value of zero (0). The text box must have focus in order for the caret to be moved. |
Méthode | Description | |
---|---|---|
CreateEditingHelper ( ) : EditingHelper |
Creates a special extended editing helper for this text box.
|
|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
ExtToIntIndex ( int extIndex ) : int |
Converts the external string index to the internal string index. They might be different because a line break character is used internally to represent a new line and CRLF is used externally on Windows to represent a new line.
|
|
IntToExtIndex ( int intIndex ) : int |
Converts the internal string index to the external string index. They might be different because a line break character is used internally to represent a new line and CRLF is used externally on Windows to represent a new line.
|
|
MakeSelectionVisible ( IVwSelection sel, bool fWantOneLineSpace ) : bool |
First try to make everything visible, if possible. This is especially helpful with RTL text.
|
|
OnKeyDown ( |
watch for keys to do the cut/copy/paste operations
|
|
OnKeyPress ( |
Override to suppress Enter key if it is not allowed.
|
|
OnMouseMoveSetCursor ( Point mousePos ) : void |
show default cursor for read-only text boxes.
|
|
OnSizeChanged ( |
When the edit box gets resized, recalc the maximum line height (when setting a Tss string, applying styles, or setting the WS, we need to reduce the font size if necessary to keep the text from being clipped by the height of the box).
|
Méthode | Description | |
---|---|---|
AdjustHeight ( ) : bool |
Adjusts text height after a style change.
|
|
BaseMakeSelectionVisible ( IVwSelection sel ) : void | ||
CreateTempWritingSystemFactory ( ) : void |
Make a writing system factory that is based on the Languages folder (ICU-based). This is only used in Designer, tests, and momentarily (during construction) in production, until the client sets supplies a real one.
|
|
RemoveNonRootNotifications ( ) : void | ||
ReplaceAll ( ITsString tss, string oldSubStr, string newSubStr ) : ITsString | ||
RestoreNonRootNotifications ( ) : void | ||
ShutDownTempWsFactory ( ) : void |
Shut down the writing system factory and release it explicitly.
|
|
SubstringCount ( string str, string substr ) : int |
public ApplyWS ( int hvoWs ) : void | ||
hvoWs | int | The ID of the writing system to apply |
Résultat | void |
protected CreateEditingHelper ( ) : EditingHelper | ||
Résultat | EditingHelper |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
protected ExtToIntIndex ( int extIndex ) : int | ||
extIndex | int | The external string index. |
Résultat | int |
public GetAvailWidth ( IVwRootBox prootb ) : int | ||
prootb | IVwRootBox | |
Résultat | int |
protected IntToExtIndex ( int intIndex ) : int | ||
intIndex | int | The internal string index. |
Résultat | int |
protected MakeSelectionVisible ( IVwSelection sel, bool fWantOneLineSpace ) : bool | ||
sel | IVwSelection | The sel. |
fWantOneLineSpace | bool | if set to |
Résultat | bool |
protected OnKeyDown ( |
||
e | ||
Résultat | void |
protected OnKeyPress ( |
||
e | ||
Résultat | void |
protected OnMouseMoveSetCursor ( Point mousePos ) : void | ||
mousePos | Point | |
Résultat | void |
protected OnSizeChanged ( |
||
e | ||
Résultat | void |
public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void | ||
hvo | int | |
tag | int | |
ivMin | int | |
cvIns | int | |
cvDel | int | |
Résultat | void |
public Select ( int start, int length ) : void | ||
start | int | The position of the first character in the current text selection within the text box. |
length | int | The number of characters to select. |
Résultat | void |