| 1415 | } |
| 1416 | |
| 1417 | Variant CodeTextEditor::get_edit_state() { |
| 1418 | Dictionary state; |
| 1419 | state.merge(get_navigation_state()); |
| 1420 | |
| 1421 | state["folded_lines"] = text_editor->get_folded_lines(); |
| 1422 | state["breakpoints"] = text_editor->get_breakpointed_lines(); |
| 1423 | state["bookmarks"] = text_editor->get_bookmarked_lines(); |
| 1424 | |
| 1425 | Ref<EditorSyntaxHighlighter> syntax_highlighter = text_editor->get_syntax_highlighter(); |
| 1426 | state["syntax_highlighter"] = syntax_highlighter->_get_name(); |
| 1427 | |
| 1428 | return state; |
| 1429 | } |
| 1430 | |
| 1431 | Variant CodeTextEditor::get_previous_state() { |
| 1432 | return previous_state; |
nothing calls this directly
no test coverage detected