ui: Improved scrolling and layouting in QtCodeView and colored locations of active TokenId differently

This commit is contained in:
Eberhard Graether
2014-07-04 15:33:51 +02:00
parent 610aa2eb09
commit a70a9009cc
15 changed files with 142 additions and 33 deletions
+1
View File
@@ -5,5 +5,6 @@
<FontName>Courier</FontName>
<FontSize>12</FontSize>
<LinkColor>255 255 0 100</LinkColor>
<ActiveLinkColor>0 255 0 100</ActiveLinkColor>
</code>
</config>
+4
View File
@@ -0,0 +1,4 @@
int main();
void foo();
int sum(int a, int b);
int diff(int a, int b);
+21 -1
View File
@@ -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;
}