@univerjs/docs-ui v0.4.2 • Docs
Class: DocIMEInputManagerService
Every render module should implement this interface.
Extends
Implements
Constructors
new DocIMEInputManagerService()
new DocIMEInputManagerService(_context): DocIMEInputManagerService
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
Returns
Overrides
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:36 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | packages/core/src/shared/lifecycle.ts:117 (opens in a new tab) |
Methods
clearUndoRedoMutationParamsCache()
clearUndoRedoMutationParamsCache(): void
Returns
void
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:42 (opens in a new tab)
dispose()
dispose(): void
Returns
void
Implementation of
Overrides
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:98 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
fetchComposedUndoRedoMutationParams()
fetchComposedUndoRedoMutationParams(): null | {
previousActiveRange: ITextRangeWithStyle;
redoMutationParams: IRichTextEditingMutationParams;
undoMutationParams: IRichTextEditingMutationParams;
}
Returns
null
| {
previousActiveRange
: ITextRangeWithStyle
;
redoMutationParams
: IRichTextEditingMutationParams
;
undoMutationParams
: IRichTextEditingMutationParams
;
}
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:72 (opens in a new tab)
getActiveRange()
getActiveRange(): Nullable<ITextRangeWithStyle>
Returns
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:59 (opens in a new tab)
getUndoRedoMutationParamsCache()
getUndoRedoMutationParamsCache(): {
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Returns
{
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:47 (opens in a new tab)
pushUndoRedoMutationParams()
pushUndoRedoMutationParams(undoParams, redoParams): void
Parameters
Parameter | Type |
---|---|
undoParams | IRichTextEditingMutationParams |
redoParams | IRichTextEditingMutationParams |
Returns
void
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:67 (opens in a new tab)
setActiveRange()
setActiveRange(range): void
Parameters
Parameter | Type |
---|---|
range | Nullable <ITextRangeWithStyle > |
Returns
void
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:63 (opens in a new tab)
setUndoRedoMutationParamsCache()
setUndoRedoMutationParamsCache(__namedParameters): void
Parameters
Parameter | Type |
---|---|
__namedParameters | ICacheParams |
Returns
void
Defined in
packages/docs-ui/src/services/doc-ime-input-manager.service.ts:54 (opens in a new tab)