Repository: godotengine/godot
File: editor/inspector/editor_properties.cpp (C++)

Code before:
			_update_theme();
		} break;
	}
}

void EditorPropertyMultilineText::EditorPropertyMultilineText::set_monospaced(bool p_monospaced) {
	if (p_monospaced == monospaced) {
		return;
	}
	monospaced = p_monospaced;
	_update_theme();
}

bool EditorPropertyMultilineText::EditorPropertyMultilineText::get_monospaced() {
	return monospaced;
}

void EditorPropertyMultilineText::EditorPropertyMultilineText::set_wrap_lines(bool p_wrap_lines) {
	if (p_wrap_lines == wrap_lines) {
		return;
	}
	wrap_lines = p_wrap_lines;
	_update_theme();
}
bool EditorPropertyMultilineText::EditorPropertyMultilineText::get_wrap_lines() {
	return wrap_lines;
}

EditorPropertyMultilineText::EditorPropertyMultilineText(bool p_expression) :
		expression(p_expression) {
	HBoxContainer *hb = memnew(HBoxContainer);
	hb->add_theme_constant_override("separation", 0);
	add_child(hb);
	set_bottom_editor(hb);
	text = memnew(TextEdit);
	text->connect(SceneStringName(text_changed), callable_mp(this, &EditorPropertyMultilineText::_text_changed));
	text->set_line_wrapping_mode(TextEdit::LineWrappingMode::LINE_WRAPPING_BOUNDARY);
	add_focusable(text);
	hb->add_child(text);
	text->set_h_size_flags(SIZE_EXPAND_FILL);
	open_big_text = memnew(Button);
	open_big_text->set_accessibility_name(TTRC("Open Text Edit Dialog"));
	open_big_text->set_flat(true);
	open_big_text->connect(SceneStringName(pressed), callable_mp(this, &EditorPropertyMultilineText::_open_big_text));
	hb->add_child(open_big_text);
	big_text_dialog = nullptr;
	big_text = nullptr;

	if (expression) {
		Ref<EditorStandardSyntaxHighlighter> highlighter;
		highlighter.instantiate();

Review comment (suggestion):
```suggestion

bool EditorPropertyMultilineText::EditorPropertyMultilineText::get_wrap_lines() {
```

Code after:
			_update_theme();
		} break;
	}
}

void EditorPropertyMultilineText::EditorPropertyMultilineText::set_monospaced(bool p_monospaced) {
	if (p_monospaced == monospaced) {
		return;
	}
	monospaced = p_monospaced;
	_update_theme();
}

bool EditorPropertyMultilineText::EditorPropertyMultilineText::get_monospaced() {
	return monospaced;
}

void EditorPropertyMultilineText::EditorPropertyMultilineText::set_wrap_lines(bool p_wrap_lines) {
	if (p_wrap_lines == wrap_lines) {
		return;
	}
	wrap_lines = p_wrap_lines;
	_update_theme();
}

bool EditorPropertyMultilineText::EditorPropertyMultilineText::get_wrap_lines() {
	return wrap_lines;
}

EditorPropertyMultilineText::EditorPropertyMultilineText(bool p_expression) :
		expression(p_expression) {
	HBoxContainer *hb = memnew(HBoxContainer);
	hb->add_theme_constant_override("separation", 0);
	add_child(hb);
	set_bottom_editor(hb);
	text = memnew(TextEdit);
	text->connect(SceneStringName(text_changed), callable_mp(this, &EditorPropertyMultilineText::_text_changed));
	text->set_line_wrapping_mode(TextEdit::LineWrappingMode::LINE_WRAPPING_BOUNDARY);
	add_focusable(text);
	hb->add_child(text);
	text->set_h_size_flags(SIZE_EXPAND_FILL);
	open_big_text = memnew(Button);
	open_big_text->set_accessibility_name(TTRC("Open Text Edit Dialog"));
	open_big_text->set_flat(true);
	open_big_text->connect(SceneStringName(pressed), callable_mp(this, &EditorPropertyMultilineText::_open_big_text));
	hb->add_child(open_big_text);
	big_text_dialog = nullptr;
	big_text = nullptr;

	if (expression) {
		Ref<EditorStandardSyntaxHighlighter> highlighter;