From 86ad2634f417e669a8878b29cb885be66d10eba8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 7 Apr 2010 01:09:13 +0000 Subject: Removed dead code. --- win32/ScintillaWin.cxx | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'win32') 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); -- cgit v1.2.3