rdbende / tkcode

Use Chlorophyll instead
https://github.com/rdbende/chlorophyll
MIT License
19 stars 3 forks source link

Add Find and Replace #12

Open Moosems opened 2 years ago

Moosems commented 2 years ago

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
whmsft commented 2 years ago

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..

Moosems commented 2 years ago

Can you add a photo?

whmsft commented 2 years ago

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

Moosems commented 2 years ago

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

whmsft commented 2 years ago

Oh..

Moosems commented 2 years ago

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