class EE::UI::Doc::TextDocumentLine

#include <textdocumentline.hpp>

class TextDocumentLine {
public:
    // construction

    TextDocumentLine(const String& text, std::shared_ptr<Mutex> docMutex);
    ~TextDocumentLine();

    // methods

    void setText(String&& text);
    const String& getText() const;
    String getTextWithoutNewLine() const;
    String::StringBaseType operator[](std::size_t index) const;
    void append(const String& text);
    String substr(std::size_t pos = 0, std::size_t n = String::StringType::npos) const;
    bool empty() const;
    size_t size() const;
    String::HashType getHash() const;
    bool isAscii() const;
    Uint32 getTextHints() const;
};