diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h
index c6028a28799b427b958b166933fba803de963965..587bfc7901817fa3eee39798935893838e107df5 100644
--- a/arkui/ace_engine/native/native_node.h
+++ b/arkui/ace_engine/native/native_node.h
@@ -5736,6 +5736,33 @@ typedef enum {
*/
NODE_TEXT_INPUT_ON_CONTENT_SIZE_CHANGE,
+ /**
+ * @brief Defines the event triggered when matching with the regular expression specified by
+ * NODE_TEXT_INPUT_INPUT_FILTER fails.
+ *
+ \n
+ * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
+ * {@link ArkUI_StringAsyncEvent}. \n
+ * {@link ArkUI_StringAsyncEvent} contains one parameter:\n
+ * ArkUI_StringAsyncEvent.pStr: content that is filtered out when regular expression matching fails. \n
+ *
+ */
+ NODE_TEXT_INPUT_ON_INPUT_FILTER_ERROR,
+
+ /**
+ * @brief This callback is triggered when the text content is scrolled.
+ *
+ \n
+ * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
+ * {@link ArkUI_NodeComponentEvent}. \n
+ * {@link ArkUI_NodeComponentEvent} contains two parameters:\n
+ * ArkUI_NodeComponentEvent.data[0].i32: Indicates the horizontal offset of the text in the content area. \n
+ * ArkUI_NodeComponentEvent.data[1].i32: Indicates the vertical coordinate offset of \n
+ * the text in the content area. \n
+ *
+ */
+ NODE_TEXT_INPUT_ON_CONTENT_SCROLL,
+
/**
* @brief Defines the event triggered when text is about to be entered.
*
@@ -5790,31 +5817,6 @@ typedef enum {
*/
NODE_TEXT_INPUT_ON_DID_DELETE = 7012,
- /**
- * @brief Defines the event triggered when matching with the regular expression specified by
- * NODE_TEXT_INPUT_INPUT_FILTER fails.
- *
- \n
- * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
- * {@link ArkUI_StringAsyncEvent}. \n
- * {@link ArkUI_StringAsyncEvent} contains one parameter:\n
- * ArkUI_StringAsyncEvent.pStr: content that is filtered out when regular expression matching fails. \n
- *
- */
- NODE_TEXT_INPUT_ON_INPUT_FILTER_ERROR,
- /**
- * @brief This callback is triggered when the text content is scrolled.
- *
- \n
- * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is
- * {@link ArkUI_NodeComponentEvent}. \n
- * {@link ArkUI_NodeComponentEvent} contains two parameters:\n
- * ArkUI_NodeComponentEvent.data[0].i32: Indicates the horizontal offset of the text in the content area. \n
- * ArkUI_NodeComponentEvent.data[1].i32: Indicates the vertical coordinate offset of \n
- * the text in the content area. \n
- *
- */
- NODE_TEXT_INPUT_ON_CONTENT_SCROLL,
/**
* @brief Defines the event triggered when the input in the text box changes.
*