ui: Improved scrolling and layouting in QtCodeView and colored locations of active TokenId differently
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
<FontName>Courier</FontName>
|
||||
<FontSize>12</FontSize>
|
||||
<LinkColor>255 255 0 100</LinkColor>
|
||||
<ActiveLinkColor>0 255 0 100</ActiveLinkColor>
|
||||
</code>
|
||||
</config>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
int main();
|
||||
void foo();
|
||||
int sum(int a, int b);
|
||||
int diff(int a, int b);
|
||||
@@ -1,5 +1,9 @@
|
||||
#include "header.h"
|
||||
|
||||
int main();
|
||||
void foo();
|
||||
int sum(int a, int b);
|
||||
int diff(int a, int b);
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -9,7 +13,23 @@ int main()
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sum(int a, int b);
|
||||
|
||||
int diff(int a, int b);
|
||||
|
||||
void foo()
|
||||
{
|
||||
std::string foo = "bar";
|
||||
}
|
||||
}
|
||||
|
||||
int diff(int a, int b);
|
||||
|
||||
int sum(int a, int b)
|
||||
{
|
||||
return a + b;
|
||||
}
|
||||
|
||||
int diff(int a, int b)
|
||||
{
|
||||
return a - b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user