//
//  XTMutableAttributedStringHelper.h
//  XTads
//
//  Created by Rune Berg on 08/06/2019.
//  Copyright © 2019 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XTHtmlTagTab.h"

//NS_ASSUME_NONNULL_BEGIN

@interface XTMutableAttributedStringHelper : NSObject

+ (void)addTabTag:(XTHtmlTagTab *)tagTab toString:(NSMutableAttributedString *)attrString;

+ (NSArray<XTHtmlTagTab *> *)getTabTagsForString:(NSAttributedString *)attrString;

+ (void)removeTabTagsForString:(NSMutableAttributedString *)mutAttrString;

+ (BOOL)isFromExpandedTabTagWithIndent:(NSAttributedString *)attrString;

@end

//NS_ASSUME_NONNULL_END
