summaryrefslogtreecommitdiff
path: root/editor/find_in_files.cpp
AgeCommit message (Collapse)Author
2021-10-27Small formatting fixes in Find in FilesMax Hilbrunner
2021-10-26Save all 64 bits of get_ticks_msec() in more casesMax Hilbrunner
2021-10-18Restrict the project data directory configurationne0fhyk
2021-10-11Make the project data directory customizable.ne0fhyk
2021-10-05Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_masterRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-15Provide a getter for the project data directory.ne0fhyk
2021-07-30Make "Find in Files" searches ignore directories with `.gdignore` files in themNicholas Huelin
This pull request fixes an issue where searches using the "Find in Files" function would include folders with `.gdignore` files in them. The editor is supposed to ignore directories with these files in them altogether.
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-05-21Merge pull request #48747 from ↵Rémi Verschelde
Calinou/editor-find-in-files-tweak-highlight-color Tweak highlight color in the editor Find in Files dialog
2021-05-20Change behavior of String.rightTomasz Chabora
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-16Tweak highlight color in the editor Find in Files dialogHugo Locurcio
The new color is more visible against dark backgrounds.
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-14Merge pull request #42784 from mujpao/search-results-font-size-4.0Rémi Verschelde
Make search results font follow code editor font
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-17Merge pull request #44301 from pycbouh/show-count-find-in-filesRémi Verschelde
Display the number of results for global search
2020-12-14Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal
Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
2020-12-11Display the number of results for global searchYuri Sizov
2020-12-02Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut
2020-11-26[Complex Text Layouts] Refactor Font class, default themes and controls to ↵bruvzg
use Text Server interface. Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
2020-10-13Make search results font follow code editor fontmujpao
The font size of the Find in Files dialog used to get out of sync with the code editor font size. The font of the Find in Files dialog is now updated each time there is a change to the theme. This way, the font size of the Find in Files results changes in response to the code font size being changed using Ctrl +/- or using the Editor Settings. Fixes #35499
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-07-14Resize dialogs (FileDialog, EditorFileDialog, Reparent, SceneTreeDialog and ↵Stijn Hinlopen
resource depency dialogs).
2020-06-17Search result highlights follow font sizeStijn Hinlopen
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-02-28Signals: Manually port most of remaining connect_compat usesRémi Verschelde
It's tedious work... Some can't be ported as they depend on private or protected methods of different classes, which is not supported by callable_mp (even if it's a class inherited by the current one).
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
2020-02-27Fix build after merge of #36077Rémi Verschelde
2020-02-27Merge pull request #36077 from pycbouh/repeat-search-in-filesRémi Verschelde
Add a button to quickly repeat last search in files
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-13Added 'Replace in files' functionality to text editorsDominik 'dreamsComeTrue' Jasiński
Fixes issue #31146
2020-02-10Add a button to quickly repeat last search in filesYuri Sizov
2020-02-10Ignore hidden files and directories in find in filesPedro J. Estébanez
2020-01-21Fixes leak in Find in Files utilityHaoyu Qiu
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-09-25Added some obvious errors explanationsqarmin
2019-08-26Memory leak fixedKlesomik
In some functions in editor/find_in_files.cpp was detected a memory leak DirAccess* and FileAccess* were replaced by DirAccessRef and FileAccessRef DirAccessRef and FileAccessRef are just wrappers for DirAccess* and FileAccess* Fixes for issue #31659
2019-08-12fix(find_in_files): crash when selecting with RMBFabian Stiewitz
in replace mode, if no search result has been selected and RMB is pressed on a checkbox, the editor crashes in editor/find_in_files.cpp:712 because item is NULL