The formatting for the state actions works until substates are added. For formatting I mean new line (\n) or tab (\t).
Example 1 (formatting is correct):
state Active {
Active: entry / HAL_CAN_Init(...) \n\t HAL_CAN_Start(...) \n\t HAL_CAN_ActivateNotification(...)
Active: exit / HAL_CAN_DeactivateNotification(...) \n\t HAL_CAN_Stop(...) \n\t HAL_CAN_DeInit(...)
Active: SEND_MSG (msg, mailbox) / \
\n\t HAL_CAN_AbortTxRequest(...) \
\n\t HAL_CAN_AddTxMessage(...)
Active: RX_MSG (msg) / \
}
Example 2 (formatting not correct):
state Active {
Active: entry / HAL_CAN_Init(...) \n\t HAL_CAN_Start(...) \n\t HAL_CAN_ActivateNotification(...)
Active: exit / HAL_CAN_DeactivateNotification(...) \n\t HAL_CAN_Stop(...) \n\t HAL_CAN_DeInit(...)
Active: SEND_MSG (msg, mailbox) / \
\n\t HAL_CAN_AbortTxRequest(...) \
\n\t HAL_CAN_AddTxMessage(...)
Active: RX_MSG (msg) / \
[*] --> Processing
}
As you can see, the only difference is the state Processing, and that breaks the formatting.