Skip to content

Instantly share code, notes, and snippets.

View ngquerol's full-sized avatar
📖

Nicolas G. Querol ngquerol

📖
View GitHub Profile
@roblogic
roblogic / msys2-setup.md
Last active May 11, 2024 11:00
MSYS2 first time setup
@mminer
mminer / HyperlinkTextView.swift
Last active February 7, 2023 07:14
NSTextView subclass that displays and opens hyperlinks.
// You don't necessarily need this subclass if your NSTextView is selectable.
// If it isn't though, this allows you to have an uneditable, unselectable label where links work as expected.
import AppKit
class HyperlinkTextView: NSTextView {
override func mouseDown(with event: NSEvent) {
super.mouseDown(with: event)
openClickedHyperlink(with: event)
@unnamedd
unnamedd / MacEditorTextView.swift
Last active May 26, 2024 17:49
[SwiftUI] MacEditorTextView - A simple and small NSTextView wrapped by SwiftUI.
/**
* MacEditorTextView
* Copyright (c) Thiago Holanda 2020-2021
* https://twitter.com/tholanda
*
* MIT license
*/
import Combine
import SwiftUI