From 8102529fff56996e7ef23528864735e63164be0e Mon Sep 17 00:00:00 2001 From: wuchengwen Date: Tue, 20 Aug 2024 21:34:40 +0800 Subject: [PATCH] fix interface annotation Signed-off-by: wuchengwen --- .../kits/c/inputmethod_attach_options_capi.h | 32 +-- .../kits/c/inputmethod_private_command_capi.h | 54 ++-- .../kits/c/inputmethod_text_avoid_info_capi.h | 40 +-- .../kits/c/inputmethod_text_config_capi.h | 49 ++-- .../c/inputmethod_text_editor_proxy_capi.h | 264 +++++++++--------- 5 files changed, 226 insertions(+), 213 deletions(-) diff --git a/interfaces/kits/c/inputmethod_attach_options_capi.h b/interfaces/kits/c/inputmethod_attach_options_capi.h index 7fdca497..0519caa3 100644 --- a/interfaces/kits/c/inputmethod_attach_options_capi.h +++ b/interfaces/kits/c/inputmethod_attach_options_capi.h @@ -1,22 +1,22 @@ /* -* Copyright (c) 2024 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef OHOS_INPUTMETHOD_ATTACH_OPTIONS_CAPI_H #define OHOS_INPUTMETHOD_ATTACH_OPTIONS_CAPI_H #include "inputmethod_types_capi.h" #ifdef __cplusplus -extern "C"{ +extern "C" { #endif /* __cplusplus */ /** * @brief Define the InputMethod_AttachOptions structure type. @@ -38,14 +38,14 @@ InputMethod_AttachOptions *OH_AttachOptions_New(bool showKeyboard); /** * @brief Delete a {@link InputMethod_AttachOptions} instance. * - * @param options Represents a pointer to an {@link InputMethod_AttachOptions} instance whitch will be deleted. + * @param options Represents a pointer to an {@link InputMethod_AttachOptions} instance which will be deleted. * @since 12 */ void OH_AttachOptions_Delete(InputMethod_AttachOptions *options); /** * @brief Get showKeyboard value from {@link InputMethod_AttachOptions}. * - * @param options Represents a pointer to an {@link InputMethod_AttachOptions} instance whitch will be get value from. + * @param options Represents a pointer to an {@link InputMethod_AttachOptions} instance which will be get value from. * @param showKeyboard Represents showKeyboard value. * true - need to show keyboard. * false - no need to show keyboard. diff --git a/interfaces/kits/c/inputmethod_private_command_capi.h b/interfaces/kits/c/inputmethod_private_command_capi.h index 7a48d93c..c056589c 100644 --- a/interfaces/kits/c/inputmethod_private_command_capi.h +++ b/interfaces/kits/c/inputmethod_private_command_capi.h @@ -1,17 +1,17 @@ /* -* Copyright (c) 2024 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef OHOS_INPUTMETHOD_PRIVATE_COMMAND_CAPI_H #define OHOS_INPUTMETHOD_PRIVATE_COMMAND_CAPI_H #include @@ -19,7 +19,7 @@ #include "inputmethod_types_capi.h" #ifdef __cplusplus -extern "C"{ +extern "C" { #endif /* __cplusplus */ /** * @brief Define the InputMethod_PrivateCommand structure type. @@ -34,7 +34,7 @@ typedef struct InputMethod_PrivateCommand InputMethod_PrivateCommand; * @brief Create a new {@link InputMethod_PrivateCommand} instance. * * @param key The key of the private command. - * @param KeyLength The length of the key. + * @param keyLength The length of the key. * @return Returns a pointer to the newly created {@link InputMethod_PrivateCommand} instance. * @since 12 */ @@ -42,14 +42,14 @@ InputMethod_PrivateCommand *OH_PrivateCommand_New(char key[], size_t keyLength); /** * @brief Delete a {@link InputMethod_PrivateCommand} instance. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be deleted. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be deleted. * @since 12 */ void OH_PrivateCommand_Delete(InputMethod_PrivateCommand *command); /** * @brief Set key value into {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be set value. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. * @param key Represents key value. * @param keyLength Represents key length. * @return Returns a specific error code. @@ -62,7 +62,7 @@ InputMethod_ErrorCode OH_PrivateCommand_SetKey(InputMethod_PrivateCommand *comma /** * @brief Set bool data value into {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be set value. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. * @param value Represents bool data value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -74,7 +74,7 @@ InputMethod_ErrorCode OH_PrivateCommand_SetBoolValue(InputMethod_PrivateCommand /** * @brief Set integer data value into {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be set value. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. * @param value Represents integer data value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -86,8 +86,9 @@ InputMethod_ErrorCode OH_PrivateCommand_SetIntValue(InputMethod_PrivateCommand * /** * @brief Set string data value into {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be set value. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be set value. * @param value Represents string data value. + * @param valueLength Represents the length of string data value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -100,7 +101,7 @@ InputMethod_ErrorCode OH_PrivateCommand_SetStrValue( /** * @brief Get key value from {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be get value from. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. * @param key Represents key value. * @param keyLength Represents key length. * @return Returns a specific error code. @@ -109,11 +110,12 @@ InputMethod_ErrorCode OH_PrivateCommand_SetStrValue( * Specific error codes can be referenced {@link InputMethod_ErrorCode}. * @since 12 */ -InputMethod_ErrorCode OH_PrivateCommand_GetKey(InputMethod_PrivateCommand *command, const char **key, size_t *keyLength); +InputMethod_ErrorCode OH_PrivateCommand_GetKey( + InputMethod_PrivateCommand *command, const char **key, size_t *keyLength); /** * @brief Get value type from {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be get value from. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. * @param type Represents a pointer to a {@link InputMethod_CommandValueType} instance. Indicates the data type of the * value. * @return Returns a specific error code. @@ -127,7 +129,7 @@ InputMethod_ErrorCode OH_PrivateCommand_GetValueType( /** * @brief Get bool data value from {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be get value from. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. * @param value Represents bool data value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -139,7 +141,7 @@ InputMethod_ErrorCode OH_PrivateCommand_GetBoolValue(InputMethod_PrivateCommand /** * @brief Get integer data value from {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be get value from. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. * @param value Represents integer data value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -151,7 +153,7 @@ InputMethod_ErrorCode OH_PrivateCommand_GetIntValue(InputMethod_PrivateCommand * /** * @brief Get string data value from {@link InputMethod_PrivateCommand}. * - * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance whitch will be get value from. + * @param command Represents a pointer to an {@link InputMethod_PrivateCommand} instance which will be get value from. * @param value Represents string data value. * @param valueLength Represents the length of string data value. * @return Returns a specific error code. diff --git a/interfaces/kits/c/inputmethod_text_avoid_info_capi.h b/interfaces/kits/c/inputmethod_text_avoid_info_capi.h index 528c9731..02b45162 100644 --- a/interfaces/kits/c/inputmethod_text_avoid_info_capi.h +++ b/interfaces/kits/c/inputmethod_text_avoid_info_capi.h @@ -1,22 +1,22 @@ /* -* Copyright (c) 2024 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef OHOS_INPUTMETHOD_TEXT_AVOID_INFO_CAPI_H #define OHOS_INPUTMETHOD_TEXT_AVOID_INFO_CAPI_H #include "inputmethod_types_capi.h" #ifdef __cplusplus -extern "C"{ +extern "C" { #endif /* __cplusplus */ /** @@ -40,14 +40,14 @@ InputMethod_TextAvoidInfo *OH_TextAvoidInfo_New(double positionY, double height) /** * @brief Delete a {@link InputMethod_TextAvoidInfo} instance. * - * @param options Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance whitch will be deleted. + * @param options Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be deleted. * @since 12 */ void OH_TextAvoidInfo_Delete(InputMethod_TextAvoidInfo *info); /** * @brief Set positionY value into {@link InputMethod_TextAvoidInfo}. * - * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance whitch will be set value. + * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be set value. * @param positionY Represents positionY value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -59,8 +59,8 @@ InputMethod_ErrorCode OH_TextAvoidInfo_SetPositionY(InputMethod_TextAvoidInfo *i /** * @brief Set height value into {@link InputMethod_TextAvoidInfo}. * - * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance whitch will be set value. - * @param positionY Represents height value. + * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be set value. + * @param height Represents height value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -71,7 +71,7 @@ InputMethod_ErrorCode OH_TextAvoidInfo_SetHeight(InputMethod_TextAvoidInfo *info /** * @brief Get positionY value from {@link InputMethod_TextAvoidInfo}. * - * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance whitch will be get value from. + * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be get value from. * @param positionY Represents positionY value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -83,7 +83,7 @@ InputMethod_ErrorCode OH_TextAvoidInfo_GetPositionY(InputMethod_TextAvoidInfo *i /** * @brief Get height value into {@link InputMethod_TextAvoidInfo}. * - * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance whitch will be get value from. + * @param info Represents a pointer to an {@link InputMethod_TextAvoidInfo} instance which will be get value from. * @param height Represents height value. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. diff --git a/interfaces/kits/c/inputmethod_text_config_capi.h b/interfaces/kits/c/inputmethod_text_config_capi.h index e05ecade..8a6bfbf9 100644 --- a/interfaces/kits/c/inputmethod_text_config_capi.h +++ b/interfaces/kits/c/inputmethod_text_config_capi.h @@ -1,27 +1,27 @@ /* -* Copyright (c) 2024 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef OHOS_INPUTMETHOD_TEXT_CONFIG_CAPI_H #define OHOS_INPUTMETHOD_TEXT_CONFIG_CAPI_H #include -#include "inputmethod_types_capi.h" #include "inputmethod_cursor_info_capi.h" #include "inputmethod_text_avoid_info_capi.h" +#include "inputmethod_types_capi.h" #ifdef __cplusplus -extern "C"{ +extern "C" { #endif /* __cplusplus */ /** * @brief Define the InputMethod_TextConfig structure type. @@ -76,7 +76,7 @@ InputMethod_ErrorCode OH_TextConfig_SetEnterKeyType( * @brief Set is preview text supported into TextConfig. * * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be set. - * @param isSupported Indicates whether the preview text is supported. + * @param supported Indicates whether the preview text is supported. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -113,7 +113,7 @@ InputMethod_ErrorCode OH_TextConfig_SetWindowId(InputMethod_TextConfig *config, /** * @brief Get input type from TextConfig * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. * @param inputType Represents a pointer to an {@link InputMethod_TextInputType} instance. * The text input type of text Editor * @return Returns a specific error code. @@ -126,7 +126,7 @@ InputMethod_ErrorCode OH_TextConfig_GetInputType(InputMethod_TextConfig *config, /** * @brief Get enter key type from TextConfig * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. * @param enterKeyType Represents a pointer to an {@link InputMethod_EnterKeyType} instance. * Indicates the enter key type of text Editor * @return Returns a specific error code. @@ -140,8 +140,8 @@ InputMethod_ErrorCode OH_TextConfig_GetEnterKeyType( /** * @brief Get is preview text supported from TextConfig. * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. - * @param isSupported Indicates whether the preview text is supported. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. + * @param supported Indicates whether the preview text is supported. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -152,7 +152,7 @@ InputMethod_ErrorCode OH_TextConfig_IsPreviewTextSupported(InputMethod_TextConfi /** * @brief Get cursor info from TextConfig. * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. * @param cursorInfo Represents a pointer to an {@link InputMethod_CursorInfo} instance. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. @@ -179,8 +179,9 @@ InputMethod_ErrorCode OH_TextConfig_GetTextAvoidInfo( /** * @brief Get selection from TextConfig. * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. - * @param inputType The text input type of text Editor, which is defined in {@link InputMethod_TextInputType}. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. + * @param start Represents selection start position. + * @param end Represents selection end position. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -191,7 +192,7 @@ InputMethod_ErrorCode OH_TextConfig_GetSelection(InputMethod_TextConfig *config, /** * @brief Get window id from TextConfig. * - * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance whitch will be get from. + * @param config Represents a pointer to an {@link InputMethod_TextConfig} instance which will be get from. * @param windowId The window ID of the application currently bound to the input method. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. diff --git a/interfaces/kits/c/inputmethod_text_editor_proxy_capi.h b/interfaces/kits/c/inputmethod_text_editor_proxy_capi.h index 06c87cf3..e7611694 100644 --- a/interfaces/kits/c/inputmethod_text_editor_proxy_capi.h +++ b/interfaces/kits/c/inputmethod_text_editor_proxy_capi.h @@ -1,26 +1,26 @@ /* -* Copyright (c) 2024 Huawei Device Co., Ltd. -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -*/ + * Copyright (c) 2024 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef OHOS_INPUTMETHOD_TEXT_EDITOR_PROXY_CAPI_H #define OHOS_INPUTMETHOD_TEXT_EDITOR_PROXY_CAPI_H #include -#include "inputmethod_types_capi.h" -#include "inputmethod_text_config_capi.h" #include "inputmethod_private_command_capi.h" +#include "inputmethod_text_config_capi.h" +#include "inputmethod_types_capi.h" #ifdef __cplusplus -extern "C"{ +extern "C" { #endif /* __cplusplus */ /** * @brief Define the InputMethod_TextEditorProxy structure type. @@ -52,7 +52,7 @@ typedef void (*OH_TextEditorProxy_GetTextConfigFunc)( * OH_TextEditorProxy_SetInsertTextFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance whitch will be set + * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance which will be set * in. * @param text Represents a pointer to the text to be inserted. * @param length Represents the length of the text to be inserted. @@ -67,7 +67,7 @@ typedef void (*OH_TextEditorProxy_InsertTextFunc)( * OH_TextEditorProxy_SetDeleteForwardFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance whitch will be set + * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance which will be set * in. * @param length Represents the length of the text to be deleted. * @since 12 @@ -80,7 +80,7 @@ typedef void (*OH_TextEditorProxy_DeleteForwardFunc)(InputMethod_TextEditorProxy * OH_TextEditorProxy_SetDeleteForwardFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance whitch will be set + * @param textEditorProxy Represents a pointer to the {@link InputMethod_TextEditorProxy} instance which will be set * in. * @param length Represents the length of the text to be deleted. * @since 12 @@ -93,7 +93,7 @@ typedef void (*OH_TextEditorProxy_DeleteBackwardFunc)(InputMethod_TextEditorProx * OH_TextEditorProxy_SetSendKeyboardStatusFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param keyboardStatus Keyboard status, which is defined in {@link InputMethod_KeyboardStatus}. * @since 12 */ @@ -106,7 +106,7 @@ typedef void (*OH_TextEditorProxy_SendKeyboardStatusFunc)( * OH_TextEditorProxy_SetSendEnterKeyFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param enterKeyType Enter key type, which is defined in {@link InputMethod_EnterKeyType}. * @since 12 */ @@ -119,7 +119,7 @@ typedef void (*OH_TextEditorProxy_SendEnterKeyFunc)( * OH_TextEditorProxy_SetMoveCursorFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param direction Represents the direction of the cursor movement, which is defined in {@link InputMethod_Direction}. * @since 12 */ @@ -132,7 +132,7 @@ typedef void (*OH_TextEditorProxy_MoveCursorFunc)( * OH_TextEditorProxy_SetHandleSetSelectionFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param start Represents the start position of the selection. * @param end Represents the end position of the selection. * @since 12 @@ -146,7 +146,7 @@ typedef void (*OH_TextEditorProxy_HandleSetSelectionFunc)( * OH_TextEditorProxy_SetHandleExtendActionFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param action Represents the extend action, which is defined in {@link InputMethod_ExtendAction}. * @since 12 */ @@ -159,9 +159,10 @@ typedef void (*OH_TextEditorProxy_HandleExtendActionFunc)( * OH_TextEditorProxy_SetGetLeftTextOfCursorFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param number Represents the number of characters to be get. * @param text Represents the left text of cursor, you need to assing this parameter. + * @param length Represents the length of the left text of cursor, you need to assing this parameter. * @since 12 */ typedef void (*OH_TextEditorProxy_GetLeftTextOfCursorFunc)( @@ -173,9 +174,10 @@ typedef void (*OH_TextEditorProxy_GetLeftTextOfCursorFunc)( * OH_TextEditorProxy_SetGetRightTextOfCursorFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param number Represents the number of characters to be get. * @param text Represents the right text of cursor, you need to assing this parameter. + * @param length Represents the length of the right text of cursor. * @since 12 */ typedef void (*OH_TextEditorProxy_GetRightTextOfCursorFunc)( @@ -187,7 +189,7 @@ typedef void (*OH_TextEditorProxy_GetRightTextOfCursorFunc)( * OH_TextEditorProxy_SetGetTextIndexAtCursorFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @return Returns the index of text at cursor. * @since 12 */ @@ -199,7 +201,7 @@ typedef int32_t (*OH_TextEditorProxy_GetTextIndexAtCursorFunc)(InputMethod_TextE * OH_TextEditorProxy_SetReceivePrivateCommandFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param privateCommand Private command from input method. * @param size Size of private command. * @return Returns the result of handling private command. @@ -214,7 +216,7 @@ typedef int32_t (*OH_TextEditorProxy_ReceivePrivateCommandFunc)( * OH_TextEditorProxy_SetReceivePrivateCommandFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @param text Represents text to be previewd. * @param length Length of preview text. * @param start Start position of preview text. @@ -231,7 +233,7 @@ typedef int32_t (*OH_TextEditorProxy_SetPreviewTextFunc)( * OH_TextEditorProxy_SetReceivePrivateCommandFunc}, and use {@link OH_InputMethodController_Attach} to complete the * registration.\n * - * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set in. + * @param textEditorProxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set in. * @since 12 */ typedef void (*OH_TextEditorProxy_FinishTextPreviewFunc)(InputMethod_TextEditorProxy *textEditorProxy); @@ -246,15 +248,15 @@ InputMethod_TextEditorProxy *OH_TextEditorProxy_New(); /** * @brief Delete a {@link InputMethod_TextEditorProxy} instance. * - * @param options Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be deleted. + * @param proxy The {@link InputMethod_TextEditorProxy} instance to be deleted. * @since 12 */ void OH_TextEditorProxy_Delete(InputMethod_TextEditorProxy *proxy); /** * @brief Set function {@link OH_TextEditorProxy_GetTextConfigFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetTextConfigFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetTextConfigFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -264,10 +266,10 @@ void OH_TextEditorProxy_Delete(InputMethod_TextEditorProxy *proxy); InputMethod_ErrorCode OH_TextEditorProxy_SetGetTextConfigFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetTextConfigFunc getTextConfigFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetInsertTextFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_InsertTextFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetInsertTextFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param insertTextFunc Represents function {@link OH_TextEditorProxy_InsertTextFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -279,8 +281,8 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetInsertTextFunc( /** * @brief Set function {@link OH_TextEditorProxy_SetDeleteForwardFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetDeleteForwardFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param deleteForwardFunc Represents function {@link OH_TextEditorProxy_DeleteForwardFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -290,10 +292,10 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetInsertTextFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetDeleteForwardFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteForwardFunc deleteForwardFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetDeleteBackwardFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_DeleteBackwardFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetDeleteBackwardFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param deleteBackwardFunc Represents function {@link OH_TextEditorProxy_DeleteBackwardFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -303,10 +305,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetDeleteForwardFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetDeleteBackwardFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteBackwardFunc deleteBackwardFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetSendKeyboardStatusFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_SendKeyboardStatusFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetSendKeyboardStatusFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param sendKeyboardStatusFunc Represents function {@link OH_TextEditorProxy_SendKeyboardStatusFunc} which will be + * set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -316,10 +319,10 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetDeleteBackwardFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetSendKeyboardStatusFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SendKeyboardStatusFunc sendKeyboardStatusFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetSendEnterKeyFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_SendEnterKeyFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetSendEnterKeyFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param sendEnterKeyFunc Represents function {@link OH_TextEditorProxy_SendEnterKeyFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -329,10 +332,10 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetSendKeyboardStatusFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetSendEnterKeyFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SendEnterKeyFunc sendEnterKeyFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetMoveCursorFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_MoveCursorFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetMoveCursorFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param moveCursorFunc Represents function {@link OH_TextEditorProxy_MoveCursorFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -342,10 +345,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetSendEnterKeyFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetMoveCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_MoveCursorFunc moveCursorFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetHandleSetSelectionFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_HandleSetSelectionFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetHandleSetSelectionFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param handleSetSelectionFunc Represents function {@link OH_TextEditorProxy_HandleSetSelectionFunc} which will be + * set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -355,10 +359,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetMoveCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetHandleSetSelectionFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_HandleSetSelectionFunc handleSetSelectionFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetHandleExtendActionFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_HandleExtendActionFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetHandleExtendActionFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param handleExtendActionFunc Represents function {@link OH_TextEditorProxy_HandleExtendActionFunc} which will be + * set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -368,11 +373,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetHandleSetSelectionFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetHandleExtendActionFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_HandleExtendActionFunc handleExtendActionFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetGetLeftTextOfCursorFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_GetLeftTextOfCursorFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetGetLeftTextOfCursorFunc} whitch will be - * set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param getLeftTextOfCursorFunc Represents function {@link OH_TextEditorProxy_GetLeftTextOfCursorFunc} which will + * be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -382,11 +387,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetHandleExtendActionFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetGetLeftTextOfCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetLeftTextOfCursorFunc getLeftTextOfCursorFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetGetRightTextOfCursorFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_GetRightTextOfCursorFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetGetRightTextOfCursorFunc} whitch will be - * set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param getRightTextOfCursorFunc Represents function {@link OH_TextEditorProxy_GetRightTextOfCursorFunc} which + * will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -396,11 +401,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetGetLeftTextOfCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetGetRightTextOfCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetRightTextOfCursorFunc getRightTextOfCursorFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetGetTextIndexAtCursorFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_GetTextIndexAtCursorFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetGetTextIndexAtCursorFunc} whitch will be - * set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param getTextIndexAtCursorFunc Represents function {@link OH_TextEditorProxy_GetTextIndexAtCursorFunc} which + * will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -410,11 +415,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetGetRightTextOfCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetGetTextIndexAtCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetTextIndexAtCursorFunc getTextIndexAtCursorFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetReceivePrivateCommandFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_ReceivePrivateCommandFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetReceivePrivateCommandFunc} whitch will be - * set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param receivePrivateCommandFunc Represents function {@link OH_TextEditorProxy_ReceivePrivateCommandFunc} which + * will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -424,10 +429,10 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetGetTextIndexAtCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetReceivePrivateCommandFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_ReceivePrivateCommandFunc receivePrivateCommandFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetSetPreviewTextFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_SetPreviewTextFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetSetPreviewTextFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param setPreviewTextFunc Represents function {@link OH_TextEditorProxy_SetPreviewTextFunc} which will be set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -437,10 +442,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetReceivePrivateCommandFunc( InputMethod_ErrorCode OH_TextEditorProxy_SetSetPreviewTextFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SetPreviewTextFunc setPreviewTextFunc); /** - * @brief Set function {@link OH_TextEditorProxy_SetFinishTextPreviewFunc} into {@link InputMethod_TextEditorProxy}. + * @brief Set function {@link OH_TextEditorProxy_FinishTextPreviewFunc} into {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be set function in. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_SetFinishTextPreviewFunc} whitch will be set. + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be set function in. + * @param finishTextPreviewFunc Represents function {@link OH_TextEditorProxy_FinishTextPreviewFunc} which will be + * set. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -451,11 +457,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetFinishTextPreviewFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_FinishTextPreviewFunc finishTextPreviewFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetGetTextConfigFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_GetTextConfigFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetGetTextConfigFunc} whitch will be get. + * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetTextConfigFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -465,11 +471,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_SetFinishTextPreviewFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetGetTextConfigFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetTextConfigFunc *getTextConfigFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetInsertTextFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_InsertTextFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetInsertTextFunc} whitch will be get. + * @param insertTextFunc Represents function {@link OH_TextEditorProxy_InsertTextFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -479,11 +485,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetGetTextConfigFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetInsertTextFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_InsertTextFunc *insertTextFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetDeleteForwardFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_DeleteForwardFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetDeleteForwardFunc} whitch will be get. + * @param deleteForwardFunc Represents function {@link OH_TextEditorProxy_DeleteForwardFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -493,11 +499,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetInsertTextFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetDeleteForwardFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteForwardFunc *deleteForwardFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetDeleteBackwardFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_DeleteBackwardFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetDeleteBackwardFunc} whitch will be get. + * @param deleteBackwardFunc Represents function {@link OH_TextEditorProxy_DeleteBackwardFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -507,11 +513,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetDeleteForwardFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetDeleteBackwardFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_DeleteBackwardFunc *deleteBackwardFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetSendKeyboardStatusFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_SendKeyboardStatusFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetSendKeyboardStatusFunc} whitch will be get. + * @param sendKeyboardStatusFunc Represents function {@link OH_TextEditorProxy_SendKeyboardStatusFunc} which will be + * get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -521,11 +528,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetDeleteBackwardFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetSendKeyboardStatusFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SendKeyboardStatusFunc *sendKeyboardStatusFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetSendEnterKeyFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_SendEnterKeyFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetSendEnterKeyFunc} whitch will be get. + * @param sendEnterKeyFunc Represents function {@link OH_TextEditorProxy_SendEnterKeyFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -535,11 +542,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetSendKeyboardStatusFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetSendEnterKeyFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SendEnterKeyFunc *sendEnterKeyFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetMoveCursorFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_MoveCursorFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetMoveCursorFunc} whitch will be get. + * @param moveCursorFunc Represents function {@link OH_TextEditorProxy_MoveCursorFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -549,11 +556,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetSendEnterKeyFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetMoveCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_MoveCursorFunc *moveCursorFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetHandleSetSelectionFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_HandleSetSelectionFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetHandleSetSelectionFunc} whitch will be get. + * @param handleSetSelectionFunc Represents function {@link OH_TextEditorProxy_HandleSetSelectionFunc} which will be + * get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -563,11 +571,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetMoveCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetHandleSetSelectionFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_HandleSetSelectionFunc *handleSetSelectionFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetHandleExtendActionFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_HandleExtendActionFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetHandleExtendActionFunc} whitch will be get. + * @param handleExtendActionFunc Represents function {@link OH_TextEditorProxy_HandleExtendActionFunc} which will be + * get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -577,12 +586,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetHandleSetSelectionFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetHandleExtendActionFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_HandleExtendActionFunc *handleExtendActionFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetGetLeftTextOfCursorFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_GetLeftTextOfCursorFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetGetLeftTextOfCursorFunc} whitch will be - * get. + * @param getLeftTextOfCursorFunc Represents function {@link OH_TextEditorProxy_GetLeftTextOfCursorFunc} which will + * be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -592,12 +601,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetHandleExtendActionFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetGetLeftTextOfCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetLeftTextOfCursorFunc *getLeftTextOfCursorFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetGetRightTextOfCursorFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_GetRightTextOfCursorFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetGetRightTextOfCursorFunc} whitch will be - * get. + * @param getRightTextOfCursorFunc Represents function {@link OH_TextEditorProxy_GetRightTextOfCursorFunc} which + * will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -607,12 +616,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetGetLeftTextOfCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetGetRightTextOfCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetRightTextOfCursorFunc *getRightTextOfCursorFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetGetTextIndexAtCursorFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_GetTextIndexAtCursorFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetGetTextIndexAtCursorFunc} whitch will be - * get. + * @param getTextIndexAtCursorFunc Represents function {@link OH_TextEditorProxy_GetTextIndexAtCursorFunc} which + * will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -622,12 +631,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetGetRightTextOfCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetGetTextIndexAtCursorFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_GetTextIndexAtCursorFunc *getTextIndexAtCursorFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetReceivePrivateCommandFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_ReceivePrivateCommandFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetReceivePrivateCommandFunc} whitch will be - * get. + * @param receivePrivateCommandFunc Represents function {@link OH_TextEditorProxy_ReceivePrivateCommandFunc} which + * will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -637,11 +646,11 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetGetTextIndexAtCursorFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetReceivePrivateCommandFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_ReceivePrivateCommandFunc *receivePrivateCommandFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetSetPreviewTextFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_SetPreviewTextFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetSetPreviewTextFunc} whitch will be get. + * @param setPreviewTextFunc Represents function {@link OH_TextEditorProxy_SetPreviewTextFunc} which will be get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer. @@ -651,11 +660,12 @@ InputMethod_ErrorCode OH_TextEditorProxy_GetReceivePrivateCommandFunc( InputMethod_ErrorCode OH_TextEditorProxy_GetSetPreviewTextFunc( InputMethod_TextEditorProxy *proxy, OH_TextEditorProxy_SetPreviewTextFunc *setPreviewTextFunc); /** - * @brief Get function {@link OH_TextEditorProxy_GetFinishTextPreviewFunc} from {@link InputMethod_TextEditorProxy}. + * @brief Get function {@link OH_TextEditorProxy_FinishTextPreviewFunc} from {@link InputMethod_TextEditorProxy}. * - * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance whitch will be get function + * @param proxy Represents a pointer to an {@link InputMethod_TextEditorProxy} instance which will be get function * from. - * @param getTextConfigFunc Represents function {@link OH_TextEditorProxy_GetFinishTextPreviewFunc} whitch will be get. + * @param finishTextPreviewFunc Represents function {@link OH_TextEditorProxy_FinishTextPreviewFunc} which will be + * get. * @return Returns a specific error code. * {@link IME_ERR_OK} - success. * {@link IME_ERR_NULL_POINTER} - unexpected null pointer.