godot/scene/gui
lawnjelly 891b17d5db
Fix TextEdit color_region_cache bug
Due to a single error, _is_line_in_region was previously iterating over the color highlighting for the entire document repeatedly for each line in the script.

This is now fixed, which should make the editor much faster with large scripts.

(cherry picked from commit 57306bf0e3)
2023-08-19 00:36:12 +02:00
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
aspect_ratio_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
aspect_ratio_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
base_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
base_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
box_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
box_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
center_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
center_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
check_box.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
check_box.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
check_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
check_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
color_picker.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
color_picker.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
color_rect.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
color_rect.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
control.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
control.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
dialogs.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
dialogs.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
file_dialog.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
file_dialog.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
flow_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
flow_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
gradient_edit.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
gradient_edit.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
graph_edit.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
graph_edit.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
graph_node.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
graph_node.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
grid_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
grid_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
item_list.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
item_list.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
label.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
label.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
line_edit.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
line_edit.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
link_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
link_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
margin_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
margin_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
menu_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
menu_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
nine_patch_rect.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
nine_patch_rect.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
option_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
option_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
panel.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
panel.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
panel_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
panel_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
popup.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
popup.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
popup_menu.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
popup_menu.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
progress_bar.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
progress_bar.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
range.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
range.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
reference_rect.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
reference_rect.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
rich_text_effect.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
rich_text_effect.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
rich_text_label.cpp RichTextLabel: Fix hint string for custom_effects property 2023-03-06 13:32:02 +01:00
rich_text_label.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
scroll_bar.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
scroll_bar.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
scroll_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
scroll_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
separator.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
separator.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
shortcut.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
shortcut.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
slider.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
slider.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
spin_box.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
spin_box.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
split_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
split_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tab_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tab_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tabs.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tabs.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
text_edit.cpp Fix TextEdit color_region_cache bug 2023-08-19 00:36:12 +02:00
text_edit.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_progress.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_progress.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_rect.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
texture_rect.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tool_button.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tool_button.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
tree.cpp Fix Tree overflow without scrolling being enabled 2023-01-11 14:56:40 +01:00
tree.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
video_player.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
video_player.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
viewport_container.cpp One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00
viewport_container.h One Copyright Update to rule them all 2023-01-10 15:32:59 +01:00