@@ -1366,6 +1366,39 @@ <h4>Declaration</h4>
1366
1366
</ section >
1367
1367
</ div >
1368
1368
</ li >
1369
+ < li class ="item ">
1370
+ < div >
1371
+ < code >
1372
+ < a name ="/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp "> </ a >
1373
+ < a name ="//apple_ref/swift/Property/forceApplyAttributedText " class ="dashAnchor "> </ a >
1374
+ < a class ="token " href ="#/s:6Proton10EditorViewC24forceApplyAttributedTextSbvp "> forceApplyAttributedText</ a >
1375
+ </ code >
1376
+ </ div >
1377
+ < div class ="height-container ">
1378
+ < div class ="pointer-container "> </ div >
1379
+ < section class ="section ">
1380
+ < div class ="pointer "> </ div >
1381
+ < div class ="abstract ">
1382
+ < p > Forces setting attributed text in < code > EditorView</ code > even if it is not
1383
+ yet in view hierarchy.</ p >
1384
+ < div class ="aside aside-note ">
1385
+ < p class ="aside-title "> Note</ p >
1386
+ This may result in misplaced < code > < a href ="../Classes/Attachment.html "> Attachment</ a > </ code > s and is recommended to be set to < code > true</ code > only in unit tests.
1387
+
1388
+ </ div >
1389
+
1390
+ </ div >
1391
+ < div class ="declaration ">
1392
+ < h4 > Declaration</ h4 >
1393
+ < div class ="language ">
1394
+ < p class ="aside-title "> Swift</ p >
1395
+ < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="k "> var</ span > < span class ="nv "> forceApplyAttributedText</ span > < span class ="p "> :</ span > < span class ="kt "> Bool</ span > </ code > </ pre >
1396
+
1397
+ </ div >
1398
+ </ div >
1399
+ </ section >
1400
+ </ div >
1401
+ </ li >
1369
1402
< li class ="item ">
1370
1403
< div >
1371
1404
< code >
@@ -2226,6 +2259,38 @@ <h4>Declaration</h4>
2226
2259
</ section >
2227
2260
</ div >
2228
2261
</ li >
2262
+ < li class ="item ">
2263
+ < div >
2264
+ < code >
2265
+ < a name ="/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow "> </ a >
2266
+ < a name ="//apple_ref/swift/Method/didMoveToWindow() " class ="dashAnchor "> </ a >
2267
+ < a class ="token " href ="#/c:@M@Proton@objc(cs)EditorView(im)didMoveToWindow "> didMoveToWindow()</ a >
2268
+ </ code >
2269
+ </ div >
2270
+ < div class ="height-container ">
2271
+ < div class ="pointer-container "> </ div >
2272
+ < section class ="section ">
2273
+ < div class ="pointer "> </ div >
2274
+ < div class ="abstract ">
2275
+ < p > Subclasses can override it to perform additional actions whenever the window changes.</ p >
2276
+ < div class ="aside aside-important ">
2277
+ < p class ="aside-title "> Important</ p >
2278
+ Overriding implementations must call < code > super.didMoveToWindow()</ code >
2279
+
2280
+ </ div >
2281
+
2282
+ </ div >
2283
+ < div class ="declaration ">
2284
+ < h4 > Declaration</ h4 >
2285
+ < div class ="language ">
2286
+ < p class ="aside-title "> Swift</ p >
2287
+ < pre class ="highlight swift "> < code > < span class ="kd "> open</ span > < span class ="k "> override</ span > < span class ="kd "> func</ span > < span class ="nf "> didMoveToWindow</ span > < span class ="p "> ()</ span > </ code > </ pre >
2288
+
2289
+ </ div >
2290
+ </ div >
2291
+ </ section >
2292
+ </ div >
2293
+ </ li >
2229
2294
< li class ="item ">
2230
2295
< div >
2231
2296
< code >
@@ -2366,9 +2431,9 @@ <h4>Declaration</h4>
2366
2431
< li class ="item ">
2367
2432
< div >
2368
2433
< code >
2369
- < a name ="/s:6Proton10EditorViewC21getFullAttributedText5usingSo18NSAttributedStringCAA27AttachmentContentIdentifierV_tF "> </ a >
2370
- < a name ="//apple_ref/swift/Method/getFullAttributedText(using:) " class ="dashAnchor "> </ a >
2371
- < a class ="token " href ="#/s:6Proton10EditorViewC21getFullAttributedText5usingSo18NSAttributedStringCAA27AttachmentContentIdentifierV_tF "> getFullAttributedText(using:< wbr > )</ a >
2434
+ < a name ="/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF "> </ a >
2435
+ < a name ="//apple_ref/swift/Method/getFullAttributedText(using:in: ) " class ="dashAnchor "> </ a >
2436
+ < a class ="token " href ="#/s:6Proton10EditorViewC21getFullAttributedText5using2inSo18NSAttributedStringCAA27AttachmentContentIdentifierV_So8_NSRangeVSgtF "> getFullAttributedText(using: < wbr > in :< wbr > )</ a >
2372
2437
</ code >
2373
2438
</ div >
2374
2439
< div class ="height-container ">
@@ -2389,7 +2454,7 @@ <h4>Declaration</h4>
2389
2454
< h4 > Declaration</ h4 >
2390
2455
< div class ="language ">
2391
2456
< p class ="aside-title "> Swift</ p >
2392
- < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="kd "> func</ span > < span class ="nf "> getFullAttributedText</ span > < span class ="p "> (</ span > < span class ="n "> using</ span > < span class ="nv "> attachmentContentIdentifier</ span > < span class ="p "> :</ span > < span class ="kt "> < a href ="../Structs/AttachmentContentIdentifier.html "> AttachmentContentIdentifier</ a > </ span > < span class ="p "> )</ span > < span class ="o "> -></ span > < span class ="kt "> NSAttributedString</ span > </ code > </ pre >
2457
+ < pre class ="highlight swift "> < code > < span class ="kd "> public</ span > < span class ="kd "> func</ span > < span class ="nf "> getFullAttributedText</ span > < span class ="p "> (</ span > < span class ="n "> using</ span > < span class ="nv "> attachmentContentIdentifier</ span > < span class ="p "> :</ span > < span class ="kt "> < a href ="../Structs/AttachmentContentIdentifier.html "> AttachmentContentIdentifier</ a > </ span > < span class ="p "> , </ span > < span class =" k " > in </ span > < span class =" nv " > range </ span > < span class =" p " > : </ span > < span class =" kt " > NSRange </ span > < span class =" p " > ? </ span > < span class =" o " > = </ span > < span class =" kc " > nil </ span > < span class =" p " > )</ span > < span class ="o "> -></ span > < span class ="kt "> NSAttributedString</ span > </ code > </ pre >
2393
2458
2394
2459
</ div >
2395
2460
</ div >
@@ -4411,7 +4476,7 @@ <h4>Return Value</h4>
4411
4476
</ section >
4412
4477
</ section >
4413
4478
< section id ="footer ">
4414
- < p > © 2023 < a class ="link " href ="" target ="_blank " rel ="external noopener "> Rajdeep Kwatra</ a > . All rights reserved. (Last updated: 2023-06-15 )</ p >
4479
+ < p > © 2023 < a class ="link " href ="" target ="_blank " rel ="external noopener "> Rajdeep Kwatra</ a > . All rights reserved. (Last updated: 2023-06-19 )</ p >
4415
4480
< p > Generated by < a class ="link " href ="https://github.com/realm/jazzy " target ="_blank " rel ="external noopener "> jazzy ♪♫ v0.14.3</ a > , a < a class ="link " href ="https://realm.io " target ="_blank " rel ="external noopener "> Realm</ a > project.</ p >
4416
4481
</ section >
4417
4482
</ article >
0 commit comments