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-09-02 18:16:46 +0200
commit1b8b4864c11955a2f59310cc58f16e509eb48a32 (patch)
treeffacc930d327661bf974771f987bcd878b6bfe5d /basctl/source/basicide/baside2.hxx
parent6165d0b4846590d1d85d559636dd6587ea0dadd8 (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
+ * */
};