1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 11:35:35 +03:00
vimr/NvimView/DrawerDev/FontTrait.swift
Tae Won Ha ce0e0c64d7 GH-666 Add a new typesetter [WIP]
The typesetter will replace the MMCoreTextView of MacVim.
2018-08-27 18:46:02 +02:00

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)
}