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:
Eberhard Graether
2015-07-20 00:57:19 +02:00
parent e5a8609d7a
commit 73aa6080aa
23 changed files with 313 additions and 26 deletions
@@ -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