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:
@@ -29,8 +29,10 @@ public:
|
||||
void addCodeSnippet(
|
||||
uint startLineNumber,
|
||||
const std::string& title,
|
||||
Id titleId,
|
||||
const std::string& code,
|
||||
std::shared_ptr<TokenLocationFile> locationFile
|
||||
std::shared_ptr<TokenLocationFile> locationFile,
|
||||
bool insert = false
|
||||
);
|
||||
|
||||
void clearCodeSnippets();
|
||||
|
||||
Reference in New Issue
Block a user