From fac3063391ca762f6cef6df638202cc5b585654e Mon Sep 17 00:00:00 2001 From: Rainer Kottenhoff Date: Sun, 17 Dec 2017 02:05:36 +0100 Subject: [PATCH] - single line edit control do not allow to set tab width ? --- src/Edit.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Edit.c b/src/Edit.c index 8dbe9c9c0..43d2ccb35 100644 --- a/src/Edit.c +++ b/src/Edit.c @@ -4357,6 +4357,9 @@ INT_PTR CALLBACK EditFindReplaceDlgProcW(HWND hwnd,UINT umsg,WPARAM wParam,LPARA // Get the current code page for Unicode conversion UINT uCPEdit = Encoding_SciGetCodePage(hwndEdit); + + //const WORD wTabSpacing = (WORD)SendMessage(lpefr->hwnd, SCI_GETTABWIDTH, 0, 0);; // dialog box units + //SendDlgItemMessage(hwnd, IDC_FINDTEXT, EM_SETTABSTOPS, 1, (LPARAM)&wTabSpacing); // Load MRUs WCHAR tch2[FNDRPL_BUFFER] = { L'\0' }; @@ -4369,6 +4372,8 @@ INT_PTR CALLBACK EditFindReplaceDlgProcW(HWND hwnd,UINT umsg,WPARAM wParam,LPARA SendDlgItemMessage(hwnd,IDC_REPLACETEXT,CB_ADDSTRING,0,(LPARAM)tch2); } + + if (!bSwitchedFindReplace) { char *lpszSelection = NULL;