Remove old code

Bu işleme şunda yer alıyor:
Shadowfacts 2020-04-04 13:25:51 -04:00
ebeveyn 2088a91098
işleme b971952217
İmzalayan: shadowfacts
GPG Anahtar Kimliği: 94A5AB95422746E5
1 değiştirilmiş dosya ile 2 ekleme ve 14 silme

Dosyayı Görüntüle

@ -53,9 +53,7 @@ class QueryViewController: NSViewController {
queryTextView.font = .monospacedSystemFont(ofSize: 13, weight: .regular)
queryTextView.isAutomaticQuoteSubstitutionEnabled = false
queryTextView.string = defaultQuery
// queryTextView.delegate = self
// highlightQuery()
outlineView.dataSource = self
outlineView.delegate = self
@ -77,11 +75,7 @@ class QueryViewController: NSViewController {
view.window!.makeFirstResponder(outlineView)
}
// func highlightQuery() {
// JavaScriptHighlighter(mutableAttributed: queryTextView.textStorage!).highlight()
// }
func refresh(reload: Bool = true) {
if let query = mostRecentQuery {
let connStr = "\(mongoController.connectionString)/\(collection.database)"
@ -175,12 +169,6 @@ class QueryViewController: NSViewController {
}
}
//
//extension QueryViewController: NSTextViewDelegate {
// func textDidChange(_ notification: Notification) {
// highlightQuery()
// }
//}
extension QueryViewController: NSMenuItemValidation {
func validateMenuItem(_ menuItem: NSMenuItem) -> Bool {