mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
Added two ivars to implement the double text network retain/release policy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d500037147
commit
9b784c34c5
1 changed files with 12 additions and 3 deletions
|
@ -103,9 +103,19 @@ typedef enum _NSSelectionAffinity {
|
|||
|
||||
// contains layout information
|
||||
NSLayoutManager *_layoutManager;
|
||||
|
||||
|
||||
// Attributes
|
||||
struct GSTextFlagsType {
|
||||
/* owns_text_network is YES if we have created the whole network
|
||||
of text classes (and thus we are responsible to release them
|
||||
when we are released).
|
||||
|
||||
owns_text_network in NO if the text network was assembled by
|
||||
hand, and the text storage owns everything - thus we need to
|
||||
release nothing. */
|
||||
unsigned owns_text_network: 1;
|
||||
/* Always NO except when we own text network and are deallocating */
|
||||
unsigned is_in_dealloc: 1;
|
||||
unsigned is_field_editor: 1;
|
||||
unsigned is_editable: 1;
|
||||
unsigned is_selectable: 1;
|
||||
|
@ -134,8 +144,7 @@ typedef enum _NSSelectionAffinity {
|
|||
}
|
||||
|
||||
/*
|
||||
* Getting and Setting Contents
|
||||
*/
|
||||
* Getting and Setting Contents */
|
||||
- (void) replaceCharactersInRange: (NSRange)aRange
|
||||
withRTF: (NSData*)rtfData;
|
||||
- (void) replaceCharactersInRange: (NSRange)aRange
|
||||
|
|
Loading…
Reference in a new issue