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
pull/343/head^2
harrybharry 2008-06-16 12:46:07 +00:00
parent 1a2e2e0431
commit 53f60b4a7a
1 changed files with 1 additions and 1 deletions

View File

@ -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();