diff options
author | nyamatongwe <devnull@localhost> | 2010-04-07 01:09:13 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-04-07 01:09:13 +0000 |
commit | 86ad2634f417e669a8878b29cb885be66d10eba8 (patch) | |
tree | 932eee0f2fd2a13afafeaef73370a80432330d46 | |
parent | 6c2971aec384b75a0d369c8865b77c353e5b3a66 (diff) | |
download | scintilla-mirror-86ad2634f417e669a8878b29cb885be66d10eba8.tar.gz |
Removed dead code.
-rw-r--r-- | win32/ScintillaWin.cxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 75957d073..f5eafc79f 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -268,12 +268,6 @@ public: /// Implement important part of IDataObject STDMETHODIMP GetData(FORMATETC *pFEIn, STGMEDIUM *pSTM); - // External Lexers -#ifdef SCI_LEXER - void SetLexerLanguage(const char *languageName); - void SetLexer(uptr_t wParam); -#endif - static bool Register(HINSTANCE hInstance_); static bool Unregister(); @@ -1647,35 +1641,6 @@ void ScintillaWin::ClaimSelection() { // Windows does not have a primary selection } -#ifdef SCI_LEXER - -/* - - Initial Windows-Only implementation of the external lexer - system in ScintillaWin class. Intention is to create a LexerModule - subclass (?) to have lex and fold methods which will call out to their - relevant DLLs... - -*/ - -void ScintillaWin::SetLexer(uptr_t wParam) { - lexLanguage = wParam; - lexCurrent = LexerModule::Find(lexLanguage); - if (!lexCurrent) - lexCurrent = LexerModule::Find(SCLEX_NULL); -} - -void ScintillaWin::SetLexerLanguage(const char *languageName) { - lexLanguage = SCLEX_CONTAINER; - lexCurrent = LexerModule::Find(languageName); - if (!lexCurrent) - lexCurrent = LexerModule::Find(SCLEX_NULL); - if (lexCurrent) - lexLanguage = lexCurrent->GetLanguage(); -} - -#endif - /// Implement IUnknown STDMETHODIMP_(ULONG)FormatEnumerator_AddRef(FormatEnumerator *fe); |