include/vcl/vclmedit.hxx | 2 ++ vcl/source/edit/vclmedit.cxx | 9 +++++++++ 2 files changed, 11 insertions(+)
New commits: commit 3bff52cae392cf7e45729a3469333b0e76b3d874 Author: Szymon Kłos <[email protected]> AuthorDate: Tue Mar 17 15:17:14 2020 +0100 Commit: Szymon Kłos <[email protected]> CommitDate: Thu Jul 2 11:04:24 2020 +0200 jsdialog: export cursor visibility for text areas Change-Id: I404e496a6f68f5cc2e2e628b51c759be49c7fecd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97729 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index 61367af5893e..00b798a0ff32 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -171,6 +171,8 @@ public: virtual FactoryFunction GetUITestFactory() const override; virtual bool set_property(const OString &rKey, const OUString &rValue) override; + + virtual boost::property_tree::ptree DumpAsPropertyTree() override; }; #endif // INCLUDED_VCL_VCLMEDIT_HXX diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx index 49b63e9ae3e9..823370e59c86 100644 --- a/vcl/source/edit/vclmedit.cxx +++ b/vcl/source/edit/vclmedit.cxx @@ -1535,4 +1535,13 @@ bool VclMultiLineEdit::set_property(const OString &rKey, const OUString &rValue) return true; } +boost::property_tree::ptree VclMultiLineEdit::DumpAsPropertyTree() +{ + boost::property_tree::ptree aTree = Edit::DumpAsPropertyTree(); + + aTree.put("cursor", pImpVclMEdit->GetTextWindow()->GetTextView()->IsCursorEnabled()); + + return aTree; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
