godot/scene/gui
John Wigg 4a82390aaf Limit undo stack size
The stack size of the undo history of a TextEdit was not limited leading
to potential memory leaks when doing lots of operations on a TextEdit.

This commit adds the option gui/common/text_edit_undo_stack_max_size
to the project settings. The first element of the undo stack is popped
if the stack's size exceeds this value ensuring limited memory usage.

The default stack size setting is 1024.

Fixes #37838.
2020-04-29 11:31:01 +02:00
..
base_button.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
base_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
box_container.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
box_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
button.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
button.h Texture refactor 2020-02-11 11:53:26 +01:00
center_container.cpp Updates min size on CenterContainer::set_use_top_left 2020-01-14 08:35:21 +08:00
center_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_box.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
check_box.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_button.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
check_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_picker.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
color_picker.h PoolVector is gone, replaced by Vector 2020-02-18 10:10:36 +01:00
color_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.cpp Signals: Port connect calls to use callable_mp 2020-02-28 14:24:09 +01:00
container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
control.cpp Remove Node.get_position_in_parent() 2020-04-06 01:19:20 +02:00
control.h Rename more 2D and 3D nodes to follow convention 2020-03-27 16:26:34 +01:00
dialogs.cpp Fixes leaks when running editor 2020-04-06 20:07:08 +02:00
dialogs.h Working multiple window support, including editor 2020-03-26 15:49:40 +01:00
file_dialog.cpp Merge pull request #37591 from Anutrix/remove_reduntant_class 2020-04-07 09:14:53 +02:00
file_dialog.h Removed reduntant class LineEditFileChooser. 2020-04-05 02:50:32 +05:30
gradient_edit.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
gradient_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_edit.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
graph_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_node.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
graph_node.h Texture refactor 2020-02-11 11:53:26 +01:00
grid_container.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
grid_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
item_list.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
item_list.h Texture refactor 2020-02-11 11:53:26 +01:00
label.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
label.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_edit.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
line_edit.h Texture refactor 2020-02-11 11:53:26 +01:00
link_button.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
link_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
margin_container.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
margin_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
menu_button.cpp Fixes to X11, still pretty broken 2020-03-26 15:50:00 +01:00
menu_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
nine_patch_rect.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
nine_patch_rect.h Texture refactor 2020-02-11 11:53:26 +01:00
option_button.cpp Fix OptionButton docs godotengine#36803 2020-04-10 20:35:40 -05:00
option_button.h Texture refactor 2020-02-11 11:53:26 +01:00
panel_container.cpp Reworked tooltips to use the popup system. 2020-03-26 15:49:45 +01:00
panel_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel.cpp doc: Sync classref with DisplayServer/Window changes 2020-03-31 11:56:58 +02:00
panel.h doc: Sync classref with DisplayServer/Window changes 2020-03-31 11:56:58 +02:00
popup_menu.cpp Merge pull request #37504 from qarmin/out_of_bound_cursor 2020-04-02 13:07:55 +02:00
popup_menu.h Popups have also been converted to windows 2020-03-26 15:49:44 +01:00
popup.cpp Reworked tooltips to use the popup system. 2020-03-26 15:49:45 +01:00
popup.h Popups have also been converted to windows 2020-03-26 15:49:44 +01:00
progress_bar.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
progress_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
range.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
range.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_effect.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
rich_text_effect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_label.cpp Fixed 0 width issue of rich text label 2020-04-13 14:59:38 +05:30
rich_text_label.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
scroll_bar.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
scroll_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_container.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
scroll_container.h Fix scrollbar regression on large scales 2020-01-16 00:59:46 -03:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
separator.cpp Popups are now windows also (broken!) 2020-03-26 15:49:42 +01:00
separator.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.h Refactored Input, create DisplayServer and DisplayServerX11 2020-03-26 15:49:32 +01:00
slider.cpp Add style for highlighted Slider grab area 2020-04-02 15:05:46 +02:00
slider.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spin_box.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
spin_box.h Texture refactor 2020-02-11 11:53:26 +01:00
split_container.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
split_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
subviewport_container.cpp Rename ViewportContainer to SubViewportContainer 2020-04-01 16:11:44 -03:00
subviewport_container.h Rename ViewportContainer to SubViewportContainer 2020-04-01 16:11:44 -03:00
tab_container.cpp Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
tab_container.h Texture refactor 2020-02-11 11:53:26 +01:00
tabs.cpp erase : if ( i < offset ) { continue;} in for loops 2020-04-08 11:14:46 +02:00
tabs.h Texture refactor 2020-02-11 11:53:26 +01:00
text_edit.cpp Limit undo stack size 2020-04-29 11:31:01 +02:00
text_edit.h Limit undo stack size 2020-04-29 11:31:01 +02:00
texture_button.cpp Texture refactor 2020-02-11 11:53:26 +01:00
texture_button.h Texture refactor 2020-02-11 11:53:26 +01:00
texture_progress.cpp Renaming of servers for coherency. 2020-03-27 15:21:27 -03:00
texture_progress.h Texture refactor 2020-02-11 11:53:26 +01:00
texture_rect.cpp Fix TextureRect::flip_* when used with atlas texture 2020-04-06 08:36:36 -03:00
texture_rect.h Texture refactor 2020-02-11 11:53:26 +01:00
tool_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tool_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tree.cpp Remove unused ofs variable 2020-04-08 20:00:43 +02:00
tree.h Replace NULL with nullptr 2020-04-02 13:38:00 +02:00
video_player.cpp Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT. 2020-02-25 12:55:53 +01:00
video_player.h Texture refactor 2020-02-11 11:53:26 +01:00