Restore missing functionality
This commit is contained in:
@@ -64,6 +64,11 @@ public:
|
||||
QQuickItem *textItem() const;
|
||||
void setTextItem(QQuickItem *textItem);
|
||||
|
||||
/**
|
||||
* @brief Whether a completion has started based on recent text entry.
|
||||
*/
|
||||
bool isCompleting = false;
|
||||
|
||||
/**
|
||||
* @brief The fixed characters that will always be at the beginning of the text item.
|
||||
*/
|
||||
@@ -98,6 +103,13 @@ public:
|
||||
*/
|
||||
QTextDocument *document() const;
|
||||
|
||||
/**
|
||||
* @brief Whetehr the underlying QTextDocument is empty.
|
||||
*
|
||||
* @sa QTextDocument
|
||||
*/
|
||||
bool isEmpty() const;
|
||||
|
||||
/**
|
||||
* @brief The line count of the text item.
|
||||
*/
|
||||
@@ -238,7 +250,6 @@ private:
|
||||
void initializeChars();
|
||||
bool m_initializingChars = false;
|
||||
|
||||
bool isEmpty() const;
|
||||
std::optional<int> lineLength(int lineNumber) const;
|
||||
|
||||
int selectionStart() const;
|
||||
|
||||
Reference in New Issue
Block a user