Forum > Editor

Feature request - new "find" box

(1/3) > >>

Mastropiero:
Hello,

I think that the "find" and "replace" dialogs are a bit outdated and annoying. I suggest to implement a new find box mimicking the one in Visual Studio Code. This new find box would be alternative and not a full replacement (a new IDE parameter would allow the user choose between the classic and new one).

I see several reasons for this:

-The current dialog is a modal form and sometimes it is useful to be able to see/change the actual code while filling in the find/replace parameters.
-The modal forms involves more clicks.
-When you use "find", the found text gets selected and if you accidentally press any key, the block is deleted without notice. It's better just to highlight the found text (without actually making it "selected").
-To catch up with modern trends. Many (younger) people have attempted to give Lazarus a chance but they find the IDE quite awkward.

cdbc:
Hi
It has already been done, I think it was @Theo, who shared his clever 'real-time' search-panel. It's here in the forum, you just need to search for it...
IIRC it's an installable package, that when installed, shows up at the bottom of the editor \o/
Maybe search for "Search-panel" or something like that  8)
Regards Benny

edit: found it HERE

paweld:
https://forum.lazarus.freepascal.org/index.php/topic,61533.msg463124.html

cdbc:
Hi
@paweld: Wauw, that was 'Rutzi Futzi'  :D Good on you mate.
Regards Benny

Martin_fr:

--- Quote from: Mastropiero on February 10, 2025, 12:17:29 pm ----To catch up with modern trends. Many (younger) people have attempted to give Lazarus a chance but they find the IDE quite awkward.

--- End quote ---

Completely independent of the idea itself, and the pro and con for it....

I would be interested in the sources for that statement. Was there a (representative? / how big) poll? Or how has this knowledge been established? Also, if it is "many younger", does that imply "older" have also been polled, to verify they do not have the same impression?

Or have numbers been derived from searching existing posts (on some website(s))? And if so, how have things like age group been established. How were the pro/con groups weighted, given that often those wanting a change will make more noise than those not needing that change?

Or is that just: based on your personal circle (people you know personally / i.e. a rather small, non representative group)? Or even, you just personally assume that this is the case?

Just wondering. I mean, if you make statements like that, you surely have the data to uphold them?


As for the part "it is modal". I see the point. I don't know what other think here, but IMHO making the dialog non modal (and optionally keeping it open after a search) could be of interest.

As for the VSC panel:
- I haven't found a way to move it, it hides part of the text
- I don't find the icons intuitive (how does "underline" signify "whole words"? Or the icon that normally means "align left" suddenly means "selection")

But that is just according to my personal taste.

Of course, as for "hides part of the text" => if you work on a single small screen (e.g. laptop / netbook / tablet) then given the size of the current dialog, it does not matter where you move it, it will hide part of the text.

It's a question for how much screen space the GUI is designed.

Navigation

[0] Message Index

[#] Next page

Go to full version