Browse Source

git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@129 f5eea248-9336-0410-98b8-ebc06183d4e3

remotes/patch_testing@481
Don Ho 17 years ago
parent
commit
9b590cf04b
  1. 2
      PowerEditor/src/Notepad_plus.cpp
  2. 10
      PowerEditor/src/ScitillaComponent/ScintillaEditView.h

2
PowerEditor/src/Notepad_plus.cpp

@ -2401,7 +2401,6 @@ void Notepad_plus::command(int id)
case IDM_EDIT_COPY:
_pEditView->execute(WM_COPY);
this->_mainEditView.canGoRight();
checkClipboard();
break;
@ -2409,7 +2408,6 @@ void Notepad_plus::command(int id)
{
int eolMode = int(_pEditView->execute(SCI_GETEOLMODE));
_pEditView->execute(SCI_PASTE);
//if (!(_pEditView->getCurrentBuffer()).isBin())
_pEditView->execute(SCI_CONVERTEOLS, eolMode);
}
break;

10
PowerEditor/src/ScitillaComponent/ScintillaEditView.h

@ -37,6 +37,14 @@
#define WM_MOUSEHWHEEL 0x020E
#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;
#define NB_WORD_LIST 4
@ -726,7 +734,7 @@ protected:
setLexer(SCLEX_LISP, L_LISP, "lisp", LIST_0);
};
void setShemeLexer(){
void setSchemeLexer(){
setLexer(SCLEX_LISP, L_SCHEME, "lisp", LIST_0);
};

Loading…
Cancel
Save