godot/editor/plugins/text_editor.cpp

/**************************************************************************/
/*  text_editor.cpp                                                       */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "text_editor.h"

#include "core/io/json.h"
#include "core/os/keyboard.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/split_container.h"

void TextEditor::add_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highlighter) {}

void TextEditor::set_syntax_highlighter(Ref<EditorSyntaxHighlighter> p_highlighter) {}

void TextEditor::_change_syntax_highlighter(int p_idx) {}

void TextEditor::_load_theme_settings() {}

String TextEditor::get_name() {}

Ref<Texture2D> TextEditor::get_theme_icon() {}

Ref<Resource> TextEditor::get_edited_resource() const {}

void TextEditor::set_edited_resource(const Ref<Resource> &p_res) {}

void TextEditor::enable_editor(Control *p_shortcut_context) {}

void TextEditor::add_callback(const String &p_function, const PackedStringArray &p_args) {}

void TextEditor::set_debugger_active(bool p_active) {}

Control *TextEditor::get_base_editor() const {}

CodeTextEditor *TextEditor::get_code_editor() const {}

PackedInt32Array TextEditor::get_breakpoints() {}

void TextEditor::reload_text() {}

void TextEditor::_validate_script() {}

void TextEditor::_update_bookmark_list() {}

void TextEditor::_bookmark_item_pressed(int p_idx) {}

void TextEditor::apply_code() {}

bool TextEditor::is_unsaved() {}

Variant TextEditor::get_edit_state() {}

void TextEditor::set_edit_state(const Variant &p_state) {}

Variant TextEditor::get_navigation_state() {}

void TextEditor::trim_trailing_whitespace() {}

void TextEditor::trim_final_newlines() {}

void TextEditor::insert_final_newline() {}

void TextEditor::convert_indent() {}

void TextEditor::tag_saved_version() {}

void TextEditor::goto_line(int p_line, int p_column) {}

void TextEditor::goto_line_selection(int p_line, int p_begin, int p_end) {}

void TextEditor::set_executing_line(int p_line) {}

void TextEditor::clear_executing_line() {}

void TextEditor::ensure_focus() {}

Vector<String> TextEditor::get_functions() {}

bool TextEditor::show_members_overview() {}

void TextEditor::update_settings() {}

void TextEditor::set_tooltip_request_func(const Callable &p_toolip_callback) {}

Control *TextEditor::get_edit_menu() {}

void TextEditor::clear_edit_menu() {}

void TextEditor::set_find_replace_bar(FindReplaceBar *p_bar) {}

void TextEditor::_edit_option(int p_op) {}

void TextEditor::_convert_case(CodeTextEditor::CaseStyle p_case) {}

ScriptEditorBase *TextEditor::create_editor(const Ref<Resource> &p_resource) {}

void TextEditor::register_editor() {}

void TextEditor::_text_edit_gui_input(const Ref<InputEvent> &ev) {}

void TextEditor::_prepare_edit_menu() {}

void TextEditor::_make_context_menu(bool p_selection, bool p_can_fold, bool p_is_folded, Vector2 p_position) {}

void TextEditor::update_toggle_scripts_button() {}

TextEditor::TextEditor() {}

TextEditor::~TextEditor() {}

void TextEditor::validate() {}