|
|
|
|
@ -4,9 +4,10 @@ const std::string configjson =
|
|
|
|
|
" \"visual\": {\n" |
|
|
|
|
" \"gtk_theme\": \"Adwaita\", //Use \"\" for default theme, At least these two exist on all systems: Adwaita, Raleigh\n" |
|
|
|
|
" \"gtk_theme_variant\": \"\", //Use \"\" for default variant, and \"dark\" for dark theme variant\n" |
|
|
|
|
" \"gtk_sourceview_style\": \"classic\" //Choices on default install: classic, cobalt, kate, oblivion, solarized-dark, solarized-light, tango\n" |
|
|
|
|
" \"gtk_sourceview_style\": \"juci\" //Choices on default install: classic, cobalt, kate, oblivion, solarized-dark, solarized-light, tango\n" |
|
|
|
|
" },\n" |
|
|
|
|
" \"source\": {\n" |
|
|
|
|
" \"font\": \"Monospace\", //Use \"\" for default font, and for instance \"Monospace 12\" to also set size.\n" |
|
|
|
|
" \"clang_types\": {\n" |
|
|
|
|
" \"43\": \"def:type\",\n" |
|
|
|
|
" \"46\": \"def:preprocessor\",\n" |
|
|
|
|
@ -117,6 +118,56 @@ const std::string menuxml =
|
|
|
|
|
" </menubar>\n" |
|
|
|
|
"</ui>\n"; |
|
|
|
|
|
|
|
|
|
const std::string juci_style = |
|
|
|
|
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
|
|
|
|
"\n" |
|
|
|
|
"<style-scheme id=\"juci\" _name=\"juci\" version=\"1.0\">\n" |
|
|
|
|
" <author>juCi++ team</author>\n" |
|
|
|
|
" <_description>Default juCi++ style</_description>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Palette -->\n" |
|
|
|
|
" <color name=\"white\" value=\"#FFFFFF\"/>\n" |
|
|
|
|
" <color name=\"red\" value=\"#FF0000\"/>\n" |
|
|
|
|
" <color name=\"blue\" value=\"#0000FF\"/>\n" |
|
|
|
|
" <color name=\"yellow\" value=\"#FFFF00\"/>\n" |
|
|
|
|
" <color name=\"orange\" value=\"#FFA500\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Global Settings -->\n" |
|
|
|
|
" <style name=\"current-line\" background=\"#eeeeec\"/>\n" |
|
|
|
|
" <style name=\"current-line-number\" background=\"#eeeeec\"/>\n" |
|
|
|
|
" <style name=\"draw-spaces\" foreground=\"#babdb6\"/>\n" |
|
|
|
|
" <style name=\"background-pattern\" background=\"#f3f3f3\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Bracket Matching -->\n" |
|
|
|
|
" <style name=\"bracket-match\" foreground=\"white\" background=\"#BEBEBE\" bold=\"true\"/>\n" |
|
|
|
|
" <style name=\"bracket-mismatch\" foreground=\"white\" background=\"#FF0000\" bold=\"true\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Right Margin -->\n" |
|
|
|
|
" <style name=\"right-margin\" foreground=\"#000000\" background=\"#000000\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Search Matching -->\n" |
|
|
|
|
" <style name=\"search-match\" background=\"yellow\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Comments -->\n" |
|
|
|
|
" <style name=\"def:comment\" foreground=\"blue\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Constants -->\n" |
|
|
|
|
" <style name=\"def:constant\" foreground=\"#CC0000\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Statements -->\n" |
|
|
|
|
" <style name=\"def:statement\" foreground=\"blue\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Types -->\n" |
|
|
|
|
" <style name=\"def:type\" foreground=\"#0066FF\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
" <!-- Others -->\n" |
|
|
|
|
" <style name=\"def:preprocessor\" foreground=\"#990099\"/>\n" |
|
|
|
|
" <style name=\"def:error\" foreground=\"red\"/>\n" |
|
|
|
|
" <style name=\"def:warning\" foreground=\"orange\"/>\n" |
|
|
|
|
" <style name=\"def:note\" background=\"yellow\"/>\n" |
|
|
|
|
"\n" |
|
|
|
|
"</style-scheme>\n"; |
|
|
|
|
|
|
|
|
|
const std::string pluginspy = |
|
|
|
|
"#!/usr/bin/python \n" |
|
|
|
|
"import juci_to_python_api as juci \n" |
|
|
|
|
|