From 53f60b4a7a45ec23b0ec11830bf9c1e3cfde40e0 Mon Sep 17 00:00:00 2001 From: harrybharry Date: Mon, 16 Jun 2008 12:46:07 +0000 Subject: [PATCH] Fix styler configurator setting wrong lexer in sub-view. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@237 f5eea248-9336-0410-98b8-ebc06183d4e3 --- PowerEditor/src/Notepad_plus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 03ac49ed9..2e96e2c6e 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -6969,7 +6969,7 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa { //reset styler for change in Stylers.xml _mainEditView.defineDocType(_mainEditView.getCurrentBuffer()->getLangType()); - _subEditView.defineDocType(_mainEditView.getCurrentBuffer()->getLangType()); + _subEditView.defineDocType(_subEditView.getCurrentBuffer()->getLangType()); _mainEditView.performGlobalStyles(); _subEditView.performGlobalStyles();