mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
add warning comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32527 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b0af15ff80
commit
19f8307312
1 changed files with 9 additions and 3 deletions
|
@ -136,9 +136,15 @@ first. Remaining cases, highest priority first:
|
|||
/**
|
||||
* Temporary attributes are implemented using an NSMutableAttributedString
|
||||
* stored in the _temporaryAttributes ivar. We only care about this attributed
|
||||
* string's attributes, not its characters, so to save space, _temporaryAttributes
|
||||
* is initialized with an instance of the following NSMutableString subclass,
|
||||
* which doesn't store any character data.
|
||||
* string's attributes, not its characters, so to save space,
|
||||
* _temporaryAttributes is initialized with an instance of the following
|
||||
* NSMutableString subclass, which doesn't store any character data.
|
||||
*
|
||||
* WARNING ... it's an unofficial implementation detail that the
|
||||
* GSMutableAttributedString class creates it's internal storage by taking
|
||||
* a mutable copy of its initialisation argument, and we have a comment in
|
||||
* the source to warn about it. If we change the behavior here, we should
|
||||
* remove the warning comment from the source in base.
|
||||
*/
|
||||
@interface GSDummyMutableString : NSMutableString
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue