|
UniversalIndentGUI 1.2.0
|
#include "UniversalIndentGUI_NPP.h"#include "UiGuiLogger.h"#include "UiGuiSystemInfo.h"#include "UiGuiVersion.h"
Go to the source code of this file.
Functions | |
| __declspec (dllexport) void setInfo(NppData notpadPlusData) | |
| BOOL APIENTRY | DllMain (HANDLE hModule, DWORD reasonForCall, LPVOID lpReserved) |
| HWND | getCurrentHScintilla (int which) |
| void | indentText () |
| void | loadSettings (void) |
| void | saveSettings (void) |
| void | showUiGUI (void) |
| void | toggleAutoUpdate (void) |
Variables | |
| TCHAR | configPath [MAX_PATH] |
| FuncItem | funcItem [nbFunc] |
| HANDLE | g_hModule = NULL |
| IndentHandler * | indentHandler |
| TCHAR | iniFilePath [MAX_PATH] |
| CONST INT | nbFunc = 3 |
| NppData | nppData |
| CONST TCHAR | PLUGIN_NAME [] = _T("&UniversalIndentGUI") |
| tPluginProp | pluginProp |
| WPARAM LPARAM lParam return | TRUE |
| WPARAM | wParam |
| __declspec | ( | dllexport | ) |
Definition at line 128 of file UniversalIndentGUI_NPP.cpp.
References loadSettings().

| BOOL APIENTRY DllMain | ( | HANDLE | hModule, |
| DWORD | reasonForCall, | ||
| LPVOID | lpReserved | ||
| ) |
Definition at line 46 of file UniversalIndentGUI_NPP.cpp.
References ShortcutKey::_isAlt, ShortcutKey::_isCtrl, ShortcutKey::_isShift, ShortcutKey::_key, FuncItem::_pFunc, FuncItem::_pShKey, EXECUTE_TEXT_INDENT_INDEX, g_hModule, UiGuiSystemInfo::getOperatingSystem(), indentHandler, indentText(), PROGRAM_REVISION, PROGRAM_VERSION_STRING, saveSettings(), IndentHandler::setParameterChangedCallback(), IndentHandler::setWindowClosedCallback(), showUiGUI(), TOGGLE_AUTO_UPDATE_INDEX, TOGGLE_SHOW_UIGUI_INDEX, toggleAutoUpdate(), and TRUE.

| HWND getCurrentHScintilla | ( | int | which | ) |
Definition at line 277 of file UniversalIndentGUI_NPP.cpp.
References NppData::_scintillaMainHandle, and NppData::_scintillaSecondHandle.
Referenced by indentText().

| void indentText | ( | void | ) |
Definition at line 282 of file UniversalIndentGUI_NPP.cpp.
References IndentHandler::callIndenter(), getCurrentHScintilla(), SCI_GETFIRSTVISIBLELINE, SCI_GETSELECTIONSTART, SCI_GETSELTEXT, SCI_GETTEXT, SCI_GETTEXTLENGTH, SCI_GOTOLINE, SCI_LINESONSCREEN, SCI_REPLACESEL, SCI_SETSEL, and SCI_SETTEXT.
Referenced by DllMain(), and toggleAutoUpdate().


| void loadSettings | ( | void | ) |
Definition at line 190 of file UniversalIndentGUI_NPP.cpp.
References NppData::_nppHandle, configPath, dlgTemp, iniFilePath, tPluginProp::iValue1, tPluginProp::iValue2, NPPM_GETPLUGINSCONFIGDIR, PLUGINTEMP_INI, Value1, and Value2.
Referenced by __declspec().

| void saveSettings | ( | void | ) |
Definition at line 221 of file UniversalIndentGUI_NPP.cpp.
References dlgTemp, iniFilePath, tPluginProp::iValue1, tPluginProp::iValue2, Value1, and Value2.
Referenced by DllMain().

| void showUiGUI | ( | void | ) |
Definition at line 257 of file UniversalIndentGUI_NPP.cpp.
References FuncItem::_cmdID, NppData::_nppHandle, and TOGGLE_SHOW_UIGUI_INDEX.
Referenced by DllMain(), and toggleAutoUpdate().

| void toggleAutoUpdate | ( | void | ) |
Definition at line 237 of file UniversalIndentGUI_NPP.cpp.
References FuncItem::_cmdID, NppData::_nppHandle, indentText(), IndentHandler::setParameterChangedCallback(), showUiGUI(), and TOGGLE_AUTO_UPDATE_INDEX.
Referenced by DllMain().


| TCHAR configPath[MAX_PATH] |
Definition at line 40 of file UniversalIndentGUI_NPP.cpp.
Referenced by loadSettings().
Definition at line 35 of file UniversalIndentGUI_NPP.cpp.
| HANDLE g_hModule = NULL |
Definition at line 33 of file UniversalIndentGUI_NPP.cpp.
Referenced by DllMain().
Definition at line 37 of file UniversalIndentGUI_NPP.cpp.
| TCHAR iniFilePath[MAX_PATH] |
Definition at line 41 of file UniversalIndentGUI_NPP.cpp.
Referenced by loadSettings(), and saveSettings().
| CONST INT nbFunc = 3 |
Definition at line 29 of file UniversalIndentGUI_NPP.cpp.
Definition at line 34 of file UniversalIndentGUI_NPP.cpp.
Referenced by UniversalIndentGUI_NPPDialog::init().
| CONST TCHAR PLUGIN_NAME[] = _T("&UniversalIndentGUI") |
Definition at line 30 of file UniversalIndentGUI_NPP.cpp.
Referenced by __declspec().
Definition at line 42 of file UniversalIndentGUI_NPP.cpp.
Definition at line 180 of file UniversalIndentGUI_NPP.cpp.
Referenced by DllMain(), and UniversalIndentGUI_NPPDialog::run_dlgProc().
| WPARAM wParam |
Definition at line 180 of file UniversalIndentGUI_NPP.cpp.
1.7.4