-
Notifications
You must be signed in to change notification settings - Fork 64
#3758 initial chat mention support #3943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3758 initial chat mention support #3943
Conversation
fe05576
to
9127311
Compare
9127311
to
3e46d70
Compare
indra/llui/llchatmentionhelper.h
Outdated
public: | ||
|
||
bool isActive(const LLUICtrl* ctrl) const; | ||
bool isCursorInNameMention(const LLWString& wtext, S32 cursor_pos, S32* mention_start_pos = nullptr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably can be const.
indra/llui/llurlentry.h
Outdated
@@ -34,6 +34,7 @@ | |||
|
|||
#include "llavatarname.h" | |||
#include "llhost.h" // for resolving parcel name by parcel id | |||
#include "llurlmatch.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feels like EUnderlineLink should be elsewhere, doesn't seem related to urlmatch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where do you think it fits better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be argued that it's a style, so perhaps llstyle.h?
Implementation of basic chat mention feature.
Further improvements will be needed like: