Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Add feature. Open line above/below the current line. #2729

Merged
merged 19 commits into from
Apr 22, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Italian strings for OpenLine. Add little changes to tests.
  • Loading branch information
zeis committed Apr 20, 2013
commit 27321f84ef49bbc277a30ebb1300bc5983009973
2 changes: 0 additions & 2 deletions src/nls/it/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@ define({
"CMD_BLOCK_COMMENT" : "Commenta/De-commenta blocco",
"CMD_LINE_UP" : "Sposta la riga in alto",
"CMD_LINE_DOWN" : "Sposta la riga in basso",
"CMD_OPEN_LINE_ABOVE" : "Apri linea in alto",
"CMD_OPEN_LINE_BELOW" : "Apri linea in basso",

// View menu commands
"VIEW_MENU" : "Vista",
Expand Down
16 changes: 7 additions & 9 deletions test/spec/EditorCommandHandlers-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ define(function (require, exports, module) {

var myDocument, myEditor;

var testPath = SpecRunnerUtils.getTestPath("/spec/EditorCommandHandlers-test-files");

function setupFullEditor(content, languageId) {
content = content || defaultContent;
languageId = languageId || "javascript";
Expand Down Expand Up @@ -92,7 +94,7 @@ define(function (require, exports, module) {


// Helper functions for creating / closing a window with an inline editor
function createWindowWithInlineEditor(spec, testPath) {
function createWindowWithInlineEditor(spec) {
var promise;

if (!spec.testWindow) {
Expand Down Expand Up @@ -2121,14 +2123,12 @@ define(function (require, exports, module) {

var self = this;

var testPath = SpecRunnerUtils.getTestPath("/spec/EditorCommandHandlers-test-files");

var moveContent = ".testClass {\n" +
" color: red;\n" +
"}";

beforeEach(function () {
createWindowWithInlineEditor(self, testPath);
createWindowWithInlineEditor(self);
});

afterEach(function () {
Expand Down Expand Up @@ -2620,14 +2620,12 @@ define(function (require, exports, module) {

var self = this;

var testPath = SpecRunnerUtils.getTestPath("/spec/EditorCommandHandlers-test-files");

var content = ".testClass {\n" +
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you align this strings, and move the testPath to the first describe: describe("EditorCommandHandlers" and remove it from describe("Move Lines Up/Down - inline editor" since it doesn't need to be called twice.

" color: red;\n" +
"}";
" color: red;\n" +
"}";

beforeEach(function () {
createWindowWithInlineEditor(self, testPath);
createWindowWithInlineEditor(self);
});

afterEach(function () {
Expand Down