C# 클래스 SIL.FieldWorks.Common.Framework.DetailControls.StTextSlice

An StTextSlice implements the sttext editor type for atomic attributes whose value is an StText. The resulting view allows the editing of the text, including creating and destroying (and splitting and merging) of the paragraphs using the usual keyboard actions.
상속: ViewPropertySlice
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
FinishInit ( ) : void
OnAddToLexicon ( object argument ) : bool
OnDisplayAddToLexicon ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayLexiconLookup ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnLexiconLookup ( object argument ) : bool

Look up the selected wordform in the dictionary and display its lexical entry.

StTextSlice ( ICmObject obj, int flid, int ws ) : System

보호된 메소드들

메소드 설명
OnEnter ( EventArgs e ) : void

비공개 메소드들

메소드 설명
GetWordLimitsOfSelection ( int &ichMin, int &ichLim, int &hvo, int &tag, int &ws, ITsString &tss ) : void
GetWsFromString ( ITsString tss, int ichMin, int ichLim ) : int
SelectAt ( int ich ) : void

Select at the specified position in the first paragraph.

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.

메소드 상세

FinishInit() 공개 메소드

public FinishInit ( ) : void
리턴 void

OnAddToLexicon() 공개 메소드

public OnAddToLexicon ( object argument ) : bool
argument object
리턴 bool

OnDisplayAddToLexicon() 공개 메소드

public OnDisplayAddToLexicon ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
리턴 bool

OnDisplayLexiconLookup() 공개 메소드

public OnDisplayLexiconLookup ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
리턴 bool

OnEnter() 보호된 메소드

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLexiconLookup() 공개 메소드

Look up the selected wordform in the dictionary and display its lexical entry.
public OnLexiconLookup ( object argument ) : bool
argument object
리턴 bool

StTextSlice() 공개 메소드

public StTextSlice ( ICmObject obj, int flid, int ws ) : System
obj ICmObject
flid int
ws int
리턴 System