Widgets/[Rich]TextAreaWidget: Add copy/cut/paste support

This commit is contained in:
Jérôme Leclercq
2021-11-28 20:21:07 +01:00
parent a29c0b0e63
commit bb93209713
6 changed files with 108 additions and 2 deletions

View File

@@ -154,6 +154,11 @@ namespace Nz
UpdateDisplayText();
}
void RichTextAreaWidget::CopySelectionToClipboard(const Vector2ui& selectionBegin, const Vector2ui& selectionEnd)
{
// TODO
}
AbstractTextDrawer& RichTextAreaWidget::GetTextDrawer()
{
return m_drawer;
@@ -176,6 +181,11 @@ namespace Nz
{
}
void RichTextAreaWidget::PasteFromClipboard(const Vector2ui& targetPosition)
{
// TODO
}
void RichTextAreaWidget::UpdateDisplayText()
{
/*m_drawer.Clear();