Property | Type | Description | |
---|---|---|---|
FindClosestWagParsed | IAnalysis | ||
GetSelectedWordPos | bool | ||
GetSelectedWordform | bool | ||
GetWsOfFirstWordOfFirstTextPara | int | ||
InsertInvisibleSpace | bool | ||
ReparseParaInUowIfNeeded | void | ||
ReparseParagraph | void | ||
SelectionBeginningGrowToWord | IVwSelection | ||
SetParaToReparse | void | ||
SetStyleSheet | void | ||
SetupVc | void | ||
Swap | void | ||
TurnOffClickInvisibleSpace | void | ||
TurnOnShowInvisibleSpaces | void |
Method | Description | |
---|---|---|
HandleKeyDownAndKeyPress ( Keys key ) : void | ||
Init ( XCore.Mediator mediator, System configurationParameters ) : void |
Save the configuration parameters in case we want to use them locally.
|
|
LexiconLookupEnabled ( ) : bool |
Returns true if there's anything to select. This is needed so that the toolbar button is disabled when there's nothing to select and look up. Otherwise, crashes can result when it's clicked but there's nothing there to process! It's misleading to the user if nothing else. It would be nice if the processing could be minimized, but this seems to be minimal. (GJM - 23 Feb 2012 Is that better? LT-12726)
|
|
MakeRoot ( ) : void |
Make the root box.
|
|
MakeTextSelectionAndScrollToView ( int ichMin, int ichLim, int ws, int ipara ) : void | ||
OnDisplayClickInvisibleSpace ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
handle the message to see if the menu item should be enabled
|
|
OnDisplayGuessWordBreaks ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayShowInvisibleSpaces ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
handle the message to see if the menu item should be enabled
|
|
OnGuessWordBreaks ( object argument ) : void |
Guess where we can break words.
|
|
OnLexiconLookup ( object argument ) : bool |
Look up the selected wordform in the dictionary and display its lexical entry.
|
|
OnProblemDeletion ( IVwSelection sel, VwDelProbType dpt ) : VwDelProbResponse |
The user has attempted to delete something which the system does not inherently know how to delete. The dpt argument indicates the type of problem.
|
|
OnPropertyChanged ( string name ) : void |
Receives the broadcast message "PropertyChanged"
|
|
RawTextPane ( ) : System | ||
SelectBookmark ( IStTextBookmark bookmark ) : void | ||
SetRoot ( int hvo ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed. If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation. |
|
DoContextMenu ( IVwSelection sel, Point pt, |
Handle a right mouse up, invoking an appropriate context menu.
|
|
Draw ( PaintEventArgs e ) : void |
Draw to the given clip rectangle. This is overridden to *NOT* write the default message for an uninitialized rootsite.
|
|
HandleSelectionChange ( IVwRootBox rootb, IVwSelection vwselNew ) : void | ||
MakeTextSelectionAndScrollToView ( int ichMin, int ichLim, int ws, int ipara, int ihvoEnd ) : void | ||
OnKeyPress ( |
||
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
OnLostFocus ( |
||
OnMouseDown ( MouseEventArgs e ) : void | ||
OnMouseMove ( MouseEventArgs e ) : void |
Method | Description | |
---|---|---|
FindClosestWagParsed ( IStTxtPara para, int ichMin, int ichLim ) : IAnalysis | ||
GetSelectedWordPos ( IVwSelection sel, int &hvo, int &tag, int &ws, int &ichMin, int &ichLim ) : bool | ||
GetSelectedWordform ( IVwSelection sel, IWfiWordform &wordform ) : bool | ||
GetWsOfFirstWordOfFirstTextPara ( ) : int |
Returns WS of first character of first paragraph of m_hvoRoot text. It defaults to DefaultVernacularWs in case of a problem.
|
|
InsertInvisibleSpace ( MouseEventArgs e ) : bool | ||
ReparseParaInUowIfNeeded ( IStTxtPara para ) : void | ||
ReparseParagraph ( IStTxtPara para ) : void | ||
SelectionBeginningGrowToWord ( IVwSelection sel ) : IVwSelection |
Return a word selection based on the beginning of the current selection. Here the "beginning" of the selection is the offset corresponding to word order, not the selection anchor.
|
|
SetParaToReparse ( IStTxtPara para ) : void | ||
SetStyleSheet ( int hvo ) : void | ||
SetupVc ( ) : void | ||
Swap ( int &first, int &second ) : void | ||
TurnOffClickInvisibleSpace ( ) : void | ||
TurnOnShowInvisibleSpaces ( ) : void |
protected DoContextMenu ( IVwSelection sel, Point pt, |
||
sel | IVwSelection | |
pt | Point | |
rcSrcRoot | ||
rcDstRoot | ||
return | bool |
public HandleKeyDownAndKeyPress ( Keys key ) : void | ||
key | Keys | |
return | void |
protected HandleSelectionChange ( IVwRootBox rootb, IVwSelection vwselNew ) : void | ||
rootb | IVwRootBox | |
vwselNew | IVwSelection | |
return | void |
public Init ( XCore.Mediator mediator, System configurationParameters ) : void | ||
mediator | XCore.Mediator | |
configurationParameters | System | |
return | void |
public MakeTextSelectionAndScrollToView ( int ichMin, int ichLim, int ws, int ipara ) : void | ||
ichMin | int | |
ichLim | int | |
ws | int | |
ipara | int | |
return | void |
protected MakeTextSelectionAndScrollToView ( int ichMin, int ichLim, int ws, int ipara, int ihvoEnd ) : void | ||
ichMin | int | |
ichLim | int | |
ws | int | |
ipara | int | |
ihvoEnd | int | |
return | void |
public OnDisplayClickInvisibleSpace ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayGuessWordBreaks ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayShowInvisibleSpaces ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnGuessWordBreaks ( object argument ) : void | ||
argument | object | |
return | void |
protected OnKeyPress ( |
||
e | ||
return | void |
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
levent | System.Windows.Forms.LayoutEventArgs | |
return | void |
public OnLexiconLookup ( object argument ) : bool | ||
argument | object | |
return | bool |
protected OnLostFocus ( |
||
e | ||
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
public OnProblemDeletion ( IVwSelection sel, VwDelProbType dpt ) : VwDelProbResponse | ||
sel | IVwSelection | The selection |
dpt | VwDelProbType | Problem type |
return | VwDelProbResponse |
public OnPropertyChanged ( string name ) : void | ||
name | string | |
return | void |
public SelectBookmark ( IStTextBookmark bookmark ) : void | ||
bookmark | IStTextBookmark | |
return | void |