Make find in finder result's text direction follows the search results' one
This commit is contained in:
parent
bf62bda851
commit
21e9239203
@ -2477,7 +2477,7 @@ Finder * FindReplaceDlg::createFinder()
|
|||||||
pFinder->init(_hInst, (*_ppEditView)->getHParent(), _ppEditView);
|
pFinder->init(_hInst, (*_ppEditView)->getHParent(), _ppEditView);
|
||||||
|
|
||||||
tTbData data = { 0 };
|
tTbData data = { 0 };
|
||||||
bool isRTL = (*_ppEditView)->isTextDirectionRTL();
|
bool isRTL = _pFinder->_scintView.isTextDirectionRTL();
|
||||||
pFinder->create(&data, isRTL);
|
pFinder->create(&data, isRTL);
|
||||||
::SendMessage(_hParent, NPPM_MODELESSDIALOG, MODELESSDIALOGREMOVE, reinterpret_cast<WPARAM>(pFinder->getHSelf()));
|
::SendMessage(_hParent, NPPM_MODELESSDIALOG, MODELESSDIALOGREMOVE, reinterpret_cast<WPARAM>(pFinder->getHSelf()));
|
||||||
// define the default docking behaviour
|
// define the default docking behaviour
|
||||||
|
@ -1060,7 +1060,7 @@ void FileBrowser::addRootFolder(generic_string rootFolderPath)
|
|||||||
NppParameters::getInstance().getNativeLangSpeaker()->messageBox("FolderAsWorspaceSubfolderExists",
|
NppParameters::getInstance().getNativeLangSpeaker()->messageBox("FolderAsWorspaceSubfolderExists",
|
||||||
_hParent,
|
_hParent,
|
||||||
TEXT("A sub-folder of the folder you want to add exists.\rPlease remove its root from the panel before you add folder \"$STR_REPLACE$\"."),
|
TEXT("A sub-folder of the folder you want to add exists.\rPlease remove its root from the panel before you add folder \"$STR_REPLACE$\"."),
|
||||||
TEXT("Folder as WorKspace adding folder problem"),
|
TEXT("Folder as Workspace adding folder problem"),
|
||||||
MB_OK,
|
MB_OK,
|
||||||
0, // not used
|
0, // not used
|
||||||
rootFolderPath.c_str());
|
rootFolderPath.c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user