Andre Poenitz wrote:

> On Wed, Apr 26, 2006 at 09:30:51AM +0200, Georg Baum wrote:
>> Andre Poenitz wrote:
>> > 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.
> 
> Hm, so then there is some hardcoded trickery to show symbols like
> \alpha somewhere.
> 
> Somthing like that existed at least at some point of time.

It does still exist, but the method is called infoize2. The attached works
and goes in now.


Georg

Log:
        * src/mathed/math_biginset.[Ch]
        (infoize2): Implement to show name if the cursor is to the right
Index: src/mathed/math_biginset.C
===================================================================
--- src/mathed/math_biginset.C	(Revision 13752)
+++ src/mathed/math_biginset.C	(Arbeitskopie)
@@ -98,6 +98,12 @@ void MathBigInset::normalize(NormalStrea
 }
 
 
+void MathBigInset::infoize2(std::ostream & os) const
+{
+	os << name_;
+}
+
+
 bool MathBigInset::isBigInsetDelim(string const & delim)
 {
 	// mathed_draw_deco must handle these
Index: src/mathed/math_biginset.h
===================================================================
--- src/mathed/math_biginset.h	(Revision 13752)
+++ src/mathed/math_biginset.h	(Arbeitskopie)
@@ -32,6 +32,8 @@ public:
 	///
 	void normalize(NormalStream & os) const;
 	///
+	void infoize2(std::ostream & os) const;
+	///
 	static bool isBigInsetDelim(std::string const &);
 
 private:

Reply via email to