mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 11:35:35 +03:00
ce0e0c64d7
The typesetter will replace the MMCoreTextView of MacVim.
17 lines
378 B
Swift
17 lines
378 B
Swift
//
|
|
// Created by Tae Won Ha on 25.08.18.
|
|
// Copyright (c) 2018 Tae Won Ha. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
struct FontTrait: OptionSet {
|
|
|
|
let rawValue: UInt
|
|
|
|
static let italic = FontTrait(rawValue: 1 << 0)
|
|
static let bold = FontTrait(rawValue: 1 << 1)
|
|
static let underline = FontTrait(rawValue: 1 << 2)
|
|
static let undercurl = FontTrait(rawValue: 1 << 3)
|
|
}
|