Skip to content

Commit a143144

Browse files
ItemBox updates
1 parent 99a839a commit a143144

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

Package.resolved

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Sources/CodeEditSourceEditor/Controller/TextViewController+IndentLines.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension TextViewController {
2323
guard !cursorPositions.isEmpty else { return }
2424

2525
textView.undoManager?.beginUndoGrouping()
26-
for cursorPosition in self.cursorPositions.reversed() {
26+
for cursorPosition in self.cursorPositions.reversed() {
2727
// get lineindex, i.e line-numbers+1
2828
guard let lineIndexes = getHighlightedLines(for: cursorPosition.range) else { continue }
2929

Sources/CodeEditSourceEditor/Gutter/GutterView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import AppKit
99
import CodeEditTextView
10-
//import CodeEditTextViewObjC
10+
import CodeEditTextViewObjC
1111

1212
public protocol GutterViewDelegate: AnyObject {
1313
func gutterViewWidthDidUpdate(newWidth: CGFloat)

Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient+Query.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import SwiftTreeSitter
1212
// Functions for querying and navigating the tree-sitter node tree. These functions should throw if not able to be
1313
// performed asynchronously as (currently) any editing tasks that would use these must be performed synchronously.
1414

15-
extension TreeSitterClient {
15+
public extension TreeSitterClient {
1616
public struct NodeResult {
1717
let id: TreeSitterLanguage
1818
let language: Language

0 commit comments

Comments
 (0)