@@ -29,7 +29,7 @@ export enum MessageComposerAction {
2929 EditPrevMessage = 'EditPrevMessage' ,
3030 /** Start editing the user's next sent message */
3131 EditNextMessage = 'EditNextMessage' ,
32- /** Cancel editing a message or cancel replying to a message*/
32+ /** Cancel editing a message or cancel replying to a message */
3333 CancelEditing = 'CancelEditing' ,
3434
3535 /** Set bold format the current selection */
@@ -44,7 +44,9 @@ export enum MessageComposerAction {
4444 EditRedo = 'EditRedo' ,
4545 /** Insert new line */
4646 NewLine = 'NewLine' ,
47+ /** Move the cursor to the start of the message */
4748 MoveCursorToStart = 'MoveCursorToStart' ,
49+ /** Move the cursor to the end of the message */
4850 MoveCursorToEnd = 'MoveCursorToEnd' ,
4951}
5052
@@ -60,7 +62,7 @@ export enum AutocompleteAction {
6062 NextSelection = 'NextSelection' ,
6163}
6264
63- /** Actions for the left room list sidebar */
65+ /** Actions for the room list sidebar */
6466export enum RoomListAction {
6567 /** Clear room list filter field */
6668 ClearSearch = 'ClearSearch' ,
@@ -86,35 +88,35 @@ export enum RoomAction {
8688 DismissReadMarker = 'DismissReadMarker' ,
8789 /** Jump to oldest unread message */
8890 JumpToOldestUnread = 'JumpToOldestUnread' ,
89- /* Upload a file */
91+ /** Upload a file */
9092 UploadFile = 'UploadFile' ,
91- /* Focus search message in a room (must be enabled) */
93+ /** Focus search message in a room (must be enabled) */
9294 FocusSearch = 'FocusSearch' ,
93- /* Jump to the first (downloaded) message in the room */
95+ /** Jump to the first (downloaded) message in the room */
9496 JumpToFirstMessage = 'JumpToFirstMessage' ,
95- /* Jump to the latest message in the room */
97+ /** Jump to the latest message in the room */
9698 JumpToLatestMessage = 'JumpToLatestMessage' ,
9799}
98100
99- /** Actions for navigating do various menus / dialogs / screens */
101+ /** Actions for navigating do various menus, dialogs or screens */
100102export enum NavigationAction {
101- /** Jump to room search (search for a room)*/
103+ /** Jump to room search (search for a room) */
102104 FocusRoomSearch = 'FocusRoomSearch' ,
103105 /** Toggle the room side panel */
104106 ToggleRoomSidePanel = 'ToggleRoomSidePanel' ,
105107 /** Toggle the user menu */
106108 ToggleUserMenu = 'ToggleUserMenu' ,
107- /* Toggle the short cut help dialog */
109+ /** Toggle the short cut help dialog */
108110 ToggleShortCutDialog = 'ToggleShortCutDialog' ,
109- /* Got to the Element home screen */
111+ /** Got to the Element home screen */
110112 GoToHome = 'GoToHome' ,
111- /* Select prev room */
113+ /** Select prev room */
112114 SelectPrevRoom = 'SelectPrevRoom' ,
113- /* Select next room */
115+ /** Select next room */
114116 SelectNextRoom = 'SelectNextRoom' ,
115- /* Select prev room with unread messages*/
117+ /** Select prev room with unread messages */
116118 SelectPrevUnreadRoom = 'SelectPrevUnreadRoom' ,
117- /* Select next room with unread messages*/
119+ /** Select next room with unread messages */
118120 SelectNextUnreadRoom = 'SelectNextUnreadRoom' ,
119121}
120122
0 commit comments