[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31468] multi-line text objects
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #31468] multi-line text objects |
Date: |
Sat, 13 Aug 2011 19:59:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110430 Iceweasel/3.5.19 (like Firefox/3.5.19) |
Follow-up Comment #36, bug #31468 (project octave):
You changed the "string" property of the text object to be any_property. I'd
rather not do that, since then it could be possible for this property to be
incorrectly constructed and contain things that the rendering code is not
expecting.
I'm not sure what would be most convenient, but I think the string property
should use some other type of property object that more closely models what is
going on here. The object should only store char matrices or cellstr objects.
It should have a constructor (or constructors) that accepts strings, char
matrices, cellstr objects, and numeric arrays and converts to the appropriate
internal representation.
By restricting what this object can contain to only what we need, users of the
object don't have to check to be sure that some unexpected type of value is
stored there, which makes things simpler for the rendering code.
I'm also not sure what the best name is for this new object. Maybe a
text_label_property or similar?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31468>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #31468] multi-line text objects, (continued)
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Jordi GutiƩrrez Hermoso, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, John W. Eaton, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/12
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/13
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/13
- [Octave-bug-tracker] [bug #31468] multi-line text objects,
John W. Eaton <=
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/13
- [Octave-bug-tracker] [bug #31468] multi-line text objects, John W. Eaton, 2011/08/13
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/13
- [Octave-bug-tracker] [bug #31468] multi-line text objects, John W. Eaton, 2011/08/14
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/15
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/15
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/15
- Message not available
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/15
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Vanya Sergeev, 2011/08/16
- [Octave-bug-tracker] [bug #31468] multi-line text objects, Ben Abbott, 2011/08/16