@univerjs/docs-ui v0.5.0-beta.1 • 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
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:36
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
Methods
clearUndoRedoMutationParamsCache()
clearUndoRedoMutationParamsCache(): void
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:42
dispose()
dispose(): void
Returns
void
Implementation of
Overrides
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:98
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
fetchComposedUndoRedoMutationParams()
fetchComposedUndoRedoMutationParams(): null | {
previousActiveRange: ITextRangeWithStyle;
redoMutationParams: IRichTextEditingMutationParams;
undoMutationParams: IRichTextEditingMutationParams;
}
Returns
null
| {
previousActiveRange
: ITextRangeWithStyle
;
redoMutationParams
: IRichTextEditingMutationParams
;
undoMutationParams
: IRichTextEditingMutationParams
;
}
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:72
getActiveRange()
getActiveRange(): Nullable<ITextRangeWithStyle>
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:59
getUndoRedoMutationParamsCache()
getUndoRedoMutationParamsCache(): {
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Returns
{
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Name | Type | Defined in |
---|---|---|
redoCache | IRichTextEditingMutationParams [] | submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:50 |
undoCache | IRichTextEditingMutationParams [] | submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:49 |
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:47
pushUndoRedoMutationParams()
pushUndoRedoMutationParams(undoParams, redoParams): void
Parameters
Parameter | Type |
---|---|
undoParams | IRichTextEditingMutationParams |
redoParams | IRichTextEditingMutationParams |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:67
setActiveRange()
setActiveRange(range): void
Parameters
Parameter | Type |
---|---|
range | Nullable <ITextRangeWithStyle > |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:63
setUndoRedoMutationParamsCache()
setUndoRedoMutationParamsCache(__namedParameters): void
Parameters
Parameter | Type |
---|---|
__namedParameters | ICacheParams |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:54