logic: code controller
- Renamed MessageActivateTokenLocation to MessageActivateToken, since it uses the Token id (not the TokenLocation id). - Implemented CodeController to add one snippet for each location where the activated token occurred. - Added Semaphore to QtThreadedFunctor to prevent an evil race-condition. - CodeView dispatches message when a token is clicked.
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
int main();
|
||||
void foo();
|
||||
|
||||
int main()
|
||||
{
|
||||
int a = 6;
|
||||
int b = 7;
|
||||
int c = a * b;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void foo()
|
||||
{
|
||||
std::string foo = "bar";
|
||||
}
|
||||
Reference in New Issue
Block a user