Files
Down/Source/AST/Styling/Text Views/DownDebugTextView.swift
T
Vlad Gorlov c20e8e2d4c Added Linux support. (#172)
* Added check for os(Linux)

* Sources adopted to Swift Linux Compiler v5.0

* Added Docker configuration to be used for Linux builds.

* Renamed Script.

* Docker configuration update.

* Fixes Linux compile errors.

* Nicification.
2019-10-08 22:43:35 -04:00

36 lines
724 B
Swift

//
// DownDebugTextView.swift
// Down
//
// Created by John Nguyen on 06.08.19.
// Copyright © 2016-2019 Down. All rights reserved.
//
#if !os(watchOS) && !os(Linux)
#if canImport(UIKit)
import UIKit
#elseif canImport(AppKit)
import AppKit
#endif
/// A text view capable of parsing and rendering markdown via the AST, as well as line fragments.
///
/// See `DownDebugLayoutManager`.
public class DownDebugTextView: DownTextView {
public init(frame: CGRect, styler: Styler = DownStyler()) {
super.init(frame: frame, styler: styler, layoutManager: DownDebugLayoutManager())
}
required public init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}
#endif