mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 05:14:41 +02:00
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@129 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
c0ae1fefc3
commit
ec338d909a
@ -2401,7 +2401,6 @@ void Notepad_plus::command(int id)
|
|||||||
|
|
||||||
case IDM_EDIT_COPY:
|
case IDM_EDIT_COPY:
|
||||||
_pEditView->execute(WM_COPY);
|
_pEditView->execute(WM_COPY);
|
||||||
this->_mainEditView.canGoRight();
|
|
||||||
checkClipboard();
|
checkClipboard();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -2409,7 +2408,6 @@ void Notepad_plus::command(int id)
|
|||||||
{
|
{
|
||||||
int eolMode = int(_pEditView->execute(SCI_GETEOLMODE));
|
int eolMode = int(_pEditView->execute(SCI_GETEOLMODE));
|
||||||
_pEditView->execute(SCI_PASTE);
|
_pEditView->execute(SCI_PASTE);
|
||||||
//if (!(_pEditView->getCurrentBuffer()).isBin())
|
|
||||||
_pEditView->execute(SCI_CONVERTEOLS, eolMode);
|
_pEditView->execute(SCI_CONVERTEOLS, eolMode);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -37,6 +37,14 @@
|
|||||||
#define WM_MOUSEHWHEEL 0x020E
|
#define WM_MOUSEHWHEEL 0x020E
|
||||||
#endif //WM_MOUSEHWHEEL
|
#endif //WM_MOUSEHWHEEL
|
||||||
|
|
||||||
|
#ifndef WM_APPCOMMAND
|
||||||
|
#define WM_APPCOMMAND 0x0319
|
||||||
|
#define APPCOMMAND_BROWSER_BACKWARD 1
|
||||||
|
#define APPCOMMAND_BROWSER_FORWARD 2
|
||||||
|
#define FAPPCOMMAND_MASK 0xF000
|
||||||
|
#define GET_APPCOMMAND_LPARAM(lParam) ((short)(HIWORD(lParam) & ~FAPPCOMMAND_MASK))
|
||||||
|
#endif //WM_APPCOMMAND
|
||||||
|
|
||||||
class NppParameters;
|
class NppParameters;
|
||||||
|
|
||||||
#define NB_WORD_LIST 4
|
#define NB_WORD_LIST 4
|
||||||
@ -726,7 +734,7 @@ protected:
|
|||||||
setLexer(SCLEX_LISP, L_LISP, "lisp", LIST_0);
|
setLexer(SCLEX_LISP, L_LISP, "lisp", LIST_0);
|
||||||
};
|
};
|
||||||
|
|
||||||
void setShemeLexer(){
|
void setSchemeLexer(){
|
||||||
setLexer(SCLEX_LISP, L_SCHEME, "lisp", LIST_0);
|
setLexer(SCLEX_LISP, L_SCHEME, "lisp", LIST_0);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user