// -*- C++ -*-
+
/*
- * File: formulabase.h
- * Purpose: Common parts of the math LyX insets
- * Author: André Pönitz
- * Created: May 2001
- * Description: Allows the edition of math paragraphs inside Lyx.
+ * Common parts of the math LyX insets
+ * \author André Pönitz
*
- * Copyright: 2001, The LyX Project
+ * Full author contact details are available in file CREDITS
*
- * You are free to use and modify this code under the terms of
- * the GNU General Public Licence version 2 or later.
+ * You are free to use and modify this code under the terms of
+ * the GNU General Public Licence version 2 or later.
*/
#ifndef INSET_FORMULABASE_H
///
virtual bool searchForward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
///
virtual bool searchBackward(BufferView *, string const &,
- bool = true, bool = false);
+ bool = true, bool = false);
///
virtual bool isTextInset() const { return true; }
///
virtual EDITABLE editable() const { return HIGHLY_EDITABLE; }
///
bool display() const;
+ // return the selection as string
+ string selectionAsString() const;
private:
/// unimplemented
void operator=(const InsetFormulaBase &);
/// common base for handling accents
void handleAccent(BufferView * bv, string const & arg, string const & name);
- /// lfun handler
+ /// lfun handler
RESULT lfunMousePress(FuncRequest const &);
///
RESULT lfunMouseRelease(FuncRequest const &);
// So do it here.
void mathDispatch(FuncRequest const &);
+///
+void releaseMathCursor(BufferView * bv);
+
#endif