[NEW] Add SQL ESC symbol '\'.
[NEW] Add new Notepad++ logo in About box. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@554 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
12132dffb4
commit
c14d526b2a
@ -598,17 +598,18 @@ IDD_ABOUTBOX DIALOGEX 0, 0, 271, 240
|
||||
STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_BORDER | WS_SYSMENU
|
||||
FONT 8, TEXT("MS Shell Dlg"), 0, 0, 0x1
|
||||
BEGIN
|
||||
LTEXT NOTEPAD_PLUS_VERSION, IDC_STATIC,60,16,65,11
|
||||
LTEXT UNICODE_ANSI_MODE, IDC_STATIC,130,16,65,11
|
||||
GROUPBOX "GNU General Public Licence",IDC_STATIC,19,75,231,131,BS_CENTER
|
||||
DEFPUSHBUTTON "Ok",IDOK,106,215,50,14,BS_FLAT,WS_EX_STATICEDGE
|
||||
LTEXT "Author :",IDC_STATIC,21,41,31,8
|
||||
LTEXT "Notepad++ team",IDC_AUTHOR_NAME,78,41,70,8
|
||||
LTEXT "Home Page :",IDC_STATIC,21,54,47,8
|
||||
LTEXT "http://notepad-plus.sourceforge.net/",IDC_HOME_ADDR,78,54,126,8
|
||||
EDITTEXT IDC_LICENCE_EDIT,31,99,209,96,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL
|
||||
EDITTEXT IDC_BUILD_DATETIME,150,2,150,10, ES_READONLY | NOT WS_BORDER
|
||||
CONTROL "",IDI_CHAMELEON,"Static",SS_OWNERDRAW,20,5,64,64
|
||||
LTEXT NOTEPAD_PLUS_VERSION, IDC_STATIC,70,20,65,11
|
||||
LTEXT UNICODE_ANSI_MODE, IDC_STATIC,140,20,65,11
|
||||
LTEXT "Author :",IDC_STATIC,21,45,31,8
|
||||
LTEXT "Notepad++ team",IDC_AUTHOR_NAME,78,45,70,8
|
||||
LTEXT "Home Page :",IDC_STATIC,21,59,47,8
|
||||
LTEXT "http://notepad-plus.sourceforge.net/",IDC_HOME_ADDR,78,59,126,8
|
||||
GROUPBOX "GNU General Public Licence",IDC_STATIC,19,75,231,131,BS_CENTER
|
||||
DEFPUSHBUTTON "Ok",IDOK,106,215,50,14,BS_FLAT,WS_EX_STATICEDGE
|
||||
// IDC_LICENCE_EDIT should be the last line, don't know why
|
||||
EDITTEXT IDC_LICENCE_EDIT,31,99,209,96,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_VSCROLL
|
||||
END
|
||||
|
||||
IDD_GOLINE DIALOGEX 26, 41, 261, 88
|
||||
|
@ -684,6 +684,7 @@ protected:
|
||||
|
||||
|
||||
void setSqlLexer() {
|
||||
execute(SCI_SETPROPERTY, (WPARAM)"sql.backslash.escapes", (LPARAM)"1");
|
||||
setLexer(SCLEX_SQL, L_SQL, LIST_0);
|
||||
};
|
||||
|
||||
|
@ -70,9 +70,9 @@ BOOL CALLBACK AboutDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
case WM_DRAWITEM :
|
||||
{
|
||||
HICON hIcon = (HICON)::LoadImage(_hInst, MAKEINTRESOURCE(IDI_CHAMELEON), IMAGE_ICON, 48, 48, LR_DEFAULTSIZE);
|
||||
HICON hIcon = (HICON)::LoadImage(_hInst, MAKEINTRESOURCE(IDI_CHAMELEON), IMAGE_ICON, 64, 64, LR_DEFAULTSIZE);
|
||||
DRAWITEMSTRUCT *pdis = (DRAWITEMSTRUCT *)lParam;
|
||||
::DrawIconEx(pdis->hDC, 0, 0, hIcon, 48, 48, 0, NULL, DI_NORMAL);
|
||||
::DrawIconEx(pdis->hDC, 0, 0, hIcon, 64, 64, 0, NULL, DI_NORMAL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 5.6 KiB |
@ -53,12 +53,13 @@ static int cmpString(const void *a1, const void *a2) {
|
||||
return strcmp(*(char**)(a1), *(char**)(a2));
|
||||
}
|
||||
|
||||
/*
|
||||
static int cmpStringNoCase(const void *a1, const void *a2) {
|
||||
// Can't work out the correct incantation to use modern casts here
|
||||
return CompareCaseInsensitive(*(char**)(a1), *(char**)(a2));
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
static bool isInList(WordList & list, const char *s, bool specialMode, bool ignoreCase)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user