MergeTreeTextHelper Class
Signature
export declare class MergeTreeTextHelper
Constructors
Constructor | Description |
---|---|
(constructor)(mergeTree) | Constructs a new instance of the MergeTreeTextHelper class |
Methods
Method | Return Type | Description |
---|---|---|
getText(refSeq, clientId, placeholder, start, end) | string | |
getTextAndMarkers(refSeq, clientId, label, start, end) | { parallelText: string[]; parallelMarkers: Marker[]; } |
Constructor Details
(constructor)
Constructs a new instance of the MergeTreeTextHelper
class
Signature
constructor(mergeTree: MergeTree);
Parameters
Parameter | Type | Description |
---|---|---|
mergeTree | MergeTree |
Method Details
getText
Signature
getText(refSeq: number, clientId: number, placeholder?: string, start?: number, end?: number): string;
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
refSeq | number | ||
clientId | number | ||
placeholder | optional | string | |
start | optional | number | |
end | optional | number |
Returns
Return type: string
getTextAndMarkers
Signature
getTextAndMarkers(refSeq: number, clientId: number, label: string, start?: number, end?: number): {
parallelText: string[];
parallelMarkers: Marker[];
};
Parameters
Parameter | Modifiers | Type | Description |
---|---|---|---|
refSeq | number | ||
clientId | number | ||
label | string | ||
start | optional | number | |
end | optional | number |
Returns
Return type: { parallelText: string[]; parallelMarkers: Marker[]; }