mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 07:01:06 +00:00
Added breakpoint markers, issue 4750
This commit is contained in:
parent
9daaa70920
commit
72fda444d1
4 changed files with 67 additions and 6 deletions
|
|
@ -586,7 +586,7 @@ void ScriptTextEditor::_bind_methods() {
|
|||
}
|
||||
|
||||
ScriptTextEditor::ScriptTextEditor() {
|
||||
|
||||
get_text_edit()->set_breakpoint_gutter_width(12);
|
||||
}
|
||||
|
||||
/*** SCRIPT EDITOR ******/
|
||||
|
|
@ -2034,6 +2034,7 @@ void ScriptEditor::edit(const Ref<Script>& p_script) {
|
|||
ste->get_text_edit()->set_highlight_all_occurrences(EditorSettings::get_singleton()->get("text_editor/highlight_all_occurrences"));
|
||||
ste->get_text_edit()->cursor_set_blink_enabled(EditorSettings::get_singleton()->get("text_editor/caret_blink"));
|
||||
ste->get_text_edit()->cursor_set_blink_speed(EditorSettings::get_singleton()->get("text_editor/caret_blink_speed"));
|
||||
ste->get_text_edit()->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/show_breakpoint_gutter"));
|
||||
ste->get_text_edit()->set_callhint_settings(
|
||||
EditorSettings::get_singleton()->get("text_editor/put_callhint_tooltip_below_current_line"),
|
||||
EditorSettings::get_singleton()->get("text_editor/callhint_tooltip_offset"));
|
||||
|
|
@ -2190,6 +2191,7 @@ void ScriptEditor::_editor_settings_changed() {
|
|||
ste->get_text_edit()->set_highlight_all_occurrences(EditorSettings::get_singleton()->get("text_editor/highlight_all_occurrences"));
|
||||
ste->get_text_edit()->cursor_set_blink_enabled(EditorSettings::get_singleton()->get("text_editor/caret_blink"));
|
||||
ste->get_text_edit()->cursor_set_blink_speed(EditorSettings::get_singleton()->get("text_editor/caret_blink_speed"));
|
||||
ste->get_text_edit()->set_draw_breakpoint_gutter(EditorSettings::get_singleton()->get("text_editor/show_breakpoint_gutter"));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue