struct ImGuiTextIndex

Overview

#include <imgui_internal.h>

struct ImGuiTextIndex
{
    // fields

    ImVector<int> Offsets;
    int EndOffset = 0;

    // methods

    void clear();
    int size();

    const char* get_line_begin(
        const char* base,
        int n
        );

    const char* get_line_end(
        const char* base,
        int n
        );

    void append(
        const char* base,
        int old_size,
        int new_size
        );
};