This file is indexed.

/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSAttributedString.html is in gnustep-base-doc 1.24.7-1build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
    <title>NSAttributedString class reference</title>
  </head>
  <body>
    <font face="serif">
    <a href="Base.html">Up</a>
    <br />
    <h1><a name="title$NSAttributedString">NSAttributedString class reference</a></h1>
    <h3>Authors</h3>
    <dl>
      <dt>ANOQ of the sun (<a href="mailto:anoq@vip.cybercity.dk"><code>anoq@vip.cybercity.dk</code></a>)</dt>
      <dd>
      </dd>
      <dt>Richard Frith-Macdonald (<a href="mailto:richard@brainstorm.co.uk"><code>richard@brainstorm.co.uk</code></a>)</dt>
      <dd>
      </dd>
    </dl>
    <p><b>Version:</b> 37003</p>
    <p><b>Date:</b> 2013-08-22 16:44:54 +0100 (Thu, 22 Aug 2013)</p>
    <p><b>Copyright:</b> (C) 1997,1999 Free Software Foundation, Inc.</p>

        <div>
      <hr width="50%" align="left" />
      <h3>Contents -</h3>
      <ol>
        <li>
          <a href="#001000000000">Software documentation for the NSAttributedString
        class</a>
        </li>
        <li>
          <a href="#002000000000">Software documentation for the
        NSMutableAttributedString class</a>
        </li>
      </ol>
      <hr width="50%" align="left" />
    </div>

          <h1><a name="001000000000">
        Software documentation for the NSAttributedString
        class
      </a></h1>
    <h2><a name="class$NSAttributedString">NSAttributedString</a> : <a rel="gsdoc" href="NSObject.html#class$NSObject">NSObject</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSAttributedString.h</dd>
      </dl>
    </blockquote>
    <blockquote>
      <dl>
        <dt><b>Conforms to:</b></dt>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCoding)">NSCoding</a></dd>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSCopying)">NSCopying</a></dd>
        <dd><a rel="gsdoc" href="NSObject.html#protocol$(NSMutableCopying)">NSMutableCopying</a></dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
          A string in which name-value pairs represented by an
          <a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>

            may be associated to ranges of characters. Used for
            text rendering by the GUI/AppKit framework, in which
            fonts, sizes, etc. are stored under standard
            attributes in the dictionaries.
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-attribute$atIndex$effectiveRange$">-attribute:atIndex:effectiveRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-attribute$atIndex$longestEffectiveRange$inRange$">-attribute:atIndex:longestEffectiveRange:inRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-attributedSubstringFromRange$">-attributedSubstringFromRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-attributesAtIndex$effectiveRange$">-attributesAtIndex:effectiveRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-attributesAtIndex$longestEffectiveRange$inRange$">-attributesAtIndex:longestEffectiveRange:inRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-initWithAttributedString$">-initWithAttributedString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-initWithString$">-initWithString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-initWithString$attributes$">-initWithString:attributes:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-isEqualToAttributedString$">-isEqualToAttributedString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-length">-length</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSAttributedString-string">-string</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSAttributedString-attribute$atIndex$effectiveRange$">attribute:&nbsp;atIndex:&nbsp;effectiveRange:&nbsp;</a></h3>
    - (id) <b>attribute:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)attributeName<b> atIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index<b> effectiveRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>*)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns value for given attribute at
            <var>index</var>, and, if effectiveRange is non-nil,
            this gets filled with a range over which this value
            holds. This may not be the maximum range, depending
            on the implementation.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-attribute$atIndex$longestEffectiveRange$inRange$">attribute:&nbsp;atIndex:&nbsp;longestEffectiveRange:&nbsp;inRange:&nbsp;</a></h3>
    - (id) <b>attribute:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)attributeName<b> atIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index<b> longestEffectiveRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>*)aRange<b> inRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)rangeLimit;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns value for given attribute at
            <var>index</var>, and, if longestEffectiveRange is
            non-nil, this gets filled with the range over
            which the attribute applies, clipped to
            <var>rangeLimit</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-attributedSubstringFromRange$">attributedSubstringFromRange:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*) <b>attributedSubstringFromRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns substring with attribute information.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-attributesAtIndex$effectiveRange$">attributesAtIndex:&nbsp;effectiveRange:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>attributesAtIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index<b> effectiveRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>*)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns attributes and values at <var>index</var>,
            and, if effectiveRange is non-nil, this gets filled
            with a range over which these attributes and values
            still hold. This may not be the maximum range,
            depending on the implementation.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-attributesAtIndex$longestEffectiveRange$inRange$">attributesAtIndex:&nbsp;longestEffectiveRange:&nbsp;inRange:&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*) <b>attributesAtIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index<b> longestEffectiveRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>*)aRange<b> inRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)rangeLimit;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns attributes and values at <var>index</var>,
            and, if longestEffectiveRange is non-nil, this gets
            filled with the range over which the attribute-value
            set is the same as at <var>index</var>, clipped to
            <var>rangeLimit</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-initWithAttributedString$">initWithAttributedString:&nbsp;</a></h3>
    - (id) <b>initWithAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)attributedString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Initialize to copy of
            <var>attributedString</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-initWithString$">initWithString:&nbsp;</a></h3>
    - (id) <b>initWithString:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Initialize to <var>aString</var> with no
            attributes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-initWithString$attributes$">initWithString:&nbsp;attributes:&nbsp;</a></h3>
    - (id) <b>initWithString:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aString<b> attributes:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Initialize to <var>aString</var> with given
            <var>attributes</var> applying over full range of
            string.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-isEqualToAttributedString$">isEqualToAttributedString:&nbsp;</a></h3>
    - (BOOL) <b>isEqualToAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)otherString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns whether all characters and attributes are
            equal between this string and <var>otherString</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-length">length&nbsp;</a></h3>
    - (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>) <b>length</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Return length of the underlying string.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSAttributedString-string">string&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*) <b>string</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns the string content of the receiver. <br />
            NB. this is actually a proxy to the internal content
            (which may change) so if you need an immutable
            instance yu should copy the returned value, not
            jhust retain it. <br /> Return the underlying string,
            stripped of attributes.
          
    </div>
    <hr width="25%" align="left" />
</div>

          <h1><a name="002000000000">
        Software documentation for the
        NSMutableAttributedString class
      </a></h1>
    <h2><a name="class$NSMutableAttributedString">NSMutableAttributedString</a> : <a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a></h2>
    <blockquote class="declared">
      <dl>
        <dt><b>Declared in:</b></dt>
        <dd>Foundation/NSAttributedString.h</dd>
      </dl>
    </blockquote>
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
          Mutable version of
          <a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>

            .
        
    </div>
    <b>Method summary</b>
    <ul>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-addAttribute$value$range$">-addAttribute:value:range:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-addAttributes$range$">-addAttributes:range:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-appendAttributedString$">-appendAttributedString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-beginEditing">-beginEditing</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-deleteCharactersInRange$">-deleteCharactersInRange:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-endEditing">-endEditing</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-insertAttributedString$atIndex$">-insertAttributedString:atIndex:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-mutableString">-mutableString</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-removeAttribute$range$">-removeAttribute:range:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-replaceCharactersInRange$withAttributedString$">-replaceCharactersInRange:withAttributedString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-replaceCharactersInRange$withString$">-replaceCharactersInRange:withString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-setAttributedString$">-setAttributedString:</a></li>
      <li><a rel="gsdoc" href="NSAttributedString.html#method$NSMutableAttributedString-setAttributes$range$">-setAttributes:range:</a></li>
    </ul>
    <hr width="50%" align="left" />
<div class="method">
    <h3><a name="method$NSMutableAttributedString-addAttribute$value$range$">addAttribute:&nbsp;value:&nbsp;range:&nbsp;</a></h3>
    - (void) <b>addAttribute:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> value:</b> (id)value<b> range:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Adds attribute applying to given range.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-addAttributes$range$">addAttributes:&nbsp;range:&nbsp;</a></h3>
    - (void) <b>addAttributes:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes<b> range:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Add <var>attributes</var> to apply over given range.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-appendAttributedString$">appendAttributedString:&nbsp;</a></h3>
    - (void) <b>appendAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)attributedString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Appends attributed string to end of this one,
            preserving attributes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-beginEditing">beginEditing&nbsp;</a></h3>
    - (void) <b>beginEditing</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
An empty method provided for subclasses to override.<br />
    <div class="desc">
      
            Call before executing a collection of changes, for
            optimization.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-deleteCharactersInRange$">deleteCharactersInRange:&nbsp;</a></h3>
    - (void) <b>deleteCharactersInRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Removes characters and attributes applying to them.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-endEditing">endEditing&nbsp;</a></h3>
    - (void) <b>endEditing</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
An empty method provided for subclasses to override.<br />
    <div class="desc">
      
            Call after executing a collection of changes, for
            optimization.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-insertAttributedString$atIndex$">insertAttributedString:&nbsp;atIndex:&nbsp;</a></h3>
    - (void) <b>insertAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)attributedString<b> atIndex:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSUInteger">NSUInteger</a>)index;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Inserts attributed string within this one,
            preserving attributes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-mutableString">mutableString&nbsp;</a></h3>
    - (<a rel="gsdoc" href="NSString.html#class$NSMutableString">NSMutableString</a>*) <b>mutableString</b>;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Returns mutable version of the underlying string.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-removeAttribute$range$">removeAttribute:&nbsp;range:&nbsp;</a></h3>
    - (void) <b>removeAttribute:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)name<b> range:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Removes given attribute from <var>aRange</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-replaceCharactersInRange$withAttributedString$">replaceCharactersInRange:&nbsp;withAttributedString:&nbsp;</a></h3>
    - (void) <b>replaceCharactersInRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange<b> withAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)attributedString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Replaces substring and attributes.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-replaceCharactersInRange$withString$">replaceCharactersInRange:&nbsp;withString:&nbsp;</a></h3>
    - (void) <b>replaceCharactersInRange:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange<b> withString:</b> (<a rel="gsdoc" href="NSString.html#class$NSString">NSString</a>*)aString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
Subclasses <strong>must</strong> override this method.<br />
    <div class="desc">
      
            Replaces substring; replacement is granted
            attributes equal to those of the first character
            of the portion replaced.
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-setAttributedString$">setAttributedString:&nbsp;</a></h3>
    - (void) <b>setAttributedString:</b> (<a rel="gsdoc" href="#class$NSAttributedString">NSAttributedString</a>*)attributedString;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Replaces entire contents (so this object can be
            reused).
          
    </div>
    <hr width="25%" align="left" />
</div>
<div class="method">
    <h3><a name="method$NSMutableAttributedString-setAttributes$range$">setAttributes:&nbsp;range:&nbsp;</a></h3>
    - (void) <b>setAttributes:</b> (<a rel="gsdoc" href="NSDictionary.html#class$NSDictionary">NSDictionary</a>*)attributes<b> range:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSRange">NSRange</a>)aRange;<br />
    <div class="availability">
<b>Availability:</b> MacOS-X 10.0.0</div>
<br />
    <div class="desc">
      
            Sets <var>attributes</var> to apply over range,
            replacing any previous <var>attributes</var>.
          
    </div>
    <hr width="25%" align="left" />
</div>
    <br />
    <a href="Base.html">Up</a>
    </font>
</body>
</html>