C# Class SIL.FieldWorks.SharpViews.MultiLineInsertData

Mostrar archivo Open project: sillsdev/FieldWorks

Public Properties

Property Type Description
Selection Selection

Public Methods

Method Description
MultiLineInsertData ( Selection whereToInsert, List stringToInsert, List styles ) : System
MultiLineInsertData ( Selection whereToInsert, string stringToInsert, List styles ) : System

Private Methods

Method Description
AdvancePastLineBreak ( int offset, string input ) : int

Offset is the index of \r or \n in input. Return index + 1 unless we find a \r\n sequence exactly at index.

BackPastLineBreak ( int offset, string input ) : int

Offset is the index of the character after \r or \n in input. Return index -1 unless we find a \r\n sequence ending exactly at the character before index.

Method Details

MultiLineInsertData() public method

public MultiLineInsertData ( Selection whereToInsert, List stringToInsert, List styles ) : System
whereToInsert SIL.FieldWorks.SharpViews.Selections.Selection
stringToInsert List
styles List
return System

MultiLineInsertData() public method

public MultiLineInsertData ( Selection whereToInsert, string stringToInsert, List styles ) : System
whereToInsert SIL.FieldWorks.SharpViews.Selections.Selection
stringToInsert string
styles List
return System

Property Details

Selection public_oe property

public Selection Selection
return Selection