Permalink
Browse files

added package.json, updated styles, minor fixes

  • Loading branch information...
1 parent 14e7f27 commit 5de588ab6c1628869dc52ece451f192ce5a311b9 @pedelman committed Sep 1, 2013
Showing with 14 additions and 2 deletions.
  1. +1 −1 main.js
  2. +12 −0 package.json
  3. +1 −1 surround-input-modal.css
View
@@ -66,6 +66,7 @@ define(function (require, exports, module) {
*/
function _replaceActiveSelection(str) {
EditorManager.getActiveEditor()._codeMirror.replaceSelection(str);
+ EditorManager.getActiveEditor();
EditorManager.focusEditor();
}
@@ -114,7 +115,6 @@ define(function (require, exports, module) {
if (e.which === 13) {
e.preventDefault();
var _c = $('#surround_input').val();
- console.log(_c);
if (_c === null) {
return;
View
@@ -0,0 +1,12 @@
+{
+ "name": "pedelman.brackets-surround",
+ "title": "Brackets Surround",
+ "description": "A tool which allows you to wrap selected text with special characters and HTML.",
+ "homepage": "https://github.com/pedelman/brackets-surround",
+ "version": "1.0.3",
+ "author": "Patrick Edelman <patrick.the.edelman@gmail.com> (https://github.com/pedelman)",
+ "license": "MIT",
+ "engines": {
+ "brackets": ">=0.27.0"
+ }
+}
@@ -8,11 +8,11 @@
border: 1px solid #CCC;
border-radius: 6px;
box-shadow: 0px 8px 23px rgba(50, 50, 50, 0.35);
- width: 276px;
}
.surround_input input {
min-width: 260px;
padding: 5px;
outline: 0;
+ margin-bottom:0px;
}

0 comments on commit 5de588a

Please sign in to comment.