Skip to content

Commit f03a5e9

Browse files
UpchurchUpchurch
Upchurch
authored and
Upchurch
committed
add minimap plugin compatibility
1 parent 35e7482 commit f03a5e9

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.4.3 - 2015-10-06
2+
* Added compatibility for minimap plugin
3+
14
## 0.4.2 - 2015-09-30
25
* Fixed bug #1 - Uncaught TypeError
36

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2015 <Michael Upchurch>
1+
Copyright (c) 2015 Michael Upchurch
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# split-diff package
22

3+
\*\*\* New minimap plugin released: https://atom.io/packages/minimap-split-diff \*\*\*
4+
35
Diffs text between two split panes. The diff is updated when any changes are made. New panes are created if less than two panes exist upon run of the package. Able to ignore whitespace.
46

57
*This package will unfold all folded lines in order to properly align the diff.*

lib/build-lines.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = class DiffViewEditor {
7575
_createLineMarker(lineNumber: number, type: string): atom$Marker {
7676
var klass = 'split-diff-' + type;
7777
var screenPosition = this._editor.screenPositionForBufferPosition({row: lineNumber, column: 0});
78-
var marker = this._editor.markScreenPosition(screenPosition, {invalidate: 'never'});
78+
var marker = this._editor.markScreenPosition(screenPosition, {invalidate: 'never', class: klass});
7979

8080
this._editor.decorateMarker(marker, {type: 'line', class: klass});
8181
return marker;

0 commit comments

Comments
 (0)