[BUG_FIXED] Fix the Styler Configurator display bug while the absence of global override entry in styles.xml.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@41 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
4398b312de
commit
36b21e456c
@ -5946,7 +5946,6 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
||||
_statusBar.reSizeTo(rc);
|
||||
|
||||
getMainClientRect(rc);
|
||||
//_pMainWindow->reSizeTo(rc);
|
||||
_dockingManager.reSizeTo(rc);
|
||||
|
||||
mkPosIncFindDlg();
|
||||
@ -5988,7 +5987,11 @@ LRESULT Notepad_plus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
|
||||
pFn = (char *)fnss.getFileName(i);
|
||||
doOpen((const char *)pFn);
|
||||
if (lt != L_TXT)
|
||||
{
|
||||
_pEditView->setCurrentDocType(lt);
|
||||
setLangStatus(lt);
|
||||
checkLangsMenu(-1);
|
||||
}
|
||||
_pEditView->execute(SCI_GOTOLINE, ln-1);
|
||||
}
|
||||
//setLangStatus(_pEditView->getCurrentDocType());
|
||||
|
@ -140,7 +140,7 @@ BOOL CALLBACK WordStyleDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar
|
||||
}
|
||||
|
||||
updateGlobalOverrideCtrls();
|
||||
|
||||
setVisualFromStyleList();
|
||||
goToCenter();
|
||||
return TRUE;
|
||||
}
|
||||
@ -525,8 +525,7 @@ void WordStyleDlg::setStyleListFromLexer(int index)
|
||||
|
||||
void WordStyleDlg::setVisualFromStyleList()
|
||||
{
|
||||
if (_isShownGOCtrls)
|
||||
showGlobalOverrideCtrls(false);
|
||||
showGlobalOverrideCtrls(false);
|
||||
|
||||
Style & style = getCurrentStyler();
|
||||
|
||||
|
@ -64,7 +64,7 @@ private :
|
||||
class WordStyleDlg : public StaticDialog
|
||||
{
|
||||
public :
|
||||
WordStyleDlg():_isDirty(false), _isSync(true){_originalWarning[0] = '\0';};
|
||||
WordStyleDlg():_isDirty(false), _isSync(true), _isShownGOCtrls(false){_originalWarning[0] = '\0';};
|
||||
|
||||
void init(HINSTANCE hInst, HWND parent) {
|
||||
Window::init(hInst, parent);
|
||||
|
Loading…
Reference in New Issue
Block a user