Notepad3: Find/Replace Standard/Advanced

Created on 13 Jun 2019  路  6Comments  路  Source: rizonesoft/Notepad3

You misunderstood my intent in the last case on this issue.
I merely intended for a smaller find/replace dialog box option with the advanced features that you have to expand or collapse giving the user more room for code window.

change request won't change

All 6 comments

_Related Issues:_

  • Enhancement for Find/Replace dialog (#196)
  • Minimal Find/Replace with advanced expand (#914)

What about using the Transparent mode on loosing focus,
setting opacity level to e.g. 10 ( [Settings2] FindReplaceOpacityLevel=10 ).
Pressing F3 finds next or Alt+Tab changes to editor, which makes the dialog transparent.
Pressing Ctrl+F moves focus back to the F/R dialog and makes it opaque again.

I agree that would solve my immediate problem.
I however only have a 1024x768 screen and space is a priority.
Obviously if something like this will never happen c'est la vie.
Again however a small neat find/replace box that saves position and state.....
I will bookmark and place on heap of endless wish list.

Just out of interest. I have built my own version of .languagedialogs_en_gb.rc
the change eg. shown here solves all my own problems
Find Replace

IDD_MUI_FIND DIALOGEX 0, 0, 202, 97
STYLE DS_SETFONT | DS_MODALFRAME | DS_NOFAILCREATE | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "FIND"
FONT 8, "Segoe UI", 500, 0, 0x0
BEGIN
    COMBOBOX        IDC_FINDTEXT,8,0,157,238,CBS_DROPDOWN | CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "]&>",IDOK,185,0,18,13,0,WS_EX_STATICEDGE
    PUSHBUTTON      "&<[",IDC_FINDPREV,166,0,18,13,0,WS_EX_STATICEDGE
    LTEXT           "&A:",IDC_STATIC,0,0,8,8
    CONTROL         "&Case",IDC_FINDCASE,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,37,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&Word",IDC_FINDWORD,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,26,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&Mark All",IDC_ALL_OCCURRENCES,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,66,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "R&egX",IDC_FINDREGEXP,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,55,33,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&\\",IDC_FINDTRANSFORMBS,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,33,55,20,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&.",IDC_DOT_MATCH_ALL,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,53,55,20,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "Be&ginning",IDC_FINDSTART,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,45,26,50,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "*",IDC_WILDCARDSEARCH,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,73,55,19,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&No wrap",IDC_NOWRAP,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,77,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "<a>(?)</a>",IDC_REGEXPHELP,"SysLink",0x0,2,47,9,7,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_BACKSLASHHELP,"SysLink",0x0,35,47,9,7,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_WILDCARDHELP,"SysLink",0x0,75,47,9,8,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_DOTHELP,"SysLink",0x0,55,47,9,7,WS_EX_TRANSPARENT
    PUSHBUTTON      "&Focus",IDC_TOGGLE_VISIBILITY,157,59,46,14,BS_FLAT,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
    CONTROL         "&Transparent",IDC_TRANSPARENT,"Button",BS_AUTOCHECKBOX | BS_CENTER | BS_FLAT | WS_TABSTOP,97,59,60,14,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_RIGHT | WS_EX_STATICEDGE
    CONTROL         "C&lose on FIND",IDC_FINDCLOSE,"Button",BS_AUTOCHECKBOX | BS_CENTER | BS_FLAT | WS_TABSTOP,77,73,80,14,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_RIGHT | WS_EX_STATICEDGE
    PUSHBUTTON      "Cl&ose",IDCANCEL,157,73,46,14,BS_FLAT,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
    CONTROL         "<a>Replace (Ctrl+H)</a>",IDC_TOGGLEFINDREPLACE,"SysLink",0x0,94,41,58,8
    CONTROL         "",IDS_FR_STATUS_TEXT,"Static",SS_LEFTNOWORDWRAP | SS_NOPREFIX | WS_BORDER,0,87,189,10
    SCROLLBAR       IDC_RESIZEGRIP,190,87,12,10
END

IDD_MUI_REPLACE DIALOGEX 0, 0, 202, 97
STYLE DS_SETFONT | DS_MODALFRAME | DS_NOFAILCREATE | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "REPLACE"
FONT 8, "Segoe UI", 500, 0, 0x0
BEGIN
    COMBOBOX        IDC_FINDTEXT,8,0,157,238,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_REPLACETEXT,8,13,157,238,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
    DEFPUSHBUTTON   "]&>",IDOK,181,0,15,13,0,WS_EX_STATICEDGE
    PUSHBUTTON      "&<[",IDC_FINDPREV,166,0,15,13,0,WS_EX_STATICEDGE
    PUSHBUTTON      "&|",IDC_SWAPSTRG,196,0,7,13,0,WS_EX_STATICEDGE
    LTEXT           "&A:",IDC_STATIC,0,0,8,8
    LTEXT           "&B:",IDC_STATIC,0,14,8,8
    PUSHBUTTON      "&Replace",IDC_REPLACE,166,13,37,13,BS_FLAT,WS_EX_STATICEDGE
    PUSHBUTTON      "Replace &All",IDC_REPLACEALL,155,26,48,14,BS_FLAT,WS_EX_STATICEDGE
    PUSHBUTTON      "In &Selection",IDC_REPLACEINSEL,155,40,48,14,BS_FLAT,WS_EX_STATICEDGE
    CONTROL         "&Case",IDC_FINDCASE,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,37,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&Word",IDC_FINDWORD,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,26,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&Mark All",IDC_ALL_OCCURRENCES,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,66,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "R&egX",IDC_FINDREGEXP,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,55,33,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&\\",IDC_FINDTRANSFORMBS,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,33,55,20,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&.",IDC_DOT_MATCH_ALL,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,53,55,20,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "Be&ginning",IDC_FINDSTART,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,45,26,50,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "*",IDC_WILDCARDSEARCH,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,73,55,19,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "&No wrap",IDC_NOWRAP,"Button",BS_AUTOCHECKBOX | BS_FLAT | WS_TABSTOP,0,77,45,10,WS_EX_DLGMODALFRAME | WS_EX_STATICEDGE
    CONTROL         "<a>(?)</a>",IDC_REGEXPHELP,"SysLink",0x0,2,47,9,7,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_BACKSLASHHELP,"SysLink",0x0,35,47,9,7,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_WILDCARDHELP,"SysLink",0x0,75,47,9,8,WS_EX_TRANSPARENT
    CONTROL         "<a>(?)</a>",IDC_DOTHELP,"SysLink",0x0,55,47,9,7,WS_EX_TRANSPARENT
    CONTROL         "&Transparent",IDC_TRANSPARENT,"Button",BS_AUTOCHECKBOX | BS_CENTER | BS_FLAT | WS_TABSTOP,97,59,60,14,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_RIGHT | WS_EX_STATICEDGE
    PUSHBUTTON      "&Focus",IDC_TOGGLE_VISIBILITY,157,59,46,14,BS_FLAT,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
    PUSHBUTTON      "Cl&ose",IDCANCEL,157,73,46,14,BS_FLAT,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
    CONTROL         "C&lose on REPLACE",IDC_FINDCLOSE,"Button",BS_AUTOCHECKBOX | BS_CENTER | BS_FLAT | WS_TABSTOP,77,73,80,14,WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE | WS_EX_RIGHT | WS_EX_STATICEDGE
    CONTROL         "<a>Find (Ctrl+F)</a>",IDC_TOGGLEFINDREPLACE,"SysLink",0x0,94,41,58,8
    CONTROL         "",IDS_FR_STATUS_TEXT,"Static",SS_LEFTNOWORDWRAP | SS_NOPREFIX | WS_BORDER,0,87,189,10
    SCROLLBAR       IDC_RESIZEGRIP,190,87,12,10
END

Looks like a "condensed version" of the Find/Replace-Dialog.
This is the power of free Open Source - you can build your own version, if you like :smile:.
If it "solves all your problems", this issue may be closed (if there are no other votes to use this condensed dialog).

his is the power of free Open Source - you can build your own version, if you like 馃槃.

Hello @ShadyGaDa ,
As far as I'm concerned, I think you (as requester) can close this issue...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

valhristov picture valhristov  路  3Comments

bravo-hero picture bravo-hero  路  3Comments

tzleon picture tzleon  路  3Comments

RaffaeleBianc0 picture RaffaeleBianc0  路  3Comments

hpwamr picture hpwamr  路  3Comments