mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
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:
parent
c981b6b84f
commit
61a5b78bc8
5 changed files with 1103 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue