Andre Poenitz wrote:
> On Mon, Apr 17, 2006 at 08:57:54PM +0200, Georg Baum wrote:
>> That is not possible with this approach, since the status line info is
>> only obtained if the cursor is inside an inset.
>
> Is it? I thought also the item to the left or right was considered.
Then the attached patch should make it work, but it does not.
Georg
Index: src/mathed/math_biginset.h
===================================================================
--- src/mathed/math_biginset.h (Revision 13741)
+++ src/mathed/math_biginset.h (Arbeitskopie)
@@ -32,6 +32,8 @@ public:
///
void normalize(NormalStream & os) const;
///
+ void infoize(std::ostream & os) const;
+ ///
static bool isBigInsetDelim(std::string const &);
private:
Index: src/mathed/math_biginset.C
===================================================================
--- src/mathed/math_biginset.C (Revision 13741)
+++ src/mathed/math_biginset.C (Arbeitskopie)
@@ -98,6 +98,12 @@ void MathBigInset::normalize(NormalStrea
}
+void MathBigInset::infoize(std::ostream & os) const
+{
+ os << name_;
+}
+
+
bool MathBigInset::isBigInsetDelim(string const & delim)
{
// mathed_draw_deco must handle these