class EE::UI::Doc::TextDocumentLine

#include <textdocumentline.hpp>

class TextDocumentLine {
public:
    // enums

    enum Flags;

    // construction

    TextDocumentLine(const String& text);

    // methods

    void setText(String&& text);
    void setText(const String& text);
    const String& getText() const;
    String getTextWithoutNewLine() const;
    void operator=(const std::string& right);
    String::StringBaseType operator[](std::size_t index) const;
    void insertChar(const unsigned int& pos, const String::StringBaseType& tchar);
    void append(const String& text);
    void append(const String::StringBaseType& code);
    String substr(std::size_t pos = 0, std::size_t n = String::StringType::npos) const;
    String::Iterator insert(String::Iterator p, const String::StringBaseType& c);
    bool empty() const;
    size_t size() const;
    size_t length() const;
    const String::HashType& getHash() const;
    std::string toUtf8() const;
};