forked from morbac/xmltools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nppMenu.h
61 lines (47 loc) · 1.44 KB
/
nppMenu.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#pragma once
#include "nppHelpers.h"
void ToggleMenuItem(int idx, bool& value);
void insertXMLCheckTag();
void insertValidationTag();
//void insertPrettyPrintTag();
void insertXMLCloseTag();
void insertTagAutoIndent();
void insertAttributeAutoComplete();
void insertAutoXMLType();
void togglePreventXXE();
void toggleAllowHuge();
void togglePrettyPrintAllFiles();
void manualXMLCheck();
void manualValidation();
void highlightFirstError();
void highlightPreviousError();
void highlightNextError();
void highlightLastError();
void highlightError(size_t num);
void insertXMLCheckTag();
void insertXMLCloseTag();
void insertAutoXMLType();
void togglePreventXXE();
void toggleAllowHuge();
void nppPrettyPrintXmlFast();
void nppPrettyPrintXmlAttrFast();
void nppPrettyPrintXmlIndentOnlyFast();
void nppLinearizeXmlFast();
void nppTokenizeXmlFast();
//void insertPrettyPrintTag();
void togglePrettyPrintAllFiles();
void nppConvertXML2Text();
void nppConvertText2XML();
void commentSelection();
void uncommentSelection();
void getCurrentXPathStd();
void getCurrentXPathPredicate();
void evaluateXPath();
void performXSLTransform();
void aboutBox();
void optionsDlg();
int addMenuItem(const wchar_t* title, PFUNCPLUGINCMD action, bool checked = false, ShortcutKey* shortcut = NULL);
void addMenuSeparator();
ShortcutKey* createShortcut(unsigned char key, bool enableALT = true, bool enableCTRL = true, bool enableSHIFT = true);
void initMenu();
void destroyMenu();