Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30eb8a8

Browse files
[hotfix:] Use Correct Minimap Line Height (#321)
### DescriptionUpdates the `MinimapLineRenderer` to have the correct protocolparameters to correctly set it's customized layout information.### Related IssuesN/A### Checklist- [x] I read and understood the [contributingguide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)as well as the [code ofconduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)- [x] The issues this PR addresses are related to each other- [x] My changes generate no new warnings- [x] My code builds and runs on my machine- [x] My changes are all related to the related issue above- [x] I documented my code### Screenshots
1 parent1109665 commit30eb8a8

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

‎Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Package.resolved‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎Package.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let package = Package(
1717
// A fast, efficient, text view for code.
1818
.package(
1919
url:"https://github.com/CodeEditApp/CodeEditTextView.git",
20-
from:"0.11.0"
20+
from:"0.11.1"
2121
),
2222
// tree-sitter languages
2323
.package(

‎Sources/CodeEditSourceEditor/Minimap/MinimapLineRenderer.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ final class MinimapLineRenderer: TextLayoutManagerRenderDelegate {
2121
range:NSRange,
2222
stringRef:NSTextStorage,
2323
markedRanges:MarkedRanges?,
24-
lineBreakStrategy:LineBreakStrategy
24+
attachments:[AnyTextAttachment]
2525
){
2626
letmaxWidth:CGFloat=iflet textView, textView.wrapLines{
2727
textView.layoutManager.maxLineLayoutWidth

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp