summaryrefslogtreecommitdiff
path: root/include/vcl/textview.hxx
diff options
context:
space:
mode:
authorAndreas Heinisch <andreas.heinisch@yahoo.de>2019-08-26 15:51:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-27 11:04:14 +0200
commitc7ea7664002b54786795fab7f6233024a6362f71 (patch)
tree24d8401ecac3399464a1dcaf97e6d794139850cf /include/vcl/textview.hxx
parent344a3cff799520bd8852775f175f6cb3df321863 (diff)
tdf#49482: Searching in the Basic IDE: showing found line
After a search term has been found, the start of the selection will be vertically centered in the textview Change-Id: Ibb53d24ed6bc604a15d144af24d1b891e22a1d2e Reviewed-on: https://gerrit.libreoffice.org/78144 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/textview.hxx')
-rw-r--r--include/vcl/textview.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index e706d0c42e00..8f856a3346e6 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -215,6 +215,9 @@ public:
void MatchGroup();
+ // tdf#49482: Moves the start of the PaM to the center of the textview
+ void CenterPaM( const TextPaM& rPaM );
+
bool Search( const i18nutil::SearchOptions& rSearchOptions, bool bForward );
sal_uInt16 Replace( const i18nutil::SearchOptions& rSearchOptions, bool bAll, bool bForward );