UniversalIndentGUI 1.2.0
Functions | Variables
UniversalIndentGUI_NPP.cpp File Reference
#include "UniversalIndentGUI_NPP.h"
#include "UiGuiLogger.h"
#include "UiGuiSystemInfo.h"
#include "UiGuiVersion.h"
Include dependency graph for UniversalIndentGUI_NPP.cpp:

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
IndentHandlerindentHandler
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

Function Documentation

__declspec ( dllexport  )

Definition at line 128 of file UniversalIndentGUI_NPP.cpp.

References loadSettings().

Here is the call graph for this function:

BOOL APIENTRY DllMain ( HANDLE  hModule,
DWORD  reasonForCall,
LPVOID  lpReserved 
)
HWND getCurrentHScintilla ( int  which)

Definition at line 277 of file UniversalIndentGUI_NPP.cpp.

References NppData::_scintillaMainHandle, and NppData::_scintillaSecondHandle.

Referenced by indentText().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

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.

Referenced by DllMain(), and main().

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.

WPARAM LPARAM lParam return TRUE
WPARAM wParam

Definition at line 180 of file UniversalIndentGUI_NPP.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines