ui: clicking snippet title to show full scope
This change lets the user click the snippet title in the CodeView to insert the full scope. The existing snippets are merged with the new lines accordingly.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef MESSAGE_SHOW_SCOPE_H
|
||||
#define MESSAGE_SHOW_SCOPE_H
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
|
||||
class MessageShowScope
|
||||
: public Message<MessageShowScope>
|
||||
{
|
||||
public:
|
||||
MessageShowScope(Id scopeLocationId)
|
||||
: scopeLocationId(scopeLocationId)
|
||||
{
|
||||
}
|
||||
|
||||
static const std::string getStaticType()
|
||||
{
|
||||
return "MessageShowScope";
|
||||
}
|
||||
|
||||
const Id scopeLocationId;
|
||||
};
|
||||
|
||||
#endif // MESSAGE_SHOW_SCOPE_H
|
||||
Reference in New Issue
Block a user