MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_line_data

Method get_line_data

scene/gui/text_edit.cpp:194–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194const Ref<TextParagraph> TextEdit::Text::get_line_data(int p_line) const {
195 ERR_FAIL_INDEX_V(p_line, text.size(), Ref<TextParagraph>());
196 return text[p_line].data_buf;
197}
198
199float TextEdit::Text::get_indent_offset(int p_line, bool p_rtl) const {
200 ERR_FAIL_INDEX_V(p_line, text.size(), 0);

Callers 15

_notificationMethod · 0.80
gui_inputMethod · 0.80
_move_caret_leftMethod · 0.80
_move_caret_rightMethod · 0.80
_do_backspaceMethod · 0.80
_deleteMethod · 0.80
get_cursor_shapeMethod · 0.80
get_tooltipMethod · 0.80
get_wordMethod · 0.80
get_word_under_caretMethod · 0.80

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected