New control ctlStyledText with RegExp hightligth

Добавлен элемент для редактирования RegExp выражений с подсветкой.
По цвету сделан похожим на regex101.com.
Для разбора выражений использовалась грамматика
https://github.com/bkiers/pcre-parser/blob/master/src/main/antlr4/nl/bigo/pcreparser/PCREParser.g4
This commit is contained in:
lsv 2024-09-23 15:01:31 +05:00 committed by lsv
parent c981b6b84f
commit 61a5b78bc8
5 changed files with 1103 additions and 1 deletions

View file

@ -73,6 +73,8 @@
#include "ctl/xh_ctltree.h"
#include "ctl/xh_ctlchecktreeview.h"
#include "ctl/xh_ctlcolourpicker.h"
#include "ctl/xh_styledtext.h"
#define DOC_DIR wxT("/docs")
#define UI_DIR wxT("/ui")
@ -508,7 +510,8 @@ bool pgAdmin3::OnInit()
wxXmlResource::Get()->AddHandler(new ctlTreeXmlHandler);
wxXmlResource::Get()->AddHandler(new ctlCheckTreeViewXmlHandler);
wxXmlResource::Get()->AddHandler(new ctlColourPickerXmlHandler);
wxXmlResource::Get()->AddHandler(new ctlStyledTextXmlHandler);
//wxXmlResource::Get()->AddHandler(new ctlTreeJSONXmlHandler);
InitXml();
wxOGLInitialize();