codemirror-rails 4.10 → 4.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a4bb46e0301a0f307a6f66351d88880b3491fda
|
4
|
+
data.tar.gz: a0b67a693c500f1e6b6f111138b445b46316d22f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6240ed9f991dff857cca43479ed33f3adabf85d443408f88228f9a5a9b7e31e63643d59b617bf6c3da1b5ad36f25beb99e8bf9190b1ec6b809fc39b11de74ee
|
7
|
+
data.tar.gz: a2af425ce6c2042e65526137fdd577cd72a88975f779bf7ec7458d30dc1e2ea6ec244ec17fbfc773b096c4f4ee0861e9b6ddc5e76b8fbda9fcbc0496d7f24101
|
@@ -719,7 +719,7 @@
|
|
719
719
|
// width and height.
|
720
720
|
removeChildren(display.cursorDiv);
|
721
721
|
removeChildren(display.selectionDiv);
|
722
|
-
display.
|
722
|
+
display.gutters.style.height = 0;
|
723
723
|
|
724
724
|
if (different) {
|
725
725
|
display.lastWrapHeight = update.wrapperHeight;
|
@@ -777,9 +777,9 @@
|
|
777
777
|
|
778
778
|
function setDocumentHeight(cm, measure) {
|
779
779
|
cm.display.sizer.style.minHeight = measure.docHeight + "px";
|
780
|
-
var
|
781
|
-
cm.display.heightForcer.style.top =
|
782
|
-
cm.display.gutters.style.height = Math.max(
|
780
|
+
var total = measure.docHeight + cm.display.barHeight;
|
781
|
+
cm.display.heightForcer.style.top = total + "px";
|
782
|
+
cm.display.gutters.style.height = Math.max(total + scrollGap(cm), measure.clientHeight) + "px";
|
783
783
|
}
|
784
784
|
|
785
785
|
// Read the actual heights of the rendered lines, and update their
|
@@ -8023,7 +8023,7 @@
|
|
8023
8023
|
|
8024
8024
|
// THE END
|
8025
8025
|
|
8026
|
-
CodeMirror.version = "4.
|
8026
|
+
CodeMirror.version = "4.11.0";
|
8027
8027
|
|
8028
8028
|
return CodeMirror;
|
8029
8029
|
});
|