[NEW_FEATURE] Add Marker Jumper feature.

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@561 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
Don Ho 2009-11-15 13:35:15 +00:00
parent bdbb2711e1
commit f5d7e44e2c
10 changed files with 926 additions and 770 deletions

View File

@ -3414,7 +3414,6 @@ void Notepad_plus::specialCmd(int id, int param)
void Notepad_plus::command(int id)
{
//NppParameters *pNppParam = NppParameters::getInstance();
switch (id)
{
case IDM_FILE_NEW:
@ -3523,17 +3522,12 @@ void Notepad_plus::command(int id)
case IDM_MACRO_STOPRECORDINGMACRO:
case IDC_EDIT_TOGGLEMACRORECORDING:
{
//static HCURSOR originalCur;
if (_recordingMacro)
{
// STOP !!!
_mainEditView.execute(SCI_STOPRECORD);
//_mainEditView.execute(SCI_ENDUNDOACTION);
_subEditView.execute(SCI_STOPRECORD);
//_subEditView.execute(SCI_ENDUNDOACTION);
//::SetCursor(originalCur);
_mainEditView.execute(SCI_SETCURSOR, (WPARAM)SC_CURSORNORMAL);
_subEditView.execute(SCI_SETCURSOR, (WPARAM)SC_CURSORNORMAL);
@ -3542,18 +3536,13 @@ void Notepad_plus::command(int id)
}
else
{
//originalCur = ::LoadCursor(_hInst, MAKEINTRESOURCE(IDC_MACRO_RECORDING));
//::SetCursor(originalCur);
_mainEditView.execute(SCI_SETCURSOR, 9);
_subEditView.execute(SCI_SETCURSOR, 9);
_macro.clear();
// START !!!
_mainEditView.execute(SCI_STARTRECORD);
//_mainEditView.execute(SCI_BEGINUNDOACTION);
_subEditView.execute(SCI_STARTRECORD);
//_subEditView.execute(SCI_BEGINUNDOACTION);
_recordingMacro = true;
}
checkMacroState();
@ -3752,6 +3741,58 @@ void Notepad_plus::command(int id)
break;
}
case IDM_SEARCH_GONEXTMARKER1 :
case IDM_SEARCH_GONEXTMARKER2 :
case IDM_SEARCH_GONEXTMARKER3 :
case IDM_SEARCH_GONEXTMARKER4 :
case IDM_SEARCH_GONEXTMARKER5 :
case IDM_SEARCH_GONEXTMARKER_DEF :
{
int styleID;
if (id == IDM_SEARCH_GONEXTMARKER1)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT1;
else if (id == IDM_SEARCH_GONEXTMARKER2)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT2;
else if (id == IDM_SEARCH_GONEXTMARKER3)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT3;
else if (id == IDM_SEARCH_GONEXTMARKER4)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT4;
else if (id == IDM_SEARCH_GONEXTMARKER5)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT5;
else // (id == IDM_SEARCH_GONEXTMARKER_DEF)
styleID = SCE_UNIVERSAL_FOUND_STYLE;
goToNextIndicator(styleID);
break;
}
case IDM_SEARCH_GOPREVMARKER1 :
case IDM_SEARCH_GOPREVMARKER2 :
case IDM_SEARCH_GOPREVMARKER3 :
case IDM_SEARCH_GOPREVMARKER4 :
case IDM_SEARCH_GOPREVMARKER5 :
case IDM_SEARCH_GOPREVMARKER_DEF :
{
int styleID;
if (id == IDM_SEARCH_GOPREVMARKER1)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT1;
else if (id == IDM_SEARCH_GOPREVMARKER2)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT2;
else if (id == IDM_SEARCH_GOPREVMARKER3)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT3;
else if (id == IDM_SEARCH_GOPREVMARKER4)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT4;
else if (id == IDM_SEARCH_GOPREVMARKER5)
styleID = SCE_UNIVERSAL_FOUND_STYLE_EXT5;
else // (id == IDM_SEARCH_GOPREVMARKER_DEF)
styleID = SCE_UNIVERSAL_FOUND_STYLE;
goToPreviousIndicator(styleID);
break;
}
case IDM_SEARCH_CLEARALLMARKS :
{
_pEditView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_EXT1);
@ -4847,7 +4888,7 @@ void Notepad_plus::command(int id)
break;
case IDM_POPUP_FILE_NEW:
case IDM_SYSTRAYPOPUP_NEWDOC:
{
NppGUI & nppGUI = (NppGUI &)((NppParameters::getInstance())->getNppGUI());
::ShowWindow(_hSelf, nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
@ -4855,14 +4896,14 @@ void Notepad_plus::command(int id)
}
break;
case IDM_POPUP_FILE_ACTIVATE_OR_NEW:
case IDM_SYSTRAYPOPUP_ACTIVATE :
{
NppGUI & nppGUI = (NppGUI &)((NppParameters::getInstance())->getNppGUI());
::ShowWindow(_hSelf, nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
}
break;
case IDM_POPUP_FILE_NEW_AND_PASTE:
case IDM_SYSTRAYPOPUP_NEW_AND_PASTE:
{
NppGUI & nppGUI = (NppGUI &)((NppParameters::getInstance())->getNppGUI());
::ShowWindow(_hSelf, nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
@ -4876,7 +4917,7 @@ void Notepad_plus::command(int id)
}
break;
case IDM_POPUP_FILE_OPEN:
case IDM_SYSTRAYPOPUP_OPENFILE:
{
NppGUI & nppGUI = (NppGUI &)((NppParameters::getInstance())->getNppGUI());
::ShowWindow(_hSelf, nppGUI._isMaximized?SW_MAXIMIZE:SW_SHOW);
@ -4884,7 +4925,7 @@ void Notepad_plus::command(int id)
}
break;
case IDM_POPUP_CLOSE:
case IDM_SYSTRAYPOPUP_CLOSE:
{
_isPrelaunch = false;
_pTrayIco->doTrayIcon(REMOVE);
@ -9319,7 +9360,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
return TRUE;
case WM_MBUTTONUP:
command(IDM_POPUP_FILE_NEW_AND_PASTE);
command(IDM_SYSTRAYPOPUP_NEW_AND_PASTE);
return TRUE;
case WM_RBUTTONUP:
@ -9329,8 +9370,8 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
HMENU hmenu; // menu template
HMENU hTrayIconMenu; // shortcut menu
hmenu = LoadMenu(_hInst, MAKEINTRESOURCE(IDR_POPUP_MENU));
hTrayIconMenu = GetSubMenu(hmenu, 0);
hmenu = ::LoadMenu(_hInst, MAKEINTRESOURCE(IDR_SYSTRAYPOPUP_MENU));
hTrayIconMenu = ::GetSubMenu(hmenu, 0);
SetForegroundWindow(_hSelf);
TrackPopupMenu(hTrayIconMenu, TPM_LEFTALIGN, p.x, p.y, 0, _hSelf, NULL);
PostMessage(_hSelf, WM_NULL, 0, 0);
@ -9578,7 +9619,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
case NPPM_INTERNAL_CLEARINDICATOR :
{
_pEditView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_2);
_pEditView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_SMART);
return TRUE;
}
case NPPM_INTERNAL_CLEARINDICATORTAGMATCH :
@ -9698,6 +9739,68 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
return result;
}
void Notepad_plus::goToPreviousIndicator(int indicID2Search) const
{
int position = _pEditView->execute(SCI_GETCURRENTPOS);
BOOL isInIndicator = _pEditView->execute(SCI_INDICATORVALUEAT, indicID2Search, position);
int posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, position);
int posEnd;
if (isInIndicator)
{
if (posStart <= 0)
return;
posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, posStart - 1);
if (posStart <= 0)
return;
int newPos = posStart - 1;
posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, newPos);
posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, newPos);
}
else
{
if (posStart <= 0)
return;
int newPos = posStart - 1;
posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, newPos);
posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, newPos);
}
_pEditView->execute(SCI_SETSEL, posEnd, posStart);
_pEditView->execute(SCI_SCROLLCARET);
}
void Notepad_plus::goToNextIndicator(int indicID2Search) const
{
int position = _pEditView->execute(SCI_GETCURRENTPOS);
int docLen = _pEditView->getCurrentDocLen();
BOOL isInIndicator = _pEditView->execute(SCI_INDICATORVALUEAT, indicID2Search, position);
int posStart;
int posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, position);
if (isInIndicator)
{
if (posEnd >= docLen)
return;
posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, posEnd);
if (posEnd >= docLen)
return;
int newPos = posEnd;
posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, newPos);
posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, newPos);
}
else
{
if (posEnd >= docLen)
return;
int newPos = posEnd + 1;
posStart = _pEditView->execute(SCI_INDICATORSTART, indicID2Search, newPos);
posEnd = _pEditView->execute(SCI_INDICATOREND, indicID2Search, newPos);
}
_pEditView->execute(SCI_SETSEL, posStart, posEnd);
_pEditView->execute(SCI_SCROLLCARET);
}
LRESULT CALLBACK Notepad_plus::Notepad_plus_Proc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
{

View File

@ -573,6 +573,8 @@ private:
void loadCommandlineParams(const TCHAR * commandLine, CmdLineParams * pCmdParams);
bool noOpenedDoc() const;
void goToPreviousIndicator(int indicID2Search) const;
void goToNextIndicator(int indicID2Search) const;
};
#endif //NOTEPAD_PLUS_H

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,11 @@ struct ScintillaKeyDefinition {
int redirFunctionId; //this gets set when a function is being redirected through Notepad++ if Scintilla doesnt do it properly :)
};
WinMenuKeyDefinition winKeyDefs[] = { //array of accelerator keys for all std menu items, values can be 0 for vKey, which means its unused
WinMenuKeyDefinition winKeyDefs[] = {
//array of accelerator keys for all std menu items, values can be 0 for vKey, which means its unused
//================================================================================
// {V_KEY, COMMAND_ID, Ctrl, Alt, Shift, cmdName},
//================================================================================
{VK_N, IDM_FILE_NEW, true, false, false, NULL},
{VK_O, IDM_FILE_OPEN, true, false, false, NULL},
{VK_NULL, IDM_FILE_RELOAD, false, false, false, NULL},
@ -188,15 +192,29 @@ WinMenuKeyDefinition winKeyDefs[] = { //array of accelerator keys for all std me
{VK_NULL, IDM_FORUM, false, false, false, NULL},
{VK_NULL, IDM_PLUGINSHOME, false, false, false, NULL},
{VK_F1, IDM_ABOUT, false, false, false, NULL},
{VK_F1, IDM_HELP, false, false, true, NULL},
{VK_F1, IDM_HELP, false, false, true, NULL},
{VK_TAB, IDC_PREV_DOC, true, false, true, TEXT("Switch to previous document")},
{VK_TAB, IDC_NEXT_DOC, true, false, false, TEXT("Switch to next document")},
{VK_1, IDM_SEARCH_GONEXTMARKER1, true, false, false, NULL},
{VK_2, IDM_SEARCH_GONEXTMARKER2, true, false, false, NULL},
{VK_3, IDM_SEARCH_GONEXTMARKER3, true, false, false, NULL},
{VK_4, IDM_SEARCH_GONEXTMARKER4, true, false, false, NULL},
{VK_5, IDM_SEARCH_GONEXTMARKER5, true, false, false, NULL},
{VK_0, IDM_SEARCH_GONEXTMARKER_DEF, true, false, false, NULL},
{VK_1, IDM_SEARCH_GOPREVMARKER1, true, false, true, NULL},
{VK_2, IDM_SEARCH_GOPREVMARKER2, true, false, true, NULL},
{VK_3, IDM_SEARCH_GOPREVMARKER3, true, false, true, NULL},
{VK_4, IDM_SEARCH_GOPREVMARKER4, true, false, true, NULL},
{VK_5, IDM_SEARCH_GOPREVMARKER5, true, false, true, NULL},
{VK_0, IDM_SEARCH_GOPREVMARKER_DEF, true, false, true, NULL},
};
ScintillaKeyDefinition scintKeyDefs[] = { //array of accelerator keys for all possible scintilla functions, values can be 0 for vKey, which means its unused
{TEXT("SCI_CUT"), SCI_CUT, true, false, false, VK_X, IDM_EDIT_CUT},
{TEXT("SCI_CUT"), SCI_CUT, true, false, false, VK_X, IDM_EDIT_CUT},
{TEXT(""), SCI_CUT, false, false, true, VK_DELETE, 0},
{TEXT("SCI_COPY"), SCI_COPY, true, false, false, VK_C, IDM_EDIT_COPY},
{TEXT(""), SCI_COPY, true, false, false, VK_INSERT, 0},

View File

@ -1569,7 +1569,7 @@ int FindReplaceDlg::processRange(ProcessOperation op, const TCHAR *txt2find, con
case ProcessMarkAll_2:
{
(*_ppEditView)->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_FOUND_STYLE_2);
(*_ppEditView)->execute(SCI_SETINDICATORCURRENT, SCE_UNIVERSAL_FOUND_STYLE_SMART);
(*_ppEditView)->execute(SCI_INDICATORFILLRANGE, targetStart, foundTextLen);
break;
}

View File

@ -206,7 +206,7 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere)
execute(SCI_SETSCROLLWIDTH, 1); //default empty document: override default width of 2000
// smart hilighting
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE_2, INDIC_ROUNDBOX);
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE_SMART, INDIC_ROUNDBOX);
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE, INDIC_ROUNDBOX);
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE_INC, INDIC_ROUNDBOX);
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_TAGMATCH, INDIC_ROUNDBOX);
@ -217,7 +217,7 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere)
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE_EXT4, INDIC_ROUNDBOX);
execute(SCI_INDICSETSTYLE, SCE_UNIVERSAL_FOUND_STYLE_EXT5, INDIC_ROUNDBOX);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE_2, 100);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE_SMART, 100);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE, 100);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE_INC, 100);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_TAGMATCH, 100);
@ -228,7 +228,7 @@ void ScintillaEditView::init(HINSTANCE hInst, HWND hPere)
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE_EXT4, 100);
execute(SCI_INDICSETALPHA, SCE_UNIVERSAL_FOUND_STYLE_EXT5, 100);
execute(SCI_INDICSETUNDER, SCE_UNIVERSAL_FOUND_STYLE_2, true);
execute(SCI_INDICSETUNDER, SCE_UNIVERSAL_FOUND_STYLE_SMART, true);
execute(SCI_INDICSETUNDER, SCE_UNIVERSAL_FOUND_STYLE, true);
execute(SCI_INDICSETUNDER, SCE_UNIVERSAL_FOUND_STYLE_INC, true);
execute(SCI_INDICSETUNDER, SCE_UNIVERSAL_TAGMATCH, true);
@ -993,10 +993,10 @@ void ScintillaEditView::defineDocType(LangType typeDoc)
}
setSpecialIndicator(*pStyle);
defaultIndicatorStyle._styleID = SCE_UNIVERSAL_FOUND_STYLE_2;
defaultIndicatorStyle._styleID = SCE_UNIVERSAL_FOUND_STYLE_SMART;
defaultIndicatorStyle._bgColor = liteGreen;
pStyle = &defaultIndicatorStyle;
iFind = stylers.getStylerIndexByID(SCE_UNIVERSAL_FOUND_STYLE_2);
iFind = stylers.getStylerIndexByID(SCE_UNIVERSAL_FOUND_STYLE_SMART);
if (iFind != -1)
{
pStyle = &(stylers.getStyler(iFind));

View File

@ -34,7 +34,7 @@ void SmartHighlighter::highlightView(ScintillaEditView * pHighlightView)
CharacterRange range = pHighlightView->getSelection();
//Clear marks
pHighlightView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_2);
pHighlightView->clearIndicator(SCE_UNIVERSAL_FOUND_STYLE_SMART);
//If nothing selected, dont mark anything
if (range.cpMin == range.cpMax)

View File

@ -18,302 +18,320 @@
#ifndef MENUCMDID_H
#define MENUCMDID_H
#define IDM 40000
#define IDM 40000
#define IDM_FILE (IDM + 1000)
#define IDM_FILE_NEW (IDM_FILE + 1)
#define IDM_FILE_OPEN (IDM_FILE + 2)
#define IDM_FILE_CLOSE (IDM_FILE + 3)
#define IDM_FILE_CLOSEALL (IDM_FILE + 4)
#define IDM_FILE_CLOSEALL_BUT_CURRENT (IDM_FILE + 5)
#define IDM_FILE_SAVE (IDM_FILE + 6)
#define IDM_FILE_SAVEALL (IDM_FILE + 7)
#define IDM_FILE_SAVEAS (IDM_FILE + 8)
#define IDM_FILE_ASIAN_LANG (IDM_FILE + 9)
#define IDM_FILE_PRINT (IDM_FILE + 10)
#define IDM_FILE_PRINTNOW 1001
#define IDM_FILE_EXIT (IDM_FILE + 11)
#define IDM_FILE_LOADSESSION (IDM_FILE + 12)
#define IDM_FILE_SAVESESSION (IDM_FILE + 13)
#define IDM_FILE_RELOAD (IDM_FILE + 14)
#define IDM_FILE_SAVECOPYAS (IDM_FILE + 15)
#define IDM_FILE_DELETE (IDM_FILE + 16)
#define IDM_FILE_RENAME (IDM_FILE + 17)
#define IDM_FILE (IDM + 1000)
#define IDM_FILE_NEW (IDM_FILE + 1)
#define IDM_FILE_OPEN (IDM_FILE + 2)
#define IDM_FILE_CLOSE (IDM_FILE + 3)
#define IDM_FILE_CLOSEALL (IDM_FILE + 4)
#define IDM_FILE_CLOSEALL_BUT_CURRENT (IDM_FILE + 5)
#define IDM_FILE_SAVE (IDM_FILE + 6)
#define IDM_FILE_SAVEALL (IDM_FILE + 7)
#define IDM_FILE_SAVEAS (IDM_FILE + 8)
#define IDM_FILE_ASIAN_LANG (IDM_FILE + 9)
#define IDM_FILE_PRINT (IDM_FILE + 10)
#define IDM_FILE_PRINTNOW 1001
#define IDM_FILE_EXIT (IDM_FILE + 11)
#define IDM_FILE_LOADSESSION (IDM_FILE + 12)
#define IDM_FILE_SAVESESSION (IDM_FILE + 13)
#define IDM_FILE_RELOAD (IDM_FILE + 14)
#define IDM_FILE_SAVECOPYAS (IDM_FILE + 15)
#define IDM_FILE_DELETE (IDM_FILE + 16)
#define IDM_FILE_RENAME (IDM_FILE + 17)
// A mettre à jour si on ajoute nouveau menu item dans le menu "File"
#define IDM_FILEMENU_LASTONE IDM_FILE_RENAME
#define IDM_FILEMENU_LASTONE IDM_FILE_RENAME
#define IDM_EDIT (IDM + 2000)
#define IDM_EDIT_CUT (IDM_EDIT + 1)
#define IDM_EDIT_COPY (IDM_EDIT + 2)
#define IDM_EDIT_UNDO (IDM_EDIT + 3)
#define IDM_EDIT_REDO (IDM_EDIT + 4)
#define IDM_EDIT_PASTE (IDM_EDIT + 5)
#define IDM_EDIT_DELETE (IDM_EDIT + 6)
#define IDM_EDIT_SELECTALL (IDM_EDIT + 7)
#define IDM_EDIT (IDM + 2000)
#define IDM_EDIT_CUT (IDM_EDIT + 1)
#define IDM_EDIT_COPY (IDM_EDIT + 2)
#define IDM_EDIT_UNDO (IDM_EDIT + 3)
#define IDM_EDIT_REDO (IDM_EDIT + 4)
#define IDM_EDIT_PASTE (IDM_EDIT + 5)
#define IDM_EDIT_DELETE (IDM_EDIT + 6)
#define IDM_EDIT_SELECTALL (IDM_EDIT + 7)
#define IDM_EDIT_INS_TAB (IDM_EDIT + 8)
#define IDM_EDIT_RMV_TAB (IDM_EDIT + 9)
#define IDM_EDIT_DUP_LINE (IDM_EDIT + 10)
#define IDM_EDIT_TRANSPOSE_LINE (IDM_EDIT + 11)
#define IDM_EDIT_SPLIT_LINES (IDM_EDIT + 12)
#define IDM_EDIT_JOIN_LINES (IDM_EDIT + 13)
#define IDM_EDIT_LINE_UP (IDM_EDIT + 14)
#define IDM_EDIT_LINE_DOWN (IDM_EDIT + 15)
#define IDM_EDIT_UPPERCASE (IDM_EDIT + 16)
#define IDM_EDIT_LOWERCASE (IDM_EDIT + 17)
#define IDM_EDIT_BLOCK_COMMENT (IDM_EDIT + 22)
#define IDM_EDIT_STREAM_COMMENT (IDM_EDIT + 23)
#define IDM_EDIT_TRIMTRAILING (IDM_EDIT + 24)
#define IDM_EDIT_RTL (IDM_EDIT+26)
#define IDM_EDIT_LTR (IDM_EDIT+27)
#define IDM_EDIT_SETREADONLY (IDM_EDIT+28)
#define IDM_EDIT_FULLPATHTOCLIP (IDM_EDIT+29)
#define IDM_EDIT_FILENAMETOCLIP (IDM_EDIT+30)
#define IDM_EDIT_CURRENTDIRTOCLIP (IDM_EDIT+31)
#define IDM_EDIT_CLEARREADONLY (IDM_EDIT+33)
#define IDM_EDIT_COLUMNMODE (IDM_EDIT+34)
#define IDM_EDIT_BLOCK_COMMENT_SET (IDM_EDIT+35)
#define IDM_EDIT_BLOCK_UNCOMMENT (IDM_EDIT+36)
#define IDM_EDIT_AUTOCOMPLETE (50000+0)
#define IDM_EDIT_AUTOCOMPLETE_CURRENTFILE (50000+1)
#define IDM_EDIT_FUNCCALLTIP (50000+2)
//Belong to MENU FILE
#define IDM_OPEN_ALL_RECENT_FILE (IDM_EDIT + 40)
#define IDM_CLEAN_RECENT_FILE_LIST (IDM_EDIT + 41)
#define IDM_SEARCH (IDM + 3000)
#define IDM_SEARCH_FIND (IDM_SEARCH + 1)
#define IDM_SEARCH_FINDNEXT (IDM_SEARCH + 2)
#define IDM_SEARCH_REPLACE (IDM_SEARCH + 3)
#define IDM_SEARCH_GOTOLINE (IDM_SEARCH + 4)
#define IDM_SEARCH_TOGGLE_BOOKMARK (IDM_SEARCH + 5)
#define IDM_SEARCH_NEXT_BOOKMARK (IDM_SEARCH + 6)
#define IDM_SEARCH_PREV_BOOKMARK (IDM_SEARCH + 7)
#define IDM_SEARCH_CLEAR_BOOKMARKS (IDM_SEARCH + 8)
#define IDM_SEARCH_GOTOMATCHINGBRACE (IDM_SEARCH + 9)
#define IDM_SEARCH_FINDPREV (IDM_SEARCH + 10)
#define IDM_SEARCH_FINDINCREMENT (IDM_SEARCH + 11)
#define IDM_SEARCH_FINDINFILES (IDM_SEARCH + 13)
#define IDM_SEARCH_VOLATILE_FINDNEXT (IDM_SEARCH + 14)
#define IDM_SEARCH_VOLATILE_FINDPREV (IDM_SEARCH + 15)
#define IDM_SEARCH_CUTMARKEDLINES (IDM_SEARCH + 18)
#define IDM_SEARCH_COPYMARKEDLINES (IDM_SEARCH + 19)
#define IDM_SEARCH_PASTEMARKEDLINES (IDM_SEARCH + 20)
#define IDM_SEARCH_DELETEMARKEDLINES (IDM_SEARCH + 21)
#define IDM_SEARCH_MARKALLEXT1 (IDM_SEARCH + 22)
#define IDM_SEARCH_UNMARKALLEXT1 (IDM_SEARCH + 23)
#define IDM_SEARCH_MARKALLEXT2 (IDM_SEARCH + 24)
#define IDM_SEARCH_UNMARKALLEXT2 (IDM_SEARCH + 25)
#define IDM_SEARCH_MARKALLEXT3 (IDM_SEARCH + 26)
#define IDM_SEARCH_UNMARKALLEXT3 (IDM_SEARCH + 27)
#define IDM_SEARCH_MARKALLEXT4 (IDM_SEARCH + 28)
#define IDM_SEARCH_UNMARKALLEXT4 (IDM_SEARCH + 29)
#define IDM_SEARCH_MARKALLEXT5 (IDM_SEARCH + 30)
#define IDM_SEARCH_UNMARKALLEXT5 (IDM_SEARCH + 31)
#define IDM_SEARCH_CLEARALLMARKS (IDM_SEARCH + 32)
#define IDM_VIEW (IDM + 4000)
//#define IDM_VIEW_TOOLBAR_HIDE (IDM_VIEW + 1)
#define IDM_VIEW_TOOLBAR_REDUCE (IDM_VIEW + 2)
#define IDM_VIEW_TOOLBAR_ENLARGE (IDM_VIEW + 3)
#define IDM_VIEW_TOOLBAR_STANDARD (IDM_VIEW + 4)
#define IDM_VIEW_REDUCETABBAR (IDM_VIEW + 5)
#define IDM_VIEW_LOCKTABBAR (IDM_VIEW + 6)
#define IDM_VIEW_DRAWTABBAR_TOPBAR (IDM_VIEW + 7)
#define IDM_VIEW_DRAWTABBAR_INACIVETAB (IDM_VIEW + 8)
#define IDM_VIEW_POSTIT (IDM_VIEW + 9)
#define IDM_VIEW_TOGGLE_FOLDALL (IDM_VIEW + 10)
#define IDM_VIEW_USER_DLG (IDM_VIEW + 11)
#define IDM_VIEW_LINENUMBER (IDM_VIEW + 12)
#define IDM_VIEW_SYMBOLMARGIN (IDM_VIEW + 13)
#define IDM_VIEW_FOLDERMAGIN (IDM_VIEW + 14)
#define IDM_VIEW_FOLDERMAGIN_SIMPLE (IDM_VIEW + 15)
#define IDM_VIEW_FOLDERMAGIN_ARROW (IDM_VIEW + 16)
#define IDM_VIEW_FOLDERMAGIN_CIRCLE (IDM_VIEW + 17)
#define IDM_VIEW_FOLDERMAGIN_BOX (IDM_VIEW + 18)
#define IDM_VIEW_ALL_CHARACTERS (IDM_VIEW + 19)
#define IDM_VIEW_INDENT_GUIDE (IDM_VIEW + 20)
#define IDM_VIEW_CURLINE_HILITING (IDM_VIEW + 21)
#define IDM_VIEW_WRAP (IDM_VIEW + 22)
#define IDM_VIEW_ZOOMIN (IDM_VIEW + 23)
#define IDM_VIEW_ZOOMOUT (IDM_VIEW + 24)
#define IDM_VIEW_TAB_SPACE (IDM_VIEW + 25)
#define IDM_VIEW_EOL (IDM_VIEW + 26)
#define IDM_VIEW_EDGELINE (IDM_VIEW + 27)
#define IDM_VIEW_EDGEBACKGROUND (IDM_VIEW + 28)
#define IDM_VIEW_TOGGLE_UNFOLDALL (IDM_VIEW + 29)
#define IDM_VIEW_FOLD_CURRENT (IDM_VIEW + 30)
#define IDM_VIEW_UNFOLD_CURRENT (IDM_VIEW + 31)
#define IDM_VIEW_FULLSCREENTOGGLE (IDM_VIEW + 32)
#define IDM_VIEW_ZOOMRESTORE (IDM_VIEW + 33)
#define IDM_VIEW_ALWAYSONTOP (IDM_VIEW + 34)
#define IDM_VIEW_SYNSCROLLV (IDM_VIEW + 35)
#define IDM_VIEW_SYNSCROLLH (IDM_VIEW + 36)
#define IDM_VIEW_EDGENONE (IDM_VIEW + 37)
#define IDM_VIEW_DRAWTABBAR_CLOSEBOTTUN (IDM_VIEW + 38)
#define IDM_VIEW_DRAWTABBAR_DBCLK2CLOSE (IDM_VIEW + 39)
#define IDM_VIEW_REFRESHTABAR (IDM_VIEW + 40)
#define IDM_VIEW_WRAP_SYMBOL (IDM_VIEW + 41)
#define IDM_VIEW_HIDELINES (IDM_VIEW + 42)
#define IDM_VIEW_DRAWTABBAR_VERTICAL (IDM_VIEW + 43)
#define IDM_VIEW_DRAWTABBAR_MULTILINE (IDM_VIEW + 44)
#define IDM_VIEW_DOCCHANGEMARGIN (IDM_VIEW + 45)
#define IDM_VIEW_FOLD (IDM_VIEW + 50)
#define IDM_VIEW_FOLD_1 (IDM_VIEW_FOLD + 1)
#define IDM_VIEW_FOLD_2 (IDM_VIEW_FOLD + 2)
#define IDM_VIEW_FOLD_3 (IDM_VIEW_FOLD + 3)
#define IDM_VIEW_FOLD_4 (IDM_VIEW_FOLD + 4)
#define IDM_VIEW_FOLD_5 (IDM_VIEW_FOLD + 5)
#define IDM_VIEW_FOLD_6 (IDM_VIEW_FOLD + 6)
#define IDM_VIEW_FOLD_7 (IDM_VIEW_FOLD + 7)
#define IDM_VIEW_FOLD_8 (IDM_VIEW_FOLD + 8)
#define IDM_VIEW_UNFOLD (IDM_VIEW + 60)
#define IDM_VIEW_UNFOLD_1 (IDM_VIEW_UNFOLD + 1)
#define IDM_VIEW_UNFOLD_2 (IDM_VIEW_UNFOLD + 2)
#define IDM_VIEW_UNFOLD_3 (IDM_VIEW_UNFOLD + 3)
#define IDM_VIEW_UNFOLD_4 (IDM_VIEW_UNFOLD + 4)
#define IDM_VIEW_UNFOLD_5 (IDM_VIEW_UNFOLD + 5)
#define IDM_VIEW_UNFOLD_6 (IDM_VIEW_UNFOLD + 6)
#define IDM_VIEW_UNFOLD_7 (IDM_VIEW_UNFOLD + 7)
#define IDM_VIEW_UNFOLD_8 (IDM_VIEW_UNFOLD + 8)
#define IDM_VIEW_GOTO_ANOTHER_VIEW 10001
#define IDM_VIEW_CLONE_TO_ANOTHER_VIEW 10002
#define IDM_VIEW_GOTO_NEW_INSTANCE 10003
#define IDM_VIEW_LOAD_IN_NEW_INSTANCE 10004
#define IDM_VIEW_SWITCHTO_OTHER_VIEW (IDM_VIEW + 72)
#define IDM_FORMAT (IDM + 5000)
#define IDM_FORMAT_TODOS (IDM_FORMAT + 1)
#define IDM_FORMAT_TOUNIX (IDM_FORMAT + 2)
#define IDM_FORMAT_TOMAC (IDM_FORMAT + 3)
#define IDM_FORMAT_ANSI (IDM_FORMAT + 4)
#define IDM_FORMAT_UTF_8 (IDM_FORMAT + 5)
#define IDM_FORMAT_UCS_2BE (IDM_FORMAT + 6)
#define IDM_FORMAT_UCS_2LE (IDM_FORMAT + 7)
#define IDM_FORMAT_AS_UTF_8 (IDM_FORMAT + 8)
#define IDM_FORMAT_CONV2_ANSI (IDM_FORMAT + 9)
#define IDM_FORMAT_CONV2_AS_UTF_8 (IDM_FORMAT + 10)
#define IDM_FORMAT_CONV2_UTF_8 (IDM_FORMAT + 11)
#define IDM_FORMAT_CONV2_UCS_2BE (IDM_FORMAT + 12)
#define IDM_FORMAT_CONV2_UCS_2LE (IDM_FORMAT + 13)
#define IDM_LANG (IDM + 6000)
#define IDM_LANGSTYLE_CONFIG_DLG (IDM_LANG + 1)
#define IDM_LANG_C (IDM_LANG + 2)
#define IDM_LANG_CPP (IDM_LANG + 3)
#define IDM_LANG_JAVA (IDM_LANG + 4)
#define IDM_LANG_HTML (IDM_LANG + 5)
#define IDM_LANG_XML (IDM_LANG + 6)
#define IDM_LANG_JS (IDM_LANG + 7)
#define IDM_LANG_PHP (IDM_LANG + 8)
#define IDM_LANG_ASP (IDM_LANG + 9)
#define IDM_LANG_CSS (IDM_LANG + 10)
#define IDM_LANG_PASCAL (IDM_LANG + 11)
#define IDM_LANG_PYTHON (IDM_LANG + 12)
#define IDM_LANG_PERL (IDM_LANG + 13)
#define IDM_LANG_OBJC (IDM_LANG + 14)
#define IDM_LANG_ASCII (IDM_LANG + 15)
#define IDM_LANG_TEXT (IDM_LANG + 16)
#define IDM_LANG_RC (IDM_LANG + 17)
#define IDM_LANG_MAKEFILE (IDM_LANG + 18)
#define IDM_LANG_INI (IDM_LANG + 19)
#define IDM_LANG_SQL (IDM_LANG + 20)
#define IDM_LANG_VB (IDM_LANG + 21)
#define IDM_LANG_BATCH (IDM_LANG + 22)
#define IDM_LANG_CS (IDM_LANG + 23)
#define IDM_LANG_LUA (IDM_LANG + 24)
#define IDM_LANG_TEX (IDM_LANG + 25)
#define IDM_LANG_FORTRAN (IDM_LANG + 26)
#define IDM_LANG_SH (IDM_LANG + 27)
#define IDM_LANG_FLASH (IDM_LANG + 28)
#define IDM_LANG_NSIS (IDM_LANG + 29)
#define IDM_LANG_TCL (IDM_LANG + 30)
#define IDM_LANG_LISP (IDM_LANG + 31)
#define IDM_LANG_SCHEME (IDM_LANG + 32)
#define IDM_LANG_ASM (IDM_LANG + 33)
#define IDM_LANG_DIFF (IDM_LANG + 34)
#define IDM_LANG_PROPS (IDM_LANG + 35)
#define IDM_LANG_PS (IDM_LANG + 36)
#define IDM_LANG_RUBY (IDM_LANG + 37)
#define IDM_LANG_SMALLTALK (IDM_LANG + 38)
#define IDM_LANG_VHDL (IDM_LANG + 39)
#define IDM_LANG_CAML (IDM_LANG + 40)
#define IDM_LANG_KIX (IDM_LANG + 41)
#define IDM_LANG_ADA (IDM_LANG + 42)
#define IDM_LANG_VERILOG (IDM_LANG + 43)
#define IDM_LANG_AU3 (IDM_LANG + 44)
#define IDM_LANG_MATLAB (IDM_LANG + 45)
#define IDM_LANG_HASKELL (IDM_LANG + 46)
#define IDM_LANG_INNO (IDM_LANG + 47)
#define IDM_LANG_CMAKE (IDM_LANG + 48)
#define IDM_LANG_YAML (IDM_LANG + 49)
#define IDM_LANG_COBOL (IDM_LANG + 50)
#define IDM_LANG_D (IDM_LANG + 51)
#define IDM_LANG_GUI4CLI (IDM_LANG + 52)
#define IDM_LANG_POWERSHELL (IDM_LANG + 53)
#define IDM_LANG_R (IDM_LANG + 54)
#define IDM_LANG_EXTERNAL (IDM_LANG + 65)
#define IDM_LANG_EXTERNAL_LIMIT (IDM_LANG + 79)
#define IDM_LANG_USER (IDM_LANG + 80) //46080
#define IDM_LANG_USER_LIMIT (IDM_LANG + 110) //46110
#define IDM_ABOUT (IDM + 7000)
#define IDM_HOMESWEETHOME (IDM_ABOUT + 1)
#define IDM_PROJECTPAGE (IDM_ABOUT + 2)
#define IDM_ONLINEHELP (IDM_ABOUT + 3)
#define IDM_FORUM (IDM_ABOUT + 4)
#define IDM_PLUGINSHOME (IDM_ABOUT + 5)
#define IDM_UPDATE_NPP (IDM_ABOUT + 6)
#define IDM_WIKIFAQ (IDM_ABOUT + 7)
#define IDM_HELP (IDM_ABOUT + 8)
#define IDM_SETTING (IDM + 8000)
#define IDM_SETTING_TAB_SIZE (IDM_SETTING + 1)
#define IDM_SETTING_TAB_REPLCESPACE (IDM_SETTING + 2)
#define IDM_SETTING_HISTORY_SIZE (IDM_SETTING + 3)
#define IDM_SETTING_EDGE_SIZE (IDM_SETTING + 4)
#define IDM_SETTING_IMPORTPLUGIN (IDM_SETTING + 5)
#define IDM_SETTING_IMPORTSTYLETHEMS (IDM_SETTING + 6)
#define IDM_SETTING_TRAYICON (IDM_SETTING + 8)
#define IDM_SETTING_SHORTCUT_MAPPER (IDM_SETTING + 9)
#define IDM_SETTING_REMEMBER_LAST_SESSION (IDM_SETTING + 10)
#define IDM_SETTING_PREFERECE (IDM_SETTING + 11)
#define IDM_SETTING_AUTOCNBCHAR (IDM_SETTING + 15)
#define IDM_EDIT_INS_TAB (IDM_EDIT + 8)
#define IDM_EDIT_RMV_TAB (IDM_EDIT + 9)
#define IDM_EDIT_DUP_LINE (IDM_EDIT + 10)
#define IDM_EDIT_TRANSPOSE_LINE (IDM_EDIT + 11)
#define IDM_EDIT_SPLIT_LINES (IDM_EDIT + 12)
#define IDM_EDIT_JOIN_LINES (IDM_EDIT + 13)
#define IDM_EDIT_LINE_UP (IDM_EDIT + 14)
#define IDM_EDIT_LINE_DOWN (IDM_EDIT + 15)
#define IDM_EDIT_UPPERCASE (IDM_EDIT + 16)
#define IDM_EDIT_LOWERCASE (IDM_EDIT + 17)
// Menu macro
#define IDM_MACRO_STARTRECORDINGMACRO (IDM_EDIT + 18)
#define IDM_MACRO_STOPRECORDINGMACRO (IDM_EDIT + 19)
#define IDM_MACRO_PLAYBACKRECORDEDMACRO (IDM_EDIT + 21)
#define IDM_MACRO_SAVECURRENTMACRO (IDM_EDIT + 25)
#define IDM_MACRO_RUNMULTIMACRODLG (IDM_EDIT+32)
#define IDM_MACRO_STARTRECORDINGMACRO (IDM_EDIT + 18)
#define IDM_MACRO_STOPRECORDINGMACRO (IDM_EDIT + 19)
#define IDM_MACRO_PLAYBACKRECORDEDMACRO (IDM_EDIT + 21)
//-----------
#define IDM_EXECUTE (IDM + 9000)
#define IDM_EDIT_BLOCK_COMMENT (IDM_EDIT + 22)
#define IDM_EDIT_STREAM_COMMENT (IDM_EDIT + 23)
#define IDM_EDIT_TRIMTRAILING (IDM_EDIT + 24)
#define IDM_POPUP (IDM + 3050)
#define IDM_POPUP_FILE_ACTIVATE_OR_NEW (IDM_POPUP + 1)
#define IDM_POPUP_FILE_NEW (IDM_POPUP + 2)
#define IDM_POPUP_FILE_NEW_AND_PASTE (IDM_POPUP + 3)
#define IDM_POPUP_FILE_OPEN (IDM_POPUP + 4)
#define IDM_POPUP_CLOSE (IDM_POPUP + 5)
// Menu macro
#define IDM_MACRO_SAVECURRENTMACRO (IDM_EDIT + 25)
//-----------
#define IDM_EDIT_RTL (IDM_EDIT + 26)
#define IDM_EDIT_LTR (IDM_EDIT + 27)
#define IDM_EDIT_SETREADONLY (IDM_EDIT + 28)
#define IDM_EDIT_FULLPATHTOCLIP (IDM_EDIT + 29)
#define IDM_EDIT_FILENAMETOCLIP (IDM_EDIT + 30)
#define IDM_EDIT_CURRENTDIRTOCLIP (IDM_EDIT + 31)
// Menu macro
#define IDM_MACRO_RUNMULTIMACRODLG (IDM_EDIT + 32)
//-----------
#define IDM_EDIT_CLEARREADONLY (IDM_EDIT + 33)
#define IDM_EDIT_COLUMNMODE (IDM_EDIT + 34)
#define IDM_EDIT_BLOCK_COMMENT_SET (IDM_EDIT + 35)
#define IDM_EDIT_BLOCK_UNCOMMENT (IDM_EDIT + 36)
#define IDM_EDIT_AUTOCOMPLETE (50000 + 0)
#define IDM_EDIT_AUTOCOMPLETE_CURRENTFILE (50000 + 1)
#define IDM_EDIT_FUNCCALLTIP (50000 + 2)
//Belong to MENU FILE
#define IDM_OPEN_ALL_RECENT_FILE (IDM_EDIT + 40)
#define IDM_CLEAN_RECENT_FILE_LIST (IDM_EDIT + 41)
#define IDM_SEARCH (IDM + 3000)
#define IDM_SEARCH_FIND (IDM_SEARCH + 1)
#define IDM_SEARCH_FINDNEXT (IDM_SEARCH + 2)
#define IDM_SEARCH_REPLACE (IDM_SEARCH + 3)
#define IDM_SEARCH_GOTOLINE (IDM_SEARCH + 4)
#define IDM_SEARCH_TOGGLE_BOOKMARK (IDM_SEARCH + 5)
#define IDM_SEARCH_NEXT_BOOKMARK (IDM_SEARCH + 6)
#define IDM_SEARCH_PREV_BOOKMARK (IDM_SEARCH + 7)
#define IDM_SEARCH_CLEAR_BOOKMARKS (IDM_SEARCH + 8)
#define IDM_SEARCH_GOTOMATCHINGBRACE (IDM_SEARCH + 9)
#define IDM_SEARCH_FINDPREV (IDM_SEARCH + 10)
#define IDM_SEARCH_FINDINCREMENT (IDM_SEARCH + 11)
#define IDM_SEARCH_FINDINFILES (IDM_SEARCH + 13)
#define IDM_SEARCH_VOLATILE_FINDNEXT (IDM_SEARCH + 14)
#define IDM_SEARCH_VOLATILE_FINDPREV (IDM_SEARCH + 15)
#define IDM_SEARCH_CUTMARKEDLINES (IDM_SEARCH + 18)
#define IDM_SEARCH_COPYMARKEDLINES (IDM_SEARCH + 19)
#define IDM_SEARCH_PASTEMARKEDLINES (IDM_SEARCH + 20)
#define IDM_SEARCH_DELETEMARKEDLINES (IDM_SEARCH + 21)
#define IDM_SEARCH_MARKALLEXT1 (IDM_SEARCH + 22)
#define IDM_SEARCH_UNMARKALLEXT1 (IDM_SEARCH + 23)
#define IDM_SEARCH_MARKALLEXT2 (IDM_SEARCH + 24)
#define IDM_SEARCH_UNMARKALLEXT2 (IDM_SEARCH + 25)
#define IDM_SEARCH_MARKALLEXT3 (IDM_SEARCH + 26)
#define IDM_SEARCH_UNMARKALLEXT3 (IDM_SEARCH + 27)
#define IDM_SEARCH_MARKALLEXT4 (IDM_SEARCH + 28)
#define IDM_SEARCH_UNMARKALLEXT4 (IDM_SEARCH + 29)
#define IDM_SEARCH_MARKALLEXT5 (IDM_SEARCH + 30)
#define IDM_SEARCH_UNMARKALLEXT5 (IDM_SEARCH + 31)
#define IDM_SEARCH_CLEARALLMARKS (IDM_SEARCH + 32)
#define IDM_SEARCH_GOPREVMARKER1 (IDM_SEARCH + 33)
#define IDM_SEARCH_GOPREVMARKER2 (IDM_SEARCH + 34)
#define IDM_SEARCH_GOPREVMARKER3 (IDM_SEARCH + 35)
#define IDM_SEARCH_GOPREVMARKER4 (IDM_SEARCH + 36)
#define IDM_SEARCH_GOPREVMARKER5 (IDM_SEARCH + 37)
#define IDM_SEARCH_GOPREVMARKER_DEF (IDM_SEARCH + 38)
#define IDM_SEARCH_GONEXTMARKER1 (IDM_SEARCH + 39)
#define IDM_SEARCH_GONEXTMARKER2 (IDM_SEARCH + 40)
#define IDM_SEARCH_GONEXTMARKER3 (IDM_SEARCH + 41)
#define IDM_SEARCH_GONEXTMARKER4 (IDM_SEARCH + 42)
#define IDM_SEARCH_GONEXTMARKER5 (IDM_SEARCH + 43)
#define IDM_SEARCH_GONEXTMARKER_DEF (IDM_SEARCH + 44)
#define IDM_VIEW (IDM + 4000)
//#define IDM_VIEW_TOOLBAR_HIDE (IDM_VIEW + 1)
#define IDM_VIEW_TOOLBAR_REDUCE (IDM_VIEW + 2)
#define IDM_VIEW_TOOLBAR_ENLARGE (IDM_VIEW + 3)
#define IDM_VIEW_TOOLBAR_STANDARD (IDM_VIEW + 4)
#define IDM_VIEW_REDUCETABBAR (IDM_VIEW + 5)
#define IDM_VIEW_LOCKTABBAR (IDM_VIEW + 6)
#define IDM_VIEW_DRAWTABBAR_TOPBAR (IDM_VIEW + 7)
#define IDM_VIEW_DRAWTABBAR_INACIVETAB (IDM_VIEW + 8)
#define IDM_VIEW_POSTIT (IDM_VIEW + 9)
#define IDM_VIEW_TOGGLE_FOLDALL (IDM_VIEW + 10)
#define IDM_VIEW_USER_DLG (IDM_VIEW + 11)
#define IDM_VIEW_LINENUMBER (IDM_VIEW + 12)
#define IDM_VIEW_SYMBOLMARGIN (IDM_VIEW + 13)
#define IDM_VIEW_FOLDERMAGIN (IDM_VIEW + 14)
#define IDM_VIEW_FOLDERMAGIN_SIMPLE (IDM_VIEW + 15)
#define IDM_VIEW_FOLDERMAGIN_ARROW (IDM_VIEW + 16)
#define IDM_VIEW_FOLDERMAGIN_CIRCLE (IDM_VIEW + 17)
#define IDM_VIEW_FOLDERMAGIN_BOX (IDM_VIEW + 18)
#define IDM_VIEW_ALL_CHARACTERS (IDM_VIEW + 19)
#define IDM_VIEW_INDENT_GUIDE (IDM_VIEW + 20)
#define IDM_VIEW_CURLINE_HILITING (IDM_VIEW + 21)
#define IDM_VIEW_WRAP (IDM_VIEW + 22)
#define IDM_VIEW_ZOOMIN (IDM_VIEW + 23)
#define IDM_VIEW_ZOOMOUT (IDM_VIEW + 24)
#define IDM_VIEW_TAB_SPACE (IDM_VIEW + 25)
#define IDM_VIEW_EOL (IDM_VIEW + 26)
#define IDM_VIEW_EDGELINE (IDM_VIEW + 27)
#define IDM_VIEW_EDGEBACKGROUND (IDM_VIEW + 28)
#define IDM_VIEW_TOGGLE_UNFOLDALL (IDM_VIEW + 29)
#define IDM_VIEW_FOLD_CURRENT (IDM_VIEW + 30)
#define IDM_VIEW_UNFOLD_CURRENT (IDM_VIEW + 31)
#define IDM_VIEW_FULLSCREENTOGGLE (IDM_VIEW + 32)
#define IDM_VIEW_ZOOMRESTORE (IDM_VIEW + 33)
#define IDM_VIEW_ALWAYSONTOP (IDM_VIEW + 34)
#define IDM_VIEW_SYNSCROLLV (IDM_VIEW + 35)
#define IDM_VIEW_SYNSCROLLH (IDM_VIEW + 36)
#define IDM_VIEW_EDGENONE (IDM_VIEW + 37)
#define IDM_VIEW_DRAWTABBAR_CLOSEBOTTUN (IDM_VIEW + 38)
#define IDM_VIEW_DRAWTABBAR_DBCLK2CLOSE (IDM_VIEW + 39)
#define IDM_VIEW_REFRESHTABAR (IDM_VIEW + 40)
#define IDM_VIEW_WRAP_SYMBOL (IDM_VIEW + 41)
#define IDM_VIEW_HIDELINES (IDM_VIEW + 42)
#define IDM_VIEW_DRAWTABBAR_VERTICAL (IDM_VIEW + 43)
#define IDM_VIEW_DRAWTABBAR_MULTILINE (IDM_VIEW + 44)
#define IDM_VIEW_DOCCHANGEMARGIN (IDM_VIEW + 45)
#define IDM_VIEW_FOLD (IDM_VIEW + 50)
#define IDM_VIEW_FOLD_1 (IDM_VIEW_FOLD + 1)
#define IDM_VIEW_FOLD_2 (IDM_VIEW_FOLD + 2)
#define IDM_VIEW_FOLD_3 (IDM_VIEW_FOLD + 3)
#define IDM_VIEW_FOLD_4 (IDM_VIEW_FOLD + 4)
#define IDM_VIEW_FOLD_5 (IDM_VIEW_FOLD + 5)
#define IDM_VIEW_FOLD_6 (IDM_VIEW_FOLD + 6)
#define IDM_VIEW_FOLD_7 (IDM_VIEW_FOLD + 7)
#define IDM_VIEW_FOLD_8 (IDM_VIEW_FOLD + 8)
#define IDM_VIEW_UNFOLD (IDM_VIEW + 60)
#define IDM_VIEW_UNFOLD_1 (IDM_VIEW_UNFOLD + 1)
#define IDM_VIEW_UNFOLD_2 (IDM_VIEW_UNFOLD + 2)
#define IDM_VIEW_UNFOLD_3 (IDM_VIEW_UNFOLD + 3)
#define IDM_VIEW_UNFOLD_4 (IDM_VIEW_UNFOLD + 4)
#define IDM_VIEW_UNFOLD_5 (IDM_VIEW_UNFOLD + 5)
#define IDM_VIEW_UNFOLD_6 (IDM_VIEW_UNFOLD + 6)
#define IDM_VIEW_UNFOLD_7 (IDM_VIEW_UNFOLD + 7)
#define IDM_VIEW_UNFOLD_8 (IDM_VIEW_UNFOLD + 8)
#define IDM_VIEW_GOTO_ANOTHER_VIEW 10001
#define IDM_VIEW_CLONE_TO_ANOTHER_VIEW 10002
#define IDM_VIEW_GOTO_NEW_INSTANCE 10003
#define IDM_VIEW_LOAD_IN_NEW_INSTANCE 10004
#define IDM_VIEW_SWITCHTO_OTHER_VIEW (IDM_VIEW + 72)
#define IDM_FORMAT (IDM + 5000)
#define IDM_FORMAT_TODOS (IDM_FORMAT + 1)
#define IDM_FORMAT_TOUNIX (IDM_FORMAT + 2)
#define IDM_FORMAT_TOMAC (IDM_FORMAT + 3)
#define IDM_FORMAT_ANSI (IDM_FORMAT + 4)
#define IDM_FORMAT_UTF_8 (IDM_FORMAT + 5)
#define IDM_FORMAT_UCS_2BE (IDM_FORMAT + 6)
#define IDM_FORMAT_UCS_2LE (IDM_FORMAT + 7)
#define IDM_FORMAT_AS_UTF_8 (IDM_FORMAT + 8)
#define IDM_FORMAT_CONV2_ANSI (IDM_FORMAT + 9)
#define IDM_FORMAT_CONV2_AS_UTF_8 (IDM_FORMAT + 10)
#define IDM_FORMAT_CONV2_UTF_8 (IDM_FORMAT + 11)
#define IDM_FORMAT_CONV2_UCS_2BE (IDM_FORMAT + 12)
#define IDM_FORMAT_CONV2_UCS_2LE (IDM_FORMAT + 13)
#define IDM_LANG (IDM + 6000)
#define IDM_LANGSTYLE_CONFIG_DLG (IDM_LANG + 1)
#define IDM_LANG_C (IDM_LANG + 2)
#define IDM_LANG_CPP (IDM_LANG + 3)
#define IDM_LANG_JAVA (IDM_LANG + 4)
#define IDM_LANG_HTML (IDM_LANG + 5)
#define IDM_LANG_XML (IDM_LANG + 6)
#define IDM_LANG_JS (IDM_LANG + 7)
#define IDM_LANG_PHP (IDM_LANG + 8)
#define IDM_LANG_ASP (IDM_LANG + 9)
#define IDM_LANG_CSS (IDM_LANG + 10)
#define IDM_LANG_PASCAL (IDM_LANG + 11)
#define IDM_LANG_PYTHON (IDM_LANG + 12)
#define IDM_LANG_PERL (IDM_LANG + 13)
#define IDM_LANG_OBJC (IDM_LANG + 14)
#define IDM_LANG_ASCII (IDM_LANG + 15)
#define IDM_LANG_TEXT (IDM_LANG + 16)
#define IDM_LANG_RC (IDM_LANG + 17)
#define IDM_LANG_MAKEFILE (IDM_LANG + 18)
#define IDM_LANG_INI (IDM_LANG + 19)
#define IDM_LANG_SQL (IDM_LANG + 20)
#define IDM_LANG_VB (IDM_LANG + 21)
#define IDM_LANG_BATCH (IDM_LANG + 22)
#define IDM_LANG_CS (IDM_LANG + 23)
#define IDM_LANG_LUA (IDM_LANG + 24)
#define IDM_LANG_TEX (IDM_LANG + 25)
#define IDM_LANG_FORTRAN (IDM_LANG + 26)
#define IDM_LANG_SH (IDM_LANG + 27)
#define IDM_LANG_FLASH (IDM_LANG + 28)
#define IDM_LANG_NSIS (IDM_LANG + 29)
#define IDM_LANG_TCL (IDM_LANG + 30)
#define IDM_LANG_LISP (IDM_LANG + 31)
#define IDM_LANG_SCHEME (IDM_LANG + 32)
#define IDM_LANG_ASM (IDM_LANG + 33)
#define IDM_LANG_DIFF (IDM_LANG + 34)
#define IDM_LANG_PROPS (IDM_LANG + 35)
#define IDM_LANG_PS (IDM_LANG + 36)
#define IDM_LANG_RUBY (IDM_LANG + 37)
#define IDM_LANG_SMALLTALK (IDM_LANG + 38)
#define IDM_LANG_VHDL (IDM_LANG + 39)
#define IDM_LANG_CAML (IDM_LANG + 40)
#define IDM_LANG_KIX (IDM_LANG + 41)
#define IDM_LANG_ADA (IDM_LANG + 42)
#define IDM_LANG_VERILOG (IDM_LANG + 43)
#define IDM_LANG_AU3 (IDM_LANG + 44)
#define IDM_LANG_MATLAB (IDM_LANG + 45)
#define IDM_LANG_HASKELL (IDM_LANG + 46)
#define IDM_LANG_INNO (IDM_LANG + 47)
#define IDM_LANG_CMAKE (IDM_LANG + 48)
#define IDM_LANG_YAML (IDM_LANG + 49)
#define IDM_LANG_COBOL (IDM_LANG + 50)
#define IDM_LANG_D (IDM_LANG + 51)
#define IDM_LANG_GUI4CLI (IDM_LANG + 52)
#define IDM_LANG_POWERSHELL (IDM_LANG + 53)
#define IDM_LANG_R (IDM_LANG + 54)
#define IDM_LANG_EXTERNAL (IDM_LANG + 65)
#define IDM_LANG_EXTERNAL_LIMIT (IDM_LANG + 79)
#define IDM_LANG_USER (IDM_LANG + 80) //46080
#define IDM_LANG_USER_LIMIT (IDM_LANG + 110) //46110
#define IDM_ABOUT (IDM + 7000)
#define IDM_HOMESWEETHOME (IDM_ABOUT + 1)
#define IDM_PROJECTPAGE (IDM_ABOUT + 2)
#define IDM_ONLINEHELP (IDM_ABOUT + 3)
#define IDM_FORUM (IDM_ABOUT + 4)
#define IDM_PLUGINSHOME (IDM_ABOUT + 5)
#define IDM_UPDATE_NPP (IDM_ABOUT + 6)
#define IDM_WIKIFAQ (IDM_ABOUT + 7)
#define IDM_HELP (IDM_ABOUT + 8)
#define IDM_SETTING (IDM + 8000)
#define IDM_SETTING_TAB_SIZE (IDM_SETTING + 1)
#define IDM_SETTING_TAB_REPLCESPACE (IDM_SETTING + 2)
#define IDM_SETTING_HISTORY_SIZE (IDM_SETTING + 3)
#define IDM_SETTING_EDGE_SIZE (IDM_SETTING + 4)
#define IDM_SETTING_IMPORTPLUGIN (IDM_SETTING + 5)
#define IDM_SETTING_IMPORTSTYLETHEMS (IDM_SETTING + 6)
#define IDM_SETTING_TRAYICON (IDM_SETTING + 8)
#define IDM_SETTING_SHORTCUT_MAPPER (IDM_SETTING + 9)
#define IDM_SETTING_REMEMBER_LAST_SESSION (IDM_SETTING + 10)
#define IDM_SETTING_PREFERECE (IDM_SETTING + 11)
#define IDM_SETTING_AUTOCNBCHAR (IDM_SETTING + 15)
#define IDM_EXECUTE (IDM + 9000)
#define IDM_SYSTRAYPOPUP (IDM + 3100)
#define IDM_SYSTRAYPOPUP_ACTIVATE (IDM_SYSTRAYPOPUP + 1)
#define IDM_SYSTRAYPOPUP_NEWDOC (IDM_SYSTRAYPOPUP + 2)
#define IDM_SYSTRAYPOPUP_NEW_AND_PASTE (IDM_SYSTRAYPOPUP + 3)
#define IDM_SYSTRAYPOPUP_OPENFILE (IDM_SYSTRAYPOPUP + 4)
#define IDM_SYSTRAYPOPUP_CLOSE (IDM_SYSTRAYPOPUP + 5)
#endif //MENUCMDID_H

View File

@ -230,7 +230,7 @@
#define IDR_M30_MENU 1500
#define IDR_POPUP_MENU 1501
#define IDR_SYSTRAYPOPUP_MENU 1501
// #define IDD_FIND_REPLACE_DLG 1600

View File

@ -119,7 +119,7 @@
//For All lexer
#define SCE_UNIVERSAL_FOUND_STYLE 31
#define SCE_UNIVERSAL_FOUND_STYLE_2 29
#define SCE_UNIVERSAL_FOUND_STYLE_SMART 29
#define SCE_UNIVERSAL_FOUND_STYLE_INC 28
#define SCE_UNIVERSAL_TAGMATCH 27
#define SCE_UNIVERSAL_TAGATTR 26