summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2.hxx
diff options
context:
space:
mode:
authorGergo Mocsi <gmocsi91@gmail.com>2013-07-21 19:36:56 +0200
committerGergo Mocsi <gmocsi91@gmail.com>2013-07-21 19:36:56 +0200
commit5692833cb94cbfe8a456007d8674f87c24c4efa0 (patch)
treeb8c17a35993955a98ab6e13086da105ce9e83360 /basctl/source/basicide/baside2.hxx
parent623f0ecd35f96f2d047ae2f0461967407bb56cea (diff)
GSOC work window hide when clicking out
CodeCompleteWindow is hidden when clicking out: thi is implemented in EditorWindow::MouseButtonDown: if CodeCompleteWindow is visible and the actual TextSelection of the window and the parent's TextView is different, hide the window (I assume the user changed selection, eg. clicked on other line, etc.). Change-Id: Icb6bcffa837b2f7e1ccef288b9d762e27649410b
Diffstat (limited to 'basctl/source/basicide/baside2.hxx')
-rw-r--r--basctl/source/basicide/baside2.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index eaf700bdb5b2..8737091ce614 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -518,6 +518,11 @@ public:
const TextSelection& GetTextSelection() const;
void ResizeListBox();
void SelectFirstEntry(); //selects first entry in ListBox
+ void ClearAndHide();
+ /*
+ * clears if typed anything, then hides
+ * the window, clear internal variables
+ * */
};