tkcode icon indicating copy to clipboard operation
tkcode copied to clipboard

Add Find and Replace

Open Moosems opened this issue 2 years ago • 6 comments

I think it would be super cool to add find and replace with a small pop up in the corner. I'm thinking something like what is done with Atom or with VS Code

Images of what I am thinking:

VS Code:

Before: Screen Shot 2022-07-09 at 11 27 58 AM

After: Screen Shot 2022-07-09 at 11 26 07 AM

Atom:

Before: Screen Shot 2022-07-09 at 11 31 58 AM

After: Screen Shot 2022-07-09 at 11 26 17 AM

Moosems avatar Jul 09 '22 15:07 Moosems

I have done my implementation of find/replace popup here https://github.com/whmsft/WhirlEdit/blob/main/widgets.py

Which make something like this.. old..

whmsft avatar Jul 09 '22 16:07 whmsft

Can you add a photo?

Moosems avatar Jul 09 '22 16:07 Moosems

It's quite hard (but not impossible) to make that in a corner like in a "no-titlebar" window

whmsft avatar Jul 09 '22 16:07 whmsft

What I was thinking is making a special frame and packing it to the top right corner of the screen. By doing that it reduces clutter and makes it look nicer. For a find and replace I would also recommend keeping it in the same pop up

Moosems avatar Jul 09 '22 16:07 Moosems

Oh..

whmsft avatar Jul 10 '22 01:07 whmsft

There's no problem with your system in fact I actually used that on JDE but in general most people prefer the frame type

Moosems avatar Jul 10 '22 01:07 Moosems