Hi,

while debugging SWK on gnustep, Fred found out that we have a problem that the string returned by the textview is not a copy.

On cocoa it works, it would be nice if somebody can confirm that Cocoa returns a copy.

In NSTextView:
 - (NSString *) string
 {
  return [_textStorage string];
 }

If a copy is needed, should it be tone at the textview or at the textstorage level? Matching Cocoa behaviour is of course the goal.

Riccardo

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to