Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#4225 closed enhancement (fixed)

Readonly Input elements, Chat text selection

Reported by: Vladislav Belov Owned by: elexis
Priority: Nice to Have Milestone: Alpha 23
Component: Core engine Keywords:
Cc: Patch: Phab:D763

Description (last modified by Vladislav Belov)

Would be useful to select text in the chat, at least for lobby chat: to quote someone or check interesting in a search engine.

Change History (7)

comment:1 by Vladislav Belov, 6 years ago

Description: modified (diff)

comment:2 by elexis, 6 years ago

Unless the chat area becomes a readonly "input" element instead of "text", this would require the transfer of the selection code from CInput.cpp to CText.cpp or using helper functions to do that.

comment:3 by elexis, 6 years ago

Component: UI & SimulationCore engine
Summary: Chat text selectionReadonly Input elements, Chat text selection

Also need those for Phab:D495

comment:4 by elexis, 5 years ago

Milestone: BacklogAlpha 23
Patch: Phab:D763

comment:5 by elexis, 5 years ago

In 20074:

Split the Input GUI object key processing into two methods (methods changing the text and methods not changing it).

Patch By: Vladislav
Refs #4225, D763

Also use SDL_Keycode instead of int, remove an outdated history lookup comment and some other unneeded comments.

comment:6 by elexis, 5 years ago

Owner: set to elexis
Resolution: fixed
Status: newclosed

In 20075:

Implement readonly Input GUI objects and use it in the file location indicator in the replay menu,
so that the user can copy the file path.

Fixes #4225
Refs D763
Patch By: Vladislav

comment:7 by elexis, 4 years ago

refs #4583

Note: See TracTickets for help on using tickets.