Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It uses the node-copy-paste library for accessing the clipboard: https://github.
* 1.3.1
* Fixed cursor position after cut
* 1.3.0
* Added multi-langauge support
* Added multi-language support
* 1.2.0
* Cursor now sits at the end of pasted content
* No longer copies blank selections
Expand Down
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(function (require, exports, module) {
var NodeConnection = brackets.getModule("utils/NodeConnection");
var ExtensionUtils = brackets.getModule("utils/ExtensionUtils");
var AppInit = brackets.getModule("utils/AppInit");
var bracketsStrings = brackets.getModule("strings")
var bracketsStrings = brackets.getModule("strings");
var nodeConnection = new NodeConnection();

function chain() {
Expand Down Expand Up @@ -87,7 +87,7 @@ define(function (require, exports, module) {
var thisEditor = EditorManager.getCurrentFullEditor();

//check selection is not blank
if(thisEditor._codeMirror.getSelection().trim() != ''){
if(thisEditor._codeMirror.getSelection().trim() !== ''){
nodeConnection.domains.clipboard.callCopy(thisEditor._codeMirror.getSelection());
}

Expand Down Expand Up @@ -116,4 +116,4 @@ define(function (require, exports, module) {


//exports.handleRightClickExtended = handleRightClickExtended;
});
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jarradsalmon.rightclickextended",
"title": "Right Click Extended",
"description": "Adds Cut, Copy and Paste options to the right click menu - now with multi-langauge support",
"description": "Adds Cut, Copy and Paste options to the right click menu - now with multi-language support.",
"homepage": "https://github.com/jbardnz/RightClickExtended",
"version": "1.3.1",
"author": "Jarrad Salmon <jbardnz@gmail.com>",
Expand Down