Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.51k stars 173 forks source link

[feature request] replace in all open tabs #2239

Closed akizuha closed 4 years ago

akizuha commented 5 years ago

Would be handy.

Alexey-T commented 5 years ago

Plugin «Find in Files 3” has such a command, need to enter macros in one of dialog fields.

akizuha commented 5 years ago

Not in Find in Files 4. And I believe it's better to be built-in like EmEditor.

Alexey-T commented 5 years ago

Do you suggest to make a toggle option button in Replace dlg, which disables some search opts (backward...) and runs replace in all tabs?

akizuha commented 5 years ago

Won't hurt. Can make these options disabled by default for beginner. And people who needs more feature can enable them.

Alexey-T commented 5 years ago

Maybe later (or donate to speed up this task).

Alexey-T commented 4 years ago

I am making it... new button appeared in Replace dlg. gl

@kvichans @dinkumoil @iRamSoft @artem3213212

iRamSoft commented 4 years ago

@Alexey-T Good!

kvichans commented 4 years ago

Is a new option to hide the new button?

Alexey-T commented 4 years ago

@kvichans Why this option is needed?

kvichans commented 4 years ago

I hate too wide dialog Now i use it with comfortable width image

kvichans commented 4 years ago

Please, continue the way of using others buttons: hotkeys and opts to hide its

Alexey-T commented 4 years ago

Ok, added options for hotkey and for visible.

Alexey-T commented 4 years ago

@akizuha @kvichans @iRamSoft @dinkumoil @Cauterite @vhanla @artem3213212 I've put beta 1.91 with this feature, pls test it?

(beta also has new shell DLL) https://sourceforge.net/projects/cudatext/files/beta_version/

dinkumoil commented 4 years ago

@Alexey-T

I found a regression. I use a docked Search & Replace dialog. When I start typing something in the Search or Replace input fields of the Replace dialog and press left or right SHIFT key, the confirmation dialog that asks me if I want to perform a replace in all opened files pops up immediately. Thus I'm not able to perform replace operations that contain uppercase characters.

Alexey-T commented 4 years ago

Fixed, beta is updated. @dinkumoil

Alexey-T commented 4 years ago

Beta is just updated again (refactored)

dinkumoil commented 4 years ago

Tested, it works. Thank you for the fix.

jczanfona commented 4 years ago

As far as I am concerned, this issue may be closed...