* work save: editor color scheme option
This commit is contained in:
parent
288a49deac
commit
6d7bfcd62a
|
@ -63,30 +63,30 @@
|
|||
<message>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>表单</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="29"/>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="32"/>
|
||||
<source>Add</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>添加</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="47"/>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="50"/>
|
||||
<source>Delete</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>删除</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="65"/>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.ui" line="68"/>
|
||||
<source>Remove Invalid</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>删除非法文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetdirectorieswidget.cpp" line="52"/>
|
||||
<source>Choose Folder</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>选择文件夹</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -94,12 +94,12 @@
|
|||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>表单</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="20"/>
|
||||
<source>Compiler set to config</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>编译器配置方案</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="35"/>
|
||||
|
@ -114,52 +114,52 @@
|
|||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="345"/>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="360"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="105"/>
|
||||
<source>General</source>
|
||||
<translation type="unfinished">通用</translation>
|
||||
<translation>基本选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="111"/>
|
||||
<source>Add the following arguments when calling the compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>编译时加入下列选项:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="121"/>
|
||||
<source>Add the following arguments when calling the linker</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>链接时加入下列选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="131"/>
|
||||
<source>Add Charset arguments when calling the compiler</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>编译时自动加入字符编码选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="139"/>
|
||||
<source>Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>编译/链接选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="165"/>
|
||||
<source>Directories</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>文件夹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="194"/>
|
||||
<source>Programs</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>程序</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="206"/>
|
||||
<source>TextLabel</source>
|
||||
<translation type="unfinished">选项</translation>
|
||||
<translation>选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="222"/>
|
||||
<source>Resource Compiler(windres)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>资源编辑器(winres)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.ui" line="232"/>
|
||||
|
@ -370,48 +370,46 @@ Are you really want to continue?</source>
|
|||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="29"/>
|
||||
<source>Scheme</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>配色方案</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="39"/>
|
||||
<source>...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="111"/>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="168"/>
|
||||
<source>TextLabel</source>
|
||||
<translation type="unfinished">选项</translation>
|
||||
<translation type="obsolete">选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="125"/>
|
||||
<source>Foreground:</source>
|
||||
<translation>前景色</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="168"/>
|
||||
<source>Font Styles</source>
|
||||
<translation>字体样式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="174"/>
|
||||
<source>Bold</source>
|
||||
<translation>加粗</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="181"/>
|
||||
<source>Italic</source>
|
||||
<translation>斜体</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="188"/>
|
||||
<source>Underlined</source>
|
||||
<translation>下划线</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="118"/>
|
||||
<source>Foreground:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="138"/>
|
||||
<source>Font Styles</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="144"/>
|
||||
<source>Bold</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="151"/>
|
||||
<source>Italic</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="158"/>
|
||||
<source>Underlined</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorcolorschemewidget.ui" line="175"/>
|
||||
<source>Background:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>背景色</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
@ -419,7 +417,7 @@ Are you really want to continue?</source>
|
|||
<message>
|
||||
<location filename="settingsdialog/editorfontwidget.ui" line="14"/>
|
||||
<source>Form</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>表单</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/editorfontwidget.ui" line="29"/>
|
||||
|
@ -902,7 +900,7 @@ Are you really want to continue?</source>
|
|||
<message>
|
||||
<location filename="editorlist.cpp" line="73"/>
|
||||
<source>Save changes to %1?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>将修改保存到"%1"?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Save changes to %s?</source>
|
||||
|
@ -916,264 +914,469 @@ Are you really want to continue?</source>
|
|||
<message>
|
||||
<location filename="systemconsts.cpp" line="10"/>
|
||||
<source>C files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>C语言文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="systemconsts.cpp" line="11"/>
|
||||
<source>C++ files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>C++语言文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="systemconsts.cpp" line="12"/>
|
||||
<source>Header files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>头文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="systemconsts.cpp" line="13"/>
|
||||
<source>Text files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>文本文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="systemconsts.cpp" line="14"/>
|
||||
<source>All files</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>所有文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="464"/>
|
||||
<location filename="main.cpp" line="33"/>
|
||||
<location filename="main.cpp" line="40"/>
|
||||
<source>Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>错误</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.cpp" line="34"/>
|
||||
<source>Can't create configuration folder %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>无法创建配置文件夹"%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="main.cpp" line="41"/>
|
||||
<source>Can't write to configuration file %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>无法写入配置文件夹"%1"</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1307"/>
|
||||
<location filename="settings.cpp" line="1308"/>
|
||||
<source>C options</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>C语言选项</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1313"/>
|
||||
<location filename="settings.cpp" line="1314"/>
|
||||
<source>Code Generation</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>代码生成</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="19"/>
|
||||
<source>Binaries</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>二进制文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="21"/>
|
||||
<source>Libraries</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>库文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="23"/>
|
||||
<source>C Includes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>C包含文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="25"/>
|
||||
<source>C++ Includes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>C++包含文件</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="77"/>
|
||||
<source>No</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>否</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settingsdialog/compilersetoptionwidget.cpp" line="78"/>
|
||||
<source>Yes</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>是</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="HighlighterManager.cpp" line="15"/>
|
||||
<source>untitled</source>
|
||||
<translation type="unfinished">无标题</translation>
|
||||
<translation>无标题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="utils.cpp" line="324"/>
|
||||
<source>Index %1 out of range</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>下标"%1"越界</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="64"/>
|
||||
<location filename="colorscheme.cpp" line="46"/>
|
||||
<source>Can't open file '%1' for read</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>无法打开文件"%1"进行读取</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="70"/>
|
||||
<location filename="colorscheme.cpp" line="52"/>
|
||||
<source>Can't parse json file '%1' at offset %2! Error Code: %3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>JSON文件"%1"在位置"%2"处无法解析</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="74"/>
|
||||
<location filename="colorscheme.cpp" line="56"/>
|
||||
<source>Can't parse json file '%1' is not a color schema config file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>"%1"不是一个合法的颜色配置文件,无法解析!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="85"/>
|
||||
<location filename="colorscheme.cpp" line="66"/>
|
||||
<source>Can't open file '%1' for write</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>无法打开文件"%1"写入内容</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="334"/>
|
||||
<source>Assembler</source>
|
||||
<translation>汇编</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="335"/>
|
||||
<location filename="colorscheme.cpp" line="339"/>
|
||||
<location filename="colorscheme.cpp" line="343"/>
|
||||
<location filename="colorscheme.cpp" line="347"/>
|
||||
<location filename="colorscheme.cpp" line="351"/>
|
||||
<location filename="colorscheme.cpp" line="355"/>
|
||||
<location filename="colorscheme.cpp" line="359"/>
|
||||
<location filename="colorscheme.cpp" line="363"/>
|
||||
<location filename="colorscheme.cpp" line="367"/>
|
||||
<location filename="colorscheme.cpp" line="371"/>
|
||||
<location filename="colorscheme.cpp" line="375"/>
|
||||
<location filename="colorscheme.cpp" line="379"/>
|
||||
<location filename="colorscheme.cpp" line="383"/>
|
||||
<location filename="colorscheme.cpp" line="387"/>
|
||||
<location filename="colorscheme.cpp" line="391"/>
|
||||
<location filename="colorscheme.cpp" line="395"/>
|
||||
<location filename="colorscheme.cpp" line="399"/>
|
||||
<location filename="colorscheme.cpp" line="403"/>
|
||||
<location filename="colorscheme.cpp" line="407"/>
|
||||
<location filename="colorscheme.cpp" line="411"/>
|
||||
<location filename="colorscheme.cpp" line="417"/>
|
||||
<location filename="colorscheme.cpp" line="421"/>
|
||||
<location filename="colorscheme.cpp" line="425"/>
|
||||
<location filename="colorscheme.cpp" line="429"/>
|
||||
<source>Syntax</source>
|
||||
<translation>语法</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="338"/>
|
||||
<source>Character</source>
|
||||
<translation>字符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="342"/>
|
||||
<source>Comment</source>
|
||||
<translation>注释</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="346"/>
|
||||
<source>Class</source>
|
||||
<translation>类</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="350"/>
|
||||
<source>Float</source>
|
||||
<translation>浮点数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="354"/>
|
||||
<source>Function</source>
|
||||
<translation>函数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="358"/>
|
||||
<source>Gloabal Variable</source>
|
||||
<translation>全局变量</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="362"/>
|
||||
<source>Hexadecimal Integer</source>
|
||||
<translation>十六进制数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="366"/>
|
||||
<source>Identifier</source>
|
||||
<translation>标识符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="370"/>
|
||||
<source>Illegal Char</source>
|
||||
<translation>非法字符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="374"/>
|
||||
<source>Local Variable</source>
|
||||
<translation>局部变量</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="378"/>
|
||||
<source>Integer</source>
|
||||
<translation>整数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="382"/>
|
||||
<source>Octal Integer</source>
|
||||
<translation>八进制整数</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="386"/>
|
||||
<source>Preprocessor</source>
|
||||
<translation>预处理指令</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="390"/>
|
||||
<source>Reserve Word</source>
|
||||
<translation>保留字(关键字)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="394"/>
|
||||
<source>Space</source>
|
||||
<translation>空格字符</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="398"/>
|
||||
<source>String</source>
|
||||
<translation>字符串</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="402"/>
|
||||
<source>Escape Sequences</source>
|
||||
<translation>转义序列</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="406"/>
|
||||
<source>Symbol</source>
|
||||
<translation>符号</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="410"/>
|
||||
<source>Variable</source>
|
||||
<translation>变量</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="416"/>
|
||||
<source>Brace/Bracket/Parenthesis Level 1</source>
|
||||
<translation>1级括号</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="420"/>
|
||||
<source>Brace/Bracket/Parenthesis Level 2</source>
|
||||
<translation>2级括号</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="424"/>
|
||||
<source>Brace/Bracket/Parenthesis Level 3</source>
|
||||
<translation>3级括号</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="428"/>
|
||||
<source>Brace/Bracket/Parenthesis Level 4</source>
|
||||
<translation>4级括号</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="434"/>
|
||||
<source>Gutter</source>
|
||||
<translation>装订线</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="435"/>
|
||||
<location filename="colorscheme.cpp" line="440"/>
|
||||
<location filename="colorscheme.cpp" line="445"/>
|
||||
<location filename="colorscheme.cpp" line="450"/>
|
||||
<location filename="colorscheme.cpp" line="455"/>
|
||||
<location filename="colorscheme.cpp" line="460"/>
|
||||
<source>Editor</source>
|
||||
<translation>编辑器</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="439"/>
|
||||
<source>Active Line</source>
|
||||
<translation>当前行</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="444"/>
|
||||
<source>Breakpoint</source>
|
||||
<translation>断点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="449"/>
|
||||
<source>Active Breakpoint</source>
|
||||
<translation>活动断点</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="454"/>
|
||||
<source>Folding Line</source>
|
||||
<translation>代码折叠线</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="459"/>
|
||||
<source>Selection</source>
|
||||
<translation>选中文字</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="465"/>
|
||||
<location filename="colorscheme.cpp" line="469"/>
|
||||
<source>Syntax Check</source>
|
||||
<translation>语法检查</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="468"/>
|
||||
<source>Warning</source>
|
||||
<translation>警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="colorscheme.cpp" line="549"/>
|
||||
<source>default</source>
|
||||
<translation>缺省</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="qsynedit/exporter/synexporter.cpp" line="177"/>
|
||||
<source>Untitled</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>无标题</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Settings::CompilerSet</name>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1308"/>
|
||||
<source>Support all ANSI standard C programs (-ansi)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1309"/>
|
||||
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Support all ANSI standard C programs (-ansi)</source>
|
||||
<translation>支持所有ANSI标准C程序(-ansi)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1310"/>
|
||||
<source>Imitate traditional C preprocessors (-traditional-cpp)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>Do not recognize asm,inline or typeof as a keyword (-fno-asm)</source>
|
||||
<translation>不支持将asm、inline和typeof作为关键字(-fno-asm)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1342"/>
|
||||
<location filename="settings.cpp" line="1311"/>
|
||||
<source>Imitate traditional C preprocessors (-traditional-cpp)</source>
|
||||
<translation>模仿传统C预处理器行为(-traditional-cpp)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1343"/>
|
||||
<source>Optimize for the following machine (-march)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1343"/>
|
||||
<location filename="settings.cpp" line="1344"/>
|
||||
<source>Optimize less, while maintaining full compatibility (-tune)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1363"/>
|
||||
<location filename="settings.cpp" line="1364"/>
|
||||
<source>Enable use of specific instructions (-mx)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1374"/>
|
||||
<location filename="settings.cpp" line="1375"/>
|
||||
<source>Optimization level (-Ox)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1381"/>
|
||||
<location filename="settings.cpp" line="1382"/>
|
||||
<source>Compile with the following pointer size (-mx)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1404"/>
|
||||
<location filename="settings.cpp" line="1405"/>
|
||||
<source>Language standard (-std)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1405"/>
|
||||
<location filename="settings.cpp" line="1406"/>
|
||||
<source>Generate debugging information (-g3)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1406"/>
|
||||
<location filename="settings.cpp" line="1407"/>
|
||||
<source>Generate profiling info for analysis (-pg)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1409"/>
|
||||
<location filename="settings.cpp" line="1410"/>
|
||||
<source>Warnings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1410"/>
|
||||
<location filename="settings.cpp" line="1411"/>
|
||||
<source>Inhibit all warning messages (-w)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1411"/>
|
||||
<location filename="settings.cpp" line="1412"/>
|
||||
<source>Show most warnings (-Wall)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1412"/>
|
||||
<location filename="settings.cpp" line="1413"/>
|
||||
<source>Show some more warnings (-Wextra)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1413"/>
|
||||
<location filename="settings.cpp" line="1414"/>
|
||||
<source>Check ISO C/C++/C++0x conformance (-pedantic)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1414"/>
|
||||
<location filename="settings.cpp" line="1415"/>
|
||||
<source>Only check the code for syntax errors (-fsyntax-only)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1415"/>
|
||||
<location filename="settings.cpp" line="1416"/>
|
||||
<source>Make all warnings into errors (-Werror)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1416"/>
|
||||
<location filename="settings.cpp" line="1417"/>
|
||||
<source>Abort compilation on first error (-Wfatal-errors)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1419"/>
|
||||
<location filename="settings.cpp" line="1420"/>
|
||||
<source>Linker</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1420"/>
|
||||
<location filename="settings.cpp" line="1421"/>
|
||||
<source>Link an Objective C program (-lobjc)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1421"/>
|
||||
<location filename="settings.cpp" line="1422"/>
|
||||
<source>Do not use standard system libraries (-nostdlib)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1422"/>
|
||||
<location filename="settings.cpp" line="1423"/>
|
||||
<source>Do not create a console window (-mwindows)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1423"/>
|
||||
<location filename="settings.cpp" line="1424"/>
|
||||
<source>Strip executable (-s)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1424"/>
|
||||
<location filename="settings.cpp" line="1425"/>
|
||||
<source>Link libraries statically (-static)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1427"/>
|
||||
<location filename="settings.cpp" line="1428"/>
|
||||
<source>Output</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1428"/>
|
||||
<location filename="settings.cpp" line="1429"/>
|
||||
<source>-fverbose-asm</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1429"/>
|
||||
<location filename="settings.cpp" line="1430"/>
|
||||
<source>Use pipes instead of temporary files during compilation (-pipe)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="settings.cpp" line="1430"/>
|
||||
<location filename="settings.cpp" line="1431"/>
|
||||
<source>Do not assemble, compile and generate the assemble code (-S)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -59,6 +59,11 @@ PColorScheme ColorScheme::load(const QString &filename)
|
|||
return ColorScheme::fromJson(doc.object());
|
||||
}
|
||||
|
||||
QMap<QString, PColorSchemeItem> ColorScheme::items()
|
||||
{
|
||||
return mItems;
|
||||
}
|
||||
|
||||
void ColorScheme::save(const QString &filename)
|
||||
{
|
||||
QFile file(filename);
|
||||
|
@ -265,6 +270,11 @@ QStringList ColorManager::getSchemes(const QString &themeType)
|
|||
return lst;
|
||||
}
|
||||
|
||||
QStringList ColorManager::getDefines()
|
||||
{
|
||||
return mSchemeItemDefines.keys();
|
||||
}
|
||||
|
||||
bool ColorManager::exists(const QString name)
|
||||
{
|
||||
return mSchemes.contains(name);
|
||||
|
@ -312,8 +322,8 @@ void ColorManager::loadSchemesInDir(const QString &dirName, bool isCustomed)
|
|||
}
|
||||
for (int i=0;i<list.size();i++) {
|
||||
QFileInfo fileInfo = list[i];
|
||||
QString name = fileInfo.fileName().toLower();
|
||||
if (name.endsWith(suffix)) {
|
||||
QString name = fileInfo.fileName();
|
||||
if (name.toLower().endsWith(suffix)) {
|
||||
PColorScheme scheme = ColorScheme::load(fileInfo.absoluteFilePath());
|
||||
name.remove(name.length()-suffix.length(),suffix.length());
|
||||
name.replace('_',' ');
|
||||
|
@ -325,46 +335,144 @@ void ColorManager::loadSchemesInDir(const QString &dirName, bool isCustomed)
|
|||
void ColorManager::initItemDefines()
|
||||
{
|
||||
//Highlighter colors
|
||||
addDefine(SYNS_AttrAssembler,true,true,true);
|
||||
addDefine(SYNS_AttrCharacter,true,true,true);
|
||||
addDefine(SYNS_AttrComment,true,true,true);
|
||||
addDefine(SYNS_AttrClass,true,true,true);
|
||||
addDefine(SYNS_AttrFloat,true,true,true);
|
||||
addDefine(SYNS_AttrFunction,true,true,true);
|
||||
addDefine(SYNS_AttrGlobalVariable,true,true,true);
|
||||
addDefine(SYNS_AttrHexadecimal,true,true,true);
|
||||
addDefine(SYNS_AttrIdentifier,true,true,true);
|
||||
addDefine(SYNS_AttrIllegalChar,true,true,true);
|
||||
addDefine(SYNS_AttrLocalVariable,true,true,true);
|
||||
addDefine(SYNS_AttrNumber,true,true,true);
|
||||
addDefine(SYNS_AttrOctal,true,true,true);
|
||||
addDefine(SYNS_AttrPreprocessor,true,true,true);
|
||||
addDefine(SYNS_AttrReservedWord,true,true,true);
|
||||
addDefine(SYNS_AttrSpace,true,true,true);
|
||||
addDefine(SYNS_AttrString,true,true,true);
|
||||
addDefine(SYNS_AttrStringEscapeSequences,true,true,true);
|
||||
addDefine(SYNS_AttrSymbol,true,true,true);
|
||||
addDefine(SYNS_AttrVariable,true,true,true);
|
||||
addDefine(SYNS_AttrAssembler,
|
||||
QObject::tr("Assembler"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrCharacter,
|
||||
QObject::tr("Character"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrComment,
|
||||
QObject::tr("Comment"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrClass,
|
||||
QObject::tr("Class"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrFloat,
|
||||
QObject::tr("Float"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrFunction,
|
||||
QObject::tr("Function"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrGlobalVariable,
|
||||
QObject::tr("Gloabal Variable"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrHexadecimal,
|
||||
QObject::tr("Hexadecimal Integer"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrIdentifier,
|
||||
QObject::tr("Identifier"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrIllegalChar,
|
||||
QObject::tr("Illegal Char"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrLocalVariable,
|
||||
QObject::tr("Local Variable"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrNumber,
|
||||
QObject::tr("Integer"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrOctal,
|
||||
QObject::tr("Octal Integer"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrPreprocessor,
|
||||
QObject::tr("Preprocessor"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrReservedWord,
|
||||
QObject::tr("Reserve Word"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrSpace,
|
||||
QObject::tr("Space"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrString,
|
||||
QObject::tr("String"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrStringEscapeSequences,
|
||||
QObject::tr("Escape Sequences"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrSymbol,
|
||||
QObject::tr("Symbol"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
addDefine(SYNS_AttrVariable,
|
||||
QObject::tr("Variable"),
|
||||
QObject::tr("Syntax"),
|
||||
true,true,true);
|
||||
|
||||
//Brace/Bracket/Parenthesis Level 1 2 3 4
|
||||
addDefine(COLOR_SCHEME_BRACE_1,
|
||||
QObject::tr("Brace/Bracket/Parenthesis Level 1"),
|
||||
QObject::tr("Syntax"),
|
||||
true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_2,
|
||||
QObject::tr("Brace/Bracket/Parenthesis Level 2"),
|
||||
QObject::tr("Syntax"),
|
||||
true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_3,
|
||||
QObject::tr("Brace/Bracket/Parenthesis Level 3"),
|
||||
QObject::tr("Syntax"),
|
||||
true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_4,
|
||||
QObject::tr("Brace/Bracket/Parenthesis Level 4"),
|
||||
QObject::tr("Syntax"),
|
||||
true,false,false);
|
||||
|
||||
//Gutter colors
|
||||
addDefine(COLOR_SCHEME_GUTTER,true,true,true);
|
||||
addDefine(COLOR_SCHEME_GUTTER,
|
||||
QObject::tr("Gutter"),
|
||||
QObject::tr("Editor"),
|
||||
true,true,true);
|
||||
//Active Line
|
||||
addDefine(COLOR_SCHEME_ACTIVE_LINE,false,true,false);
|
||||
addDefine(COLOR_SCHEME_ACTIVE_LINE,
|
||||
QObject::tr("Active Line"),
|
||||
QObject::tr("Editor"),
|
||||
false,true,false);
|
||||
//Breakpoint Line
|
||||
addDefine(COLOR_SCHEME_BREAKPOINT,true,true,false);
|
||||
addDefine(COLOR_SCHEME_BREAKPOINT,
|
||||
QObject::tr("Breakpoint"),
|
||||
QObject::tr("Editor"),
|
||||
true,true,false);
|
||||
//Current Debug Line
|
||||
addDefine(COLOR_SCHEME_ACTIVE_BREAKPOINT,true,true,false);
|
||||
addDefine(COLOR_SCHEME_ACTIVE_BREAKPOINT,
|
||||
QObject::tr("Active Breakpoint"),
|
||||
QObject::tr("Editor"),
|
||||
true,true,false);
|
||||
//Fold line
|
||||
addDefine(COLOR_SCHEME_FOLD_LINE,true,false,false);
|
||||
//Brace/Bracket/Parenthesis Level 1 2 3 4
|
||||
addDefine(COLOR_SCHEME_BRACE_1,true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_2,true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_3,true,false,false);
|
||||
addDefine(COLOR_SCHEME_BRACE_4,true,false,false);
|
||||
addDefine(COLOR_SCHEME_SELECTION,true,true,false);
|
||||
addDefine(COLOR_SCHEME_FOLD_LINE,
|
||||
QObject::tr("Folding Line"),
|
||||
QObject::tr("Editor"),
|
||||
true,false,false);
|
||||
|
||||
addDefine(COLOR_SCHEME_SELECTION,
|
||||
QObject::tr("Selection"),
|
||||
QObject::tr("Editor"),
|
||||
true,true,false);
|
||||
//Syntax Error
|
||||
addDefine(COLOR_SCHEME_ERROR,true,false,false);
|
||||
addDefine(COLOR_SCHEME_WARNING,true,false,false);
|
||||
addDefine(COLOR_SCHEME_ERROR,
|
||||
QObject::tr("Error"),
|
||||
QObject::tr("Syntax Check"),
|
||||
true,false,false);
|
||||
addDefine(COLOR_SCHEME_WARNING,
|
||||
QObject::tr("Warning"),
|
||||
QObject::tr("Syntax Check"),
|
||||
true,false,false);
|
||||
}
|
||||
|
||||
bool ColorManager::rename(const QString &oldName, const QString &newName)
|
||||
|
@ -395,6 +503,16 @@ PColorScheme ColorManager::get(const QString &name)
|
|||
return PColorScheme();
|
||||
}
|
||||
|
||||
PColorSchemeItem ColorManager::getItem(const QString &schemeName, const QString &itemName)
|
||||
{
|
||||
PColorScheme scheme = get(schemeName);
|
||||
if (!scheme)
|
||||
return PColorSchemeItem();
|
||||
if (!scheme->items().contains(itemName))
|
||||
return PColorSchemeItem();
|
||||
return scheme->items()[itemName];
|
||||
}
|
||||
|
||||
bool ColorManager::isValidName(const QString &name)
|
||||
{
|
||||
for (QChar ch:name) {
|
||||
|
@ -405,24 +523,26 @@ bool ColorManager::isValidName(const QString &name)
|
|||
return true;
|
||||
}
|
||||
|
||||
void ColorManager::addDefine(const QString &name, bool hasForeground, bool hasBackground, bool hasFontStyle)
|
||||
void ColorManager::addDefine(const QString &name, const QString &displayName, const QString &group, bool hasForeground, bool hasBackground, bool hasFontStyle)
|
||||
{
|
||||
PColorSchemeItemDefine define = std::make_shared<ColorSchemeItemDefine>();
|
||||
define->setDisplayName(displayName);
|
||||
define->setGroup(group);
|
||||
define->setHasForeground(hasForeground);
|
||||
define->setHasBackground(hasBackground);
|
||||
define->setHasFontStyle(hasFontStyle);
|
||||
mSchemeItemDefine[name]=define;
|
||||
mSchemeItemDefines[name]=define;
|
||||
}
|
||||
|
||||
bool ColorManager::removeDefine(const QString &name)
|
||||
{
|
||||
return mSchemeItemDefine.remove(name)==1;
|
||||
return mSchemeItemDefines.remove(name)==1;
|
||||
}
|
||||
|
||||
PColorSchemeItemDefine ColorManager::getDefine(const QString &name)
|
||||
{
|
||||
if (mSchemeItemDefine.contains(name))
|
||||
return mSchemeItemDefine[name];
|
||||
if (mSchemeItemDefines.contains(name))
|
||||
return mSchemeItemDefines[name];
|
||||
return PColorSchemeItemDefine();
|
||||
}
|
||||
|
||||
|
@ -441,6 +561,7 @@ ColorSchemeItemDefine::ColorSchemeItemDefine()
|
|||
mHasBackground = true;
|
||||
mHasForeground = true;
|
||||
mHasFontStyle = true;
|
||||
mGroup = QObject::tr("default");
|
||||
}
|
||||
|
||||
bool ColorSchemeItemDefine::hasBackground() const
|
||||
|
@ -472,3 +593,23 @@ void ColorSchemeItemDefine::setHasFontStyle(bool value)
|
|||
{
|
||||
mHasFontStyle = value;
|
||||
}
|
||||
|
||||
QString ColorSchemeItemDefine::group() const
|
||||
{
|
||||
return mGroup;
|
||||
}
|
||||
|
||||
void ColorSchemeItemDefine::setGroup(const QString &group)
|
||||
{
|
||||
mGroup = group;
|
||||
}
|
||||
|
||||
QString ColorSchemeItemDefine::displayName() const
|
||||
{
|
||||
return mDisplayName;
|
||||
}
|
||||
|
||||
void ColorSchemeItemDefine::setDisplayName(const QString &displayName)
|
||||
{
|
||||
mDisplayName = displayName;
|
||||
}
|
||||
|
|
|
@ -104,10 +104,18 @@ public:
|
|||
bool hasFontStyle() const;
|
||||
void setHasFontStyle(bool value);
|
||||
|
||||
QString group() const;
|
||||
void setGroup(const QString &group);
|
||||
|
||||
QString displayName() const;
|
||||
void setDisplayName(const QString &displayName);
|
||||
|
||||
private:
|
||||
bool mHasBackground;
|
||||
bool mHasForeground;
|
||||
bool mHasFontStyle;
|
||||
QString mGroup;
|
||||
QString mDisplayName;
|
||||
};
|
||||
|
||||
using PColorSchemeItemDefine = std::shared_ptr<ColorSchemeItemDefine>;
|
||||
|
@ -118,14 +126,16 @@ public:
|
|||
void init();
|
||||
void reload();
|
||||
QStringList getSchemes(const QString& themeType = QString());
|
||||
QStringList getDefines();
|
||||
|
||||
bool exists(const QString name);
|
||||
PColorScheme copy(const QString& source);
|
||||
bool rename(const QString& oldName, const QString& newName);
|
||||
PColorScheme remove(const QString& name);
|
||||
PColorScheme get(const QString& name);
|
||||
PColorSchemeItem getItem(const QString& schemeName, const QString& itemName);
|
||||
bool isValidName(const QString& name);
|
||||
void addDefine(const QString& name, bool hasForeground, bool hasBackground, bool hasFontStyle);
|
||||
void addDefine(const QString& name, const QString& displayName, const QString& group, bool hasForeground, bool hasBackground, bool hasFontStyle);
|
||||
bool removeDefine(const QString &name);
|
||||
PColorSchemeItemDefine getDefine(const QString& name);
|
||||
private:
|
||||
|
@ -134,7 +144,7 @@ private:
|
|||
void loadSchemesInDir(const QString& dirName, bool isCustomed);
|
||||
void initItemDefines();
|
||||
private:
|
||||
QMap<QString,PColorSchemeItemDefine> mSchemeItemDefine;
|
||||
QMap<QString,PColorSchemeItemDefine> mSchemeItemDefines;
|
||||
QMap<QString,PColorScheme> mSchemes;
|
||||
PColorSchemeItemDefine mDefaultSchemeItemDefine;
|
||||
};
|
||||
|
|
|
@ -1,5 +1,17 @@
|
|||
<RCC>
|
||||
<qresource prefix="/colorschemes">
|
||||
<file>colorschemes/vs_code.scheme</file>
|
||||
<file>colorschemes/Borland.scheme</file>
|
||||
<file>colorschemes/Classic.scheme</file>
|
||||
<file>colorschemes/Classic_Plus.scheme</file>
|
||||
<file>colorschemes/GSS_Hacker.scheme</file>
|
||||
<file>colorschemes/Intellij_Classic.scheme</file>
|
||||
<file>colorschemes/Matrix.scheme</file>
|
||||
<file>colorschemes/Obsidian.scheme</file>
|
||||
<file>colorschemes/Obvilion.scheme</file>
|
||||
<file>colorschemes/Plastic_Code_Wrap.scheme</file>
|
||||
<file>colorschemes/Twilight.scheme</file>
|
||||
<file>colorschemes/Visual_Studio.scheme</file>
|
||||
<file>colorschemes/VS_Code.scheme</file>
|
||||
<file>colorschemes/vs_code1.scheme</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#1313FF",
|
||||
"background" : "#000080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#C0C0C0"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#00FFFF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#000050"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#FFFFFF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#FFFF00"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#FFFF00"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#FFFF00"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#0078D7",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"background" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#F0F0F0"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#CCFFFF"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#9B6900"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#000000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#000000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#FF0000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#000000"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#0078D7",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#008080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#400080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#400080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"background" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#C10000",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#400080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#F0F0F0"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#CCFFFF"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#9B6900"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#000000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#C10000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#0000FF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#000000"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,202 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#009CFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#C732FB",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#009CFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#577A57",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#EEDEC9",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#EEDEC9",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#EEDEC9",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#F44747",
|
||||
"background" : "#056109",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#EEDEC9",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#EEDEC9",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#009CFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#AFFF80",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#1667CA",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#171717",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#4E5F1C"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#06ED02",
|
||||
"background" : "#000000"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#41AD00"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#C22026"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#008E99"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#AFFF80"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#FFFFFF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#1667CA"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#FFFFFF"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#008080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#8C8C8C",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#00627A",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#660E7A",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#080808",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#1750EB",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#800080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#1F542E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#0033B3",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"background" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#007D17",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#C10000",
|
||||
"bold" : true,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#400080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#F0F0F0"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#CCFFFF"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#9B6900"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#0033B3"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#C10000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#007D17"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#080808"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,185 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#3366FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#33CCCC",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#3366FF",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#F44747",
|
||||
"background" : "#800000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#33CCCC",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#C3C3C3",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#00FF00",
|
||||
"background" : "#000000"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#808080"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#202020"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#008000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#FF0000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#C3C3C3"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#00FF00"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#93C763",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#FF8409",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#A082BD",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#66747B",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#FFCD22",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#FFCD22",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#E0E2E4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#E0E2E4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#FFCD22",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#E0E2E4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#E0E2E4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#FFCD22",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#FFCD22",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#A082BD",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#678CB1",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#293134",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#EC7600",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#E8E2B7",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#E0E2E4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#404E51"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#6A8088",
|
||||
"background" : "#2F383C"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#99CC00"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#D51212"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#00CCFF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#678CB1"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#E8E2B7"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#EC7600"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#E0E2E4"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,195 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#79ABFF",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#D25252",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#79ABFF",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#C7DD0C",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#7FB347",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#7FB347",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#BED6FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#BED6FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#7FB347",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#BED6FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#F44747",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#BED6FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#7FB347",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#7FB347",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#79ABFF",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#FFC600",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#D9E577",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#BED6FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#D0D0D0",
|
||||
"background" : "#000000"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#D0D0D0",
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#808000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF2A55"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#33CCCC"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#FFFFFF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#D9E577"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#FFC600"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#BED6FF"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,184 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#55E439",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#FFAA00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#1E9AE0",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#FF3A83",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#FF3A83",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#9CDCFE",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#FF3A83",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#BFBFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#F44747",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#9CDCFE",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#FF3A83",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#FF3A83",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#FFAA00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#F6F080",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#0B161D",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#55E439",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#FFAA00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#9CDCFE",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#00FFFF",
|
||||
"background" : "#000000"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#2E3436"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#99CC00"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#D51212"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#00CCFF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#F6F080"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#55E439"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#BFBFFF"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,185 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#00FF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"bold" : false,
|
||||
"italic" : true,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#F44747",
|
||||
"background" : "#800000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#00FFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#FFFF00",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#00FFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000000"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#221111"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FFAA00"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#00FFFF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#00FFFF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#FFFF00"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#FFFFFF"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,182 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#FF00FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#D69D85",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#4EC9B0",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#6A9955",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#B5CEA8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#B5CEA8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#BFBFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#E2C8B8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#B5CEA8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#DCDCAA",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF3C3C",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#9CDCFE",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#B5CEA8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#B5CEA8",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#C586C0",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#569CD6",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#505050",
|
||||
"background" : "#1E1E1E",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#D69D85",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#D4D4D4",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#9CDCFE",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#000000",
|
||||
"background" : "#808080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"foreground" : "#858585",
|
||||
"background" : "#1E1E1E"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"background" : "#800000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFCE",
|
||||
"background" : "#00376F"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#323232"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#FF8040"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#569CD6"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#D4D4D4"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#D69D85"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#DCDCAA"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,182 @@
|
|||
{
|
||||
"Assembler" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Character" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Class" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Comment" : {
|
||||
"foreground" : "#008000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Escape sequences" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Float" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Function" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Global variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Hexadecimal" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Identifier" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Illegal Char" : {
|
||||
"foreground" : "#FF0000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Local Variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Number" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Octal" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Preprocessor" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Reserved Word" : {
|
||||
"foreground" : "#0000FF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Space" : {
|
||||
"foreground" : "#C0C0C0",
|
||||
"background" : "#FFFFFF",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"String" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Symbol" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Variable" : {
|
||||
"foreground" : "#000000",
|
||||
"bold" : false,
|
||||
"italic" : false,
|
||||
"underlined" : false,
|
||||
"strikeout" : false
|
||||
},
|
||||
"Selected text" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#000080"
|
||||
},
|
||||
"Gutter" : {
|
||||
"background" : "#FFFFFF"
|
||||
},
|
||||
"Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#FF0000"
|
||||
},
|
||||
"Error" : {
|
||||
"foreground" : "#FF0000"
|
||||
},
|
||||
"Active Breakpoint" : {
|
||||
"foreground" : "#FFFFFF",
|
||||
"background" : "#0000FF"
|
||||
},
|
||||
"Active Line" : {
|
||||
"background" : "#CCFFFF"
|
||||
},
|
||||
"Warning" : {
|
||||
"foreground" : "#AA7300"
|
||||
},
|
||||
"Indent Guide Line" : {
|
||||
"foreground" : "#C0C0C0"
|
||||
},
|
||||
"brace/parenthesis/bracket level 1" : {
|
||||
"foreground" : "#0000FF"
|
||||
},
|
||||
"brace/parenthesis/bracket level 2" : {
|
||||
"foreground" : "#000000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 3" : {
|
||||
"foreground" : "#000000"
|
||||
},
|
||||
"brace/parenthesis/bracket level 4" : {
|
||||
"foreground" : "#000000"
|
||||
}
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
#include "HighlighterManager.h"
|
||||
#include "qsynedit/exporter/synrtfexporter.h"
|
||||
#include "qsynedit/exporter/synhtmlexporter.h"
|
||||
#include "qsynedit/Constants.h"
|
||||
#include <QGuiApplication>
|
||||
#include <QClipboard>
|
||||
|
||||
|
@ -38,6 +39,11 @@ const char *SaveException::what() const noexcept {
|
|||
|
||||
int Editor::newfileCount=0;
|
||||
|
||||
Editor::Editor(QWidget *parent):
|
||||
Editor(parent,QObject::tr("untitled"),ENCODING_SYSTEM_DEFAULT,false,true,nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
Editor::Editor(QWidget *parent, const QString& filename,
|
||||
const QByteArray& encoding,
|
||||
bool inProject, bool isNew,
|
||||
|
@ -54,7 +60,7 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
mFilename = tr("untitled%1").arg(newfileCount);
|
||||
}
|
||||
QFileInfo fileInfo(mFilename);
|
||||
if (mParentPageControl!=NULL) {
|
||||
if (mParentPageControl!=nullptr) {
|
||||
mParentPageControl->addTab(this,QString());
|
||||
updateCaption();
|
||||
}
|
||||
|
@ -83,7 +89,7 @@ Editor::Editor(QWidget *parent, const QString& filename,
|
|||
}
|
||||
|
||||
Editor::~Editor() {
|
||||
if (mParentPageControl!=NULL) {
|
||||
if (mParentPageControl!=nullptr) {
|
||||
int index = mParentPageControl->indexOf(this);
|
||||
mParentPageControl->removeTab(index);
|
||||
}
|
||||
|
@ -172,8 +178,9 @@ bool Editor::saveAs(){
|
|||
|
||||
void Editor::activate()
|
||||
{
|
||||
this->mParentPageControl->setCurrentWidget(this);
|
||||
this->setFocus();
|
||||
if (mParentPageControl!=nullptr)
|
||||
mParentPageControl->setCurrentWidget(this);
|
||||
setFocus();
|
||||
}
|
||||
|
||||
const QByteArray& Editor::encodingOption() const noexcept{
|
||||
|
@ -454,8 +461,55 @@ void Editor::applySettings()
|
|||
|
||||
}
|
||||
|
||||
void Editor::applyColorScheme(const QString& schemeName)
|
||||
{
|
||||
if (highlighter()) {
|
||||
if (highlighter()->getName() == SYN_HIGHLIGHTER_CPP) {
|
||||
for (QString name: highlighter()->attributes().keys()) {
|
||||
PColorSchemeItem item = pColorManager->getItem(schemeName,name);
|
||||
if (item) {
|
||||
PSynHighlighterAttribute attr = highlighter()->attributes()[name];
|
||||
attr->setBackground(item->background());
|
||||
attr->setForeground(item->foreground());
|
||||
SynFontStyles styles = SynFontStyle::fsNone;
|
||||
if (item->bold()) {
|
||||
styles.setFlag(SynFontStyle::fsBold);
|
||||
}
|
||||
if (item->italic()) {
|
||||
styles.setFlag(SynFontStyle::fsItalic);
|
||||
}
|
||||
if (item->underlined()) {
|
||||
styles.setFlag(SynFontStyle::fsUnderline);
|
||||
}
|
||||
if (item->strikeout()) {
|
||||
styles.setFlag(SynFontStyle::fsStrikeOut);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
PColorSchemeItem item = pColorManager->getItem(schemeName,COLOR_SCHEME_ACTIVE_LINE);
|
||||
if (item) {
|
||||
setActiveLineColor(item->background());
|
||||
}
|
||||
item = pColorManager->getItem(schemeName,COLOR_SCHEME_GUTTER);
|
||||
if (item) {
|
||||
gutter().setTextColor(item->foreground());
|
||||
gutter().setColor(item->background());
|
||||
}
|
||||
item = pColorManager->getItem(schemeName,COLOR_SCHEME_FOLD_LINE);
|
||||
if (item) {
|
||||
//todo
|
||||
}
|
||||
item = pColorManager->getItem(schemeName,COLOR_SCHEME_INDENT_GUIDE_LINE);
|
||||
if (item) {
|
||||
//todo
|
||||
}
|
||||
this->invalidate();
|
||||
}
|
||||
|
||||
void Editor::updateCaption(const QString& newCaption) {
|
||||
if (mParentPageControl==NULL) {
|
||||
if (mParentPageControl==nullptr) {
|
||||
return;
|
||||
}
|
||||
int index = mParentPageControl->indexOf(this);
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <utils.h>
|
||||
#include <QTabWidget>
|
||||
#include "qsynedit/SynEdit.h"
|
||||
#include "colorscheme.h"
|
||||
|
||||
class SaveException: public std::exception {
|
||||
|
||||
|
@ -35,6 +36,8 @@ public:
|
|||
WarningMarker
|
||||
};
|
||||
|
||||
explicit Editor(QWidget *parent);
|
||||
|
||||
explicit Editor(QWidget *parent, const QString& filename,
|
||||
const QByteArray& encoding,
|
||||
bool inProject, bool isNew,QTabWidget* parentPageControl);
|
||||
|
@ -65,6 +68,7 @@ public:
|
|||
|
||||
void updateCaption(const QString& newCaption=QString());
|
||||
void applySettings();
|
||||
void applyColorScheme(const QString& schemeName);
|
||||
void copyToClipboard() override;
|
||||
void cutToClipboard() override;
|
||||
void copyAsHTML();
|
||||
|
|
|
@ -164,4 +164,6 @@ extern const QChar SynSoftBreakGlyph;
|
|||
#define SYNS_ExporterFormatHTML "HTML"
|
||||
#define SYNS_ExporterFormatRTF "RTF"
|
||||
#define SYNS_ExporterFormatTeX "TeX"
|
||||
|
||||
#define SYN_HIGHLIGHTER_CPP "SynCppHighlighter"
|
||||
#endif // CONSTANTS_H
|
||||
|
|
|
@ -15,7 +15,7 @@ SynGutter::SynGutter(QObject *parent):
|
|||
mLeftOffset = 16;
|
||||
mRightOffset = 2;
|
||||
mVisible = true;
|
||||
mUseFontStyle = false;
|
||||
mUseFontStyle = true;
|
||||
mAutoSize = true;
|
||||
mAutoSizeDigitCount = mDigitCount;
|
||||
mBorderStyle = SynGutterBorderStyle::Middle;
|
||||
|
|
|
@ -102,6 +102,8 @@ void SynEditTextPainter::paintGutter(const QRect& clip)
|
|||
|
||||
if (edit->mGutter.useFontStyle()) {
|
||||
painter->setFont(edit->mGutter.font());
|
||||
}
|
||||
if (edit->mGutter.textColor().isValid()) {
|
||||
painter->setPen(edit->mGutter.textColor());
|
||||
} else {
|
||||
painter->setPen(edit->palette().color(QPalette::Text));
|
||||
|
|
|
@ -1572,7 +1572,7 @@ SynHighlighterClass SynEditCppHighlighter::getClass() const
|
|||
|
||||
QString SynEditCppHighlighter::getName() const
|
||||
{
|
||||
return "SynCppHighlighter";
|
||||
return SYN_HIGHLIGHTER_CPP;
|
||||
}
|
||||
|
||||
QString SynEditCppHighlighter::languageName()
|
||||
|
|
|
@ -1819,7 +1819,7 @@ void Settings::Environment::doLoad()
|
|||
//Appearence
|
||||
mTheme = stringValue("theme","default");
|
||||
mInterfaceFont = stringValue("interface font","Segoe UI");
|
||||
mInterfaceFontSize = intValue("interface font size",9);
|
||||
mInterfaceFontSize = intValue("interface font size",11);
|
||||
}
|
||||
|
||||
int Settings::Environment::interfaceFontSize() const
|
||||
|
|
|
@ -12,6 +12,81 @@ EditorColorSchemeWidget::EditorColorSchemeWidget(const QString& name, const QStr
|
|||
for (QString schemeName: pColorManager->getSchemes()) {
|
||||
ui->cbScheme->addItem(schemeName);
|
||||
}
|
||||
ui->treeItems->setModel(&mDefinesModel);
|
||||
mDefinesModel.setHorizontalHeaderLabels(QStringList());
|
||||
for (QString defineName : pColorManager->getDefines()) {
|
||||
addDefine(defineName, pColorManager->getDefine(defineName));
|
||||
}
|
||||
ui->treeItems->expandAll();
|
||||
connect(ui->treeItems->selectionModel(), &QItemSelectionModel::selectionChanged,
|
||||
this, &EditorColorSchemeWidget::onItemSelectionChanged);
|
||||
connect(this, &SettingsWidget::settingsChanged,this,
|
||||
&EditorColorSchemeWidget::onSettingChanged);
|
||||
connect(ui->cbBackground,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onBackgroundChanged);
|
||||
connect(ui->colorBackground,&ColorEdit::colorChanged,
|
||||
this, &EditorColorSchemeWidget::onBackgroundChanged);
|
||||
connect(ui->cbForeground,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onForegroundChanged);
|
||||
connect(ui->colorForeground,&ColorEdit::colorChanged,
|
||||
this, &EditorColorSchemeWidget::onForegroundChanged);
|
||||
connect(ui->cbBold,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onFontStyleChanged);
|
||||
connect(ui->cbItalic,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onFontStyleChanged);
|
||||
connect(ui->cbStrikeout,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onFontStyleChanged);
|
||||
connect(ui->cbUnderlined,&QCheckBox::stateChanged,
|
||||
this, &EditorColorSchemeWidget::onFontStyleChanged);
|
||||
QModelIndex groupIndex = mDefinesModel.index(0,0);
|
||||
QModelIndex index = mDefinesModel.index(0,0,groupIndex);
|
||||
ui->treeItems->setCurrentIndex(index);
|
||||
ui->editDemo->lines()->setText(
|
||||
"#include <iostream>\n"
|
||||
"#include <conio.h>\n"
|
||||
"\n"
|
||||
"int x=10;\n"
|
||||
"\n"
|
||||
"int main(int argc, char **argv)\n"
|
||||
"{\n"
|
||||
" int numbers[20];\n"
|
||||
" float average, total; //breakpoint\n"
|
||||
" for (int i = 0; i <= 19; i++)\n"
|
||||
" { // active breakpoint\n"
|
||||
" numbers[i] = i+x;\n"
|
||||
" Total += i; // error line\n"
|
||||
" }\n"
|
||||
" average = total / 20; // comment\n"
|
||||
" cout << \"total: \" << total << \"\nAverage: \" << average;\n"
|
||||
" getch();\n"
|
||||
"}\n"
|
||||
);
|
||||
ui->editDemo->setReadOnly(true);
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::addDefine(const QString& name, PColorSchemeItemDefine define)
|
||||
{
|
||||
QList<QStandardItem*> items = mDefinesModel.findItems(define->group());
|
||||
QStandardItem* pGroupItem;
|
||||
if (items.count() == 0 ) {
|
||||
pGroupItem = new QStandardItem(define->group());
|
||||
pGroupItem->setData("", NameRole);
|
||||
mDefinesModel.appendRow(pGroupItem);
|
||||
} else {
|
||||
pGroupItem = items[0];
|
||||
}
|
||||
QStandardItem* pWidgetItem = new QStandardItem(define->displayName());
|
||||
pWidgetItem->setData(name, NameRole);
|
||||
pGroupItem->appendRow(pWidgetItem);
|
||||
}
|
||||
|
||||
PColorSchemeItem EditorColorSchemeWidget::getCurrentItem()
|
||||
{
|
||||
QItemSelectionModel * selectionModel = ui->treeItems->selectionModel();
|
||||
QString name =mDefinesModel.data(selectionModel->currentIndex(),NameRole).toString();
|
||||
if (name.isEmpty())
|
||||
return PColorSchemeItem();
|
||||
return pColorManager->getItem(ui->cbScheme->currentText(), name);
|
||||
}
|
||||
|
||||
EditorColorSchemeWidget::~EditorColorSchemeWidget()
|
||||
|
@ -19,6 +94,102 @@ EditorColorSchemeWidget::~EditorColorSchemeWidget()
|
|||
delete ui;
|
||||
}
|
||||
|
||||
static void setColorProp(ColorEdit* ce, QCheckBox* cb, const QColor& color) {
|
||||
if (color.isValid()) {
|
||||
cb->setChecked(true);
|
||||
ce->setColor(color);
|
||||
ce->setVisible(true);
|
||||
} else {
|
||||
cb->setChecked(false);
|
||||
ce->setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::onItemSelectionChanged()
|
||||
{
|
||||
QItemSelectionModel * selectionModel = ui->treeItems->selectionModel();
|
||||
QString name =mDefinesModel.data(selectionModel->currentIndex(),NameRole).toString();
|
||||
bool found = false;
|
||||
if (!name.isEmpty()) {
|
||||
PColorSchemeItemDefine define = pColorManager->getDefine(name);
|
||||
if (define) {
|
||||
found = true;
|
||||
ui->cbBackground->setEnabled(define->hasBackground());
|
||||
ui->colorBackground->setEnabled(define->hasBackground());
|
||||
ui->cbForeground->setEnabled(define->hasForeground());
|
||||
ui->colorForeground->setEnabled(define->hasForeground());
|
||||
ui->grpFontStyles->setEnabled(define->hasFontStyle());
|
||||
PColorSchemeItem item = pColorManager->getItem(ui->cbScheme->currentText(), name);
|
||||
if (item) {
|
||||
if (define->hasBackground()) {
|
||||
setColorProp(ui->colorBackground, ui->cbBackground,item->background());
|
||||
} else {
|
||||
setColorProp(ui->colorBackground, ui->cbBackground,QColor());
|
||||
}
|
||||
if (define->hasForeground()) {
|
||||
setColorProp(ui->colorForeground, ui->cbForeground,item->foreground());
|
||||
} else {
|
||||
setColorProp(ui->colorForeground, ui->cbForeground,QColor());
|
||||
}
|
||||
if (define->hasFontStyle()) {
|
||||
ui->cbBold->setChecked(item->bold());
|
||||
ui->cbItalic->setChecked(item->italic());
|
||||
ui->cbUnderlined->setChecked(item->underlined());
|
||||
ui->cbStrikeout->setChecked(item->strikeout());
|
||||
} else {
|
||||
ui->cbBold->setChecked(false);
|
||||
ui->cbItalic->setChecked(false);
|
||||
ui->cbUnderlined->setChecked(false);
|
||||
ui->cbStrikeout->setChecked(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// not found
|
||||
ui->widgetSchemeItem->setEnabled(found);
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::onSettingChanged()
|
||||
{
|
||||
ui->editDemo->applyColorScheme(ui->cbScheme->currentText());
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::onForegroundChanged()
|
||||
{
|
||||
PColorSchemeItem item = getCurrentItem();
|
||||
if (!item)
|
||||
return;
|
||||
if (ui->cbForeground->isChecked()) {
|
||||
item->setForeground(ui->colorForeground->color());
|
||||
} else {
|
||||
item->setForeground(QColor());
|
||||
}
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::onBackgroundChanged()
|
||||
{
|
||||
PColorSchemeItem item = getCurrentItem();
|
||||
if (!item)
|
||||
return;
|
||||
if (ui->cbBackground->isChecked()) {
|
||||
item->setBackground(ui->colorBackground->color());
|
||||
} else {
|
||||
item->setBackground(QColor());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::onFontStyleChanged()
|
||||
{
|
||||
PColorSchemeItem item = getCurrentItem();
|
||||
if (!item)
|
||||
return;
|
||||
item->setBold(ui->cbBold->isChecked());
|
||||
item->setItalic(ui->cbItalic->isChecked());
|
||||
item->setStrikeout(ui->cbStrikeout->isChecked());
|
||||
item->setUnderlined(ui->cbUnderlined->isChecked());
|
||||
}
|
||||
|
||||
void EditorColorSchemeWidget::doLoad()
|
||||
{
|
||||
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
#define EDITORCOLORSCHEMEWIDGET_H
|
||||
|
||||
#include "settingswidget.h"
|
||||
#include "../colorscheme.h"
|
||||
|
||||
#include <QStandardItemModel>
|
||||
|
||||
namespace Ui {
|
||||
class EditorColorSchemeWidget;
|
||||
|
@ -12,16 +15,32 @@ class EditorColorSchemeWidget : public SettingsWidget
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum {
|
||||
NameRole = Qt::UserRole+1
|
||||
};
|
||||
explicit EditorColorSchemeWidget(const QString& name, const QString& group, QWidget *parent = nullptr);
|
||||
~EditorColorSchemeWidget();
|
||||
|
||||
public slots:
|
||||
void onItemSelectionChanged();
|
||||
void onSettingChanged();
|
||||
void onForegroundChanged();
|
||||
void onBackgroundChanged();
|
||||
void onFontStyleChanged();
|
||||
|
||||
private:
|
||||
void addDefine(const QString& name, PColorSchemeItemDefine define);
|
||||
PColorSchemeItem getCurrentItem();
|
||||
|
||||
private:
|
||||
Ui::EditorColorSchemeWidget *ui;
|
||||
QStandardItemModel mDefinesModel;
|
||||
|
||||
// SettingsWidget interface
|
||||
protected:
|
||||
void doLoad() override;
|
||||
void doSave() override;
|
||||
|
||||
};
|
||||
|
||||
#endif // EDITORCOLORSCHEMEWIDGET_H
|
||||
|
|
|
@ -23,6 +23,21 @@
|
|||
<item>
|
||||
<widget class="QWidget" name="widget" native="true">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<property name="spacing">
|
||||
<number>7</number>
|
||||
</property>
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="text">
|
||||
|
@ -71,21 +86,16 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QSplitter" name="splitter">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<widget class="QWidget" name="widget_3" native="true">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<property name="leftMargin">
|
||||
<number>0</number>
|
||||
|
@ -100,19 +110,65 @@
|
|||
<number>0</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QListView" name="lstItems"/>
|
||||
<widget class="QTreeView" name="treeItems">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="editTriggers">
|
||||
<set>QAbstractItemView::NoEditTriggers</set>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QWidget" name="widget_4" native="true">
|
||||
<widget class="QWidget" name="widgetSchemeItem" native="true">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="1" column="0">
|
||||
<item row="0" column="1">
|
||||
<widget class="QCheckBox" name="cbBackground">
|
||||
<property name="text">
|
||||
<string>Background:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QCheckBox" name="cbForeground">
|
||||
<property name="text">
|
||||
<string>Foreground:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="0">
|
||||
<item row="0" column="3">
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="ColorEdit" name="colorForeground">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="5" column="1">
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
|
@ -125,8 +181,8 @@
|
|||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item row="2" column="0" colspan="2">
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<item row="2" column="1" colspan="2">
|
||||
<widget class="QGroupBox" name="grpFontStyles">
|
||||
<property name="title">
|
||||
<string>Font Styles</string>
|
||||
</property>
|
||||
|
@ -145,6 +201,13 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="cbStrikeout">
|
||||
<property name="text">
|
||||
<string>Strikeout</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="cbUnderlined">
|
||||
<property name="text">
|
||||
|
@ -155,25 +218,8 @@
|
|||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="cbBackground">
|
||||
<property name="text">
|
||||
<string>Background:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QFrame" name="colorBackground">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QFrame" name="colorForeground">
|
||||
<item row="0" column="2">
|
||||
<widget class="ColorEdit" name="colorBackground">
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::StyledPanel</enum>
|
||||
</property>
|
||||
|
@ -187,9 +233,7 @@
|
|||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="SynEdit" name="frame">
|
||||
<widget class="Editor" name="editDemo">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
|
@ -203,6 +247,7 @@
|
|||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
@ -211,9 +256,15 @@
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>SynEdit</class>
|
||||
<class>ColorEdit</class>
|
||||
<extends>QFrame</extends>
|
||||
<header location="global">qsynedit/SynEdit.h</header>
|
||||
<header location="global">widgets/coloredit.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>Editor</class>
|
||||
<extends>QFrame</extends>
|
||||
<header location="global">editor.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
|
|
Loading…
Reference in New Issue