зеркало из https://github.com/mozilla/brackets.git
Change links to use new codemirror organization
This commit is contained in:
Родитель
27e6c5abb6
Коммит
41d560c35f
|
@ -86,7 +86,7 @@ Awesome! _There are lots of ways you can help._ First read
|
||||||
then learn how to [pull the repo and hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets).
|
then learn how to [pull the repo and hack on Brackets](https://github.com/adobe/brackets/wiki/How-to-Hack-on-Brackets).
|
||||||
|
|
||||||
The text editor inside Brackets is based on
|
The text editor inside Brackets is based on
|
||||||
[CodeMirror](http://github.com/marijnh/CodeMirror)—thanks to Marijn for
|
[CodeMirror](http://github.com/codemirror/CodeMirror)—thanks to Marijn for
|
||||||
taking our pull requests, implementing feature requests and fixing bugs! See
|
taking our pull requests, implementing feature requests and fixing bugs! See
|
||||||
[Notes on CodeMirror](https://github.com/adobe/brackets/wiki/Notes-on-CodeMirror)
|
[Notes on CodeMirror](https://github.com/adobe/brackets/wiki/Notes-on-CodeMirror)
|
||||||
for info on how we're using CodeMirror.
|
for info on how we're using CodeMirror.
|
||||||
|
|
|
@ -166,7 +166,7 @@ define(function (require, exports, module) {
|
||||||
// Update display of inline editors when the hostEditor signals a redraw
|
// Update display of inline editors when the hostEditor signals a redraw
|
||||||
CodeMirror.on(this.info, "redraw", function () {
|
CodeMirror.on(this.info, "redraw", function () {
|
||||||
// At the point where we get the redraw, CodeMirror might not yet have actually
|
// At the point where we get the redraw, CodeMirror might not yet have actually
|
||||||
// re-added the widget to the DOM. This is filed as https://github.com/marijnh/CodeMirror/issues/1226.
|
// re-added the widget to the DOM. This is filed as https://github.com/codemirror/CodeMirror/issues/1226.
|
||||||
// For now, we can work around it by doing the refresh on a setTimeout().
|
// For now, we can work around it by doing the refresh on a setTimeout().
|
||||||
window.setTimeout(function () {
|
window.setTimeout(function () {
|
||||||
if (self.editor) {
|
if (self.editor) {
|
||||||
|
|
|
@ -120,7 +120,7 @@ define(function (require, exports, module) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME (issue #4564) Workaround https://github.com/marijnh/CodeMirror/issues/1787
|
// FIXME (issue #4564) Workaround https://github.com/codemirror/CodeMirror/issues/1787
|
||||||
triggerUpdateLayout();
|
triggerUpdateLayout();
|
||||||
|
|
||||||
if (!windowResizing) {
|
if (!windowResizing) {
|
||||||
|
|
|
@ -1373,8 +1373,8 @@ define(function (require, exports, module) {
|
||||||
});
|
});
|
||||||
expect(inlineEditor).toHaveInlineEditorRange(toRange(start.line, end.line + 2));
|
expect(inlineEditor).toHaveInlineEditorRange(toRange(start.line, end.line + 2));
|
||||||
|
|
||||||
// TODO: can't do our usual undo + re-check range test at the end, becuase of
|
// TODO: can't do our usual undo + re-check range test at the end, because of
|
||||||
// marijnh/CodeMirror2 bug #487
|
// codemirror/CodeMirror bug #487
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче