• Login
Community
  • Login

Can plugins modify built in FindReplaceDlg ?

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
3 Posts 2 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I
    Indigo Gull
    last edited by Jun 30, 2017, 6:17 PM

    Hi everyone.

    Thanks to Don & all contributers - I’ve really taken a liking to npp - Nice and quick editor and the 7.4.2 version resolved my one major niggle by allowing the Find dialog to resize horizontally :)

    I am also impressed with the clean design & implementation… I’ve not touched C++ since the 80s, but in a few hours managed to hack a custom Find in File dialog that lets me quickly search different folders:
    Imgur

    Of course now I will need to re-build each time I want to upgrade to the latest npp version… so I was wondering if a plugin could modify/override/inherit the built in FindReplaceDlg as shown above?

    The requirement is to avoid having to open the Directory Combobox dropdown whilst maintaining separate histories for my current 3-4 projects.

    Cheers.

    C 1 Reply Last reply Jul 3, 2017, 12:01 PM Reply Quote 0
    • C
      Claudia Frank @Indigo Gull
      last edited by Jul 3, 2017, 12:01 PM

      @Indigo-Gull

      in theory yes, a plugin can modify the dialog once get the window handle using
      native win32 api calls.

      About inheritance, from what I understand you cannot inherit/override the find/replace class
      but I’m not really a c++ developer so it might be that there is a way to do it.

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • I
        Indigo Gull
        last edited by Jul 5, 2017, 10:54 PM

        Thanks Claudia - will investigate further.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors