UniversalIndentGUI 1.2.0
Classes | Defines | Typedefs | Functions | Variables
UniversalIndentGUI_NPP.h File Reference
#include "PluginInterface.h"
#include "Scintilla.h"
#include <tchar.h>
#include <shlwapi.h>
#include "IndentHandler.h"
#include "SettingsPaths.h"
Include dependency graph for UniversalIndentGUI_NPP.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tPluginProp

Defines

#define EXECUTE_TEXT_INDENT_INDEX   1
#define TOGGLE_AUTO_UPDATE_INDEX   2
#define TOGGLE_SHOW_UIGUI_INDEX   0
#define WIN32_LEAN_AND_MEAN

Typedefs

typedef struct tPluginProp tPluginProp

Functions

void indentText (void)
void loadSettings (void)
void saveSettings (void)
void showUiGUI (void)
void toggleAutoUpdate (void)

Variables

CONST TCHAR dlgTemp [] = _T("UniversalIndentGUI")
CONST TCHAR PLUGINTEMP_INI [] = _T("\\UniversalIndentGUI.ini")
CONST TCHAR Value1 [] = _T("Value1")
CONST TCHAR Value2 [] = _T("Value2")

Define Documentation

#define EXECUTE_TEXT_INDENT_INDEX   1

Definition at line 35 of file UniversalIndentGUI_NPP.h.

Referenced by DllMain().

#define TOGGLE_AUTO_UPDATE_INDEX   2

Definition at line 36 of file UniversalIndentGUI_NPP.h.

Referenced by DllMain(), and toggleAutoUpdate().

#define TOGGLE_SHOW_UIGUI_INDEX   0

Definition at line 34 of file UniversalIndentGUI_NPP.h.

Referenced by DllMain(), and showUiGUI().

#define WIN32_LEAN_AND_MEAN

Definition at line 24 of file UniversalIndentGUI_NPP.h.


Typedef Documentation

typedef struct tPluginProp tPluginProp

Function Documentation

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

CONST TCHAR dlgTemp[] = _T("UniversalIndentGUI")

Definition at line 44 of file UniversalIndentGUI_NPP.h.

Referenced by loadSettings(), and saveSettings().

CONST TCHAR PLUGINTEMP_INI[] = _T("\\UniversalIndentGUI.ini")

Definition at line 40 of file UniversalIndentGUI_NPP.h.

Referenced by loadSettings().

CONST TCHAR Value1[] = _T("Value1")

Definition at line 46 of file UniversalIndentGUI_NPP.h.

Referenced by loadSettings(), and saveSettings().

CONST TCHAR Value2[] = _T("Value2")

Definition at line 47 of file UniversalIndentGUI_NPP.h.

Referenced by loadSettings(), and saveSettings().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines