-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code editor: find & replace #7932
Conversation
* Find & Replace ( ctrl + h) ( Enter : replace one and command + enter : replace all ) * Some refactoring of TextfieldPopup * Resets undoManager on luaeditor init. ( removed the empty undo state that made it possible to undo to a blank doc) * keyboard shortcuts for popups now works inside the popups as well.
Great stuff! 👍 |
* Fixes a bug where it indents even if the caret is positioned before the keyword
joel - is this ready to merge? |
@@ -45,8 +45,9 @@ namespace Overlays | |||
TextfieldPopup | |||
Base class that can be used for creating other textfield popups like the search | |||
*/ | |||
TextfieldButton::TextfieldButton(juce::String &svg) : juce::Component() | |||
TextfieldButton::TextfieldButton(juce::String &svg, int r) : juce::Component() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name this second argument more nicely so that it it's clearer, rather than guesswork.
Looks fine to me apart from the one comment I left. Also those inlined SVGs are kinda ugly, I would suggest moving them to |
I have one more commit where I've added find,replace and goto to the context menu. I'll also fix @mkruselj comment on the function parameter |
* changed popup font & size to the same as editor. * added find, replace and go to line to context menu
@baconpaul @mkruselj done! |
update
update 2