qword 1.1.12 → 1.1.13

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.
Files changed (53) hide show
  1. package/ChangeLog +5 -0
  2. package/client/options.js +6 -4
  3. package/dist/qword.js +1 -1
  4. package/dist/qword.js.map +1 -1
  5. package/dist-dev/qword.js +1 -1
  6. package/package.json +1 -1
  7. package/modules/cm-searchbox/ChangeLog +0 -60
  8. package/modules/cm-searchbox/LICENSE +0 -21
  9. package/modules/cm-searchbox/README.md +0 -27
  10. package/modules/cm-searchbox/bower.json +0 -26
  11. package/modules/cm-searchbox/img/searchbox.png +0 -0
  12. package/modules/cm-searchbox/lib/searchbox.js +0 -679
  13. package/modules/cm-searchbox/package.json +0 -27
  14. package/modules/cm-show-invisibles/ChangeLog +0 -108
  15. package/modules/cm-show-invisibles/LICENSE +0 -21
  16. package/modules/cm-show-invisibles/README.md +0 -25
  17. package/modules/cm-show-invisibles/bower.json +0 -25
  18. package/modules/cm-show-invisibles/lib/show-invisibles.js +0 -131
  19. package/modules/cm-show-invisibles/package.json +0 -34
  20. package/modules/codemirror-emmet/README.md +0 -56
  21. package/modules/codemirror-emmet/dist/emmet.js +0 -48661
  22. package/modules/codemirror-emmet/dist/emmet.min.js +0 -8
  23. package/modules/codemirror-emmet/dist/emmetPlugin.js +0 -840
  24. package/modules/codemirror-emmet/dist/emmetPlugin.min.js +0 -1
  25. package/modules/codemirror-emmet/dist/index.html +0 -46
  26. package/modules/codemirror-emmet/editor.js +0 -204
  27. package/modules/codemirror-emmet/gulpfile.js +0 -54
  28. package/modules/codemirror-emmet/index.html +0 -68
  29. package/modules/codemirror-emmet/package.json +0 -36
  30. package/modules/codemirror-emmet/plugin.js +0 -201
  31. package/modules/codemirror-emmet/shim.js +0 -19
  32. package/modules/codemirror-emmet/vendor/almond.js +0 -410
  33. package/modules/codemirror-emmet/vendor/codemirror/v4/codemirror.css +0 -270
  34. package/modules/codemirror-emmet/vendor/codemirror/v4/codemirror.js +0 -7339
  35. package/modules/codemirror-emmet/vendor/codemirror/v4/css.js +0 -701
  36. package/modules/codemirror-emmet/vendor/codemirror/v4/htmlmixed.js +0 -117
  37. package/modules/codemirror-emmet/vendor/codemirror/v4/xml.js +0 -349
  38. package/modules/execon/ChangeLog +0 -86
  39. package/modules/execon/LICENSE +0 -20
  40. package/modules/execon/README.md +0 -154
  41. package/modules/execon/bower.json +0 -25
  42. package/modules/execon/lib/exec.js +0 -244
  43. package/modules/execon/package.json +0 -23
  44. package/modules/jshint/README.md +0 -114
  45. package/modules/jshint/dist/jshint-rhino.js +0 -32143
  46. package/modules/jshint/dist/jshint.js +0 -32141
  47. package/modules/jshint/package.json +0 -77
  48. package/modules/loadremote/ChangeLog +0 -23
  49. package/modules/loadremote/LICENSE +0 -21
  50. package/modules/loadremote/README.md +0 -53
  51. package/modules/loadremote/bower.json +0 -27
  52. package/modules/loadremote/lib/loadremote.js +0 -147
  53. package/modules/loadremote/package.json +0 -26
@@ -1,27 +0,0 @@
1
- {
2
- "name": "cm-searchbox",
3
- "version": "1.0.8",
4
- "description": "CodeMirror searchbox",
5
- "main": "lib/searchbox.js",
6
- "scripts": {
7
- "test": "jshint lib",
8
- "jshint": "jshint"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/coderaiser/cm-searchbox.git"
13
- },
14
- "keywords": [
15
- "codemirror",
16
- "searchbox"
17
- ],
18
- "author": "coderaiser <mnemonic.enemy@gmail.com> (http://coderaiser.github.io/)",
19
- "license": "MIT",
20
- "bugs": {
21
- "url": "https://github.com/coderaiser/cm-searchbox/issues"
22
- },
23
- "homepage": "https://github.com/coderaiser/cm-searchbox",
24
- "devDependencies": {
25
- "jshint": "~2.8.0"
26
- }
27
- }
@@ -1,108 +0,0 @@
1
- 2020.08.17, v3.1.0
2
-
3
- fix:
4
- - (cm-show-invisibles) \n on last line (#12)
5
-
6
- feature:
7
- - (package) supertape v2.0.1
8
- - (package) putout v9.11.4
9
- - (package) madrun v7.0.2
10
- - (package) eslint-plugin-putout v5.0.1
11
- - (package) eslint v7.7.0
12
- - (package) eslint-plugin-node v11.1.0
13
-
14
-
15
- 2019.12.17, v3.0.1
16
-
17
- fix:
18
- - (package) main: legacy -> lib
19
-
20
-
21
- 2019.12.16, v3.0.0
22
-
23
- fix:
24
- - (cm-show-invisibles) line-end-mark display when no line numbers (#4)
25
-
26
- feature:
27
- - (cm-show-invisibles) add support of GFM (#9)
28
- - (cm-show-invisibles) drop support of build
29
- - (bower) ignore: add webpack.config.js
30
- - (npmignore) add
31
- - (travis) node_js: 6, 8
32
- - (show-invisibles) add eslint
33
- - (show-invisibles) es2015-ify
34
-
35
-
36
- 2017.07.10, v2.0.2
37
-
38
- fix:
39
- - (cm-show-invisibles) line-end-mark display when no line numbers (#4)
40
-
41
-
42
- 2017.06.15, v2.0.1
43
-
44
- feature:
45
- - (bower) ignore: add webpack.config.js
46
-
47
-
48
- 2017.06.15, v2.0.0
49
-
50
- feature:
51
- - (npmignore) add
52
- - (travis) node_js: 6, 8
53
- - (show-invisibles) add eslint
54
- - (show-invisibles) avoid relative path in loading codemirror: ../lib/codemirror -> codemirror/lib/codemirror (#3)
55
-
56
-
57
- 2016.08.30, v1.2.1
58
-
59
- fix:
60
- - (show-invisibles) rm: do not remove new line symbol because of missing quote
61
-
62
- feature:
63
- - (package) add lint
64
-
65
-
66
- 2016.02.19, v1.2.0
67
-
68
- fix:
69
- - (cm-show-invisibles) add remove EOL on disable
70
-
71
- feature:
72
- - (package) add jshint, jscs
73
- - (package) v1.1.4
74
- - (package) rm private
75
-
76
-
77
- 2015.03.04, v1.1.4
78
-
79
- feature:
80
- - (package) rm private
81
-
82
-
83
- 2015.03.02, v1.1.3
84
-
85
- feature:
86
- - (show-invisibles) getRandom -> Count
87
-
88
-
89
- 2015.03.02, v1.1.2
90
-
91
- fix:
92
- - (show-invisibles) when white spaces more then Maximum on a line, they all disappear
93
-
94
-
95
- 2015.03.02, v1.1.1
96
-
97
- fix:
98
- - (show-invisibles) getOEL: when horizontal size to small EOL on next line
99
-
100
- feature:
101
- - (bower) ignore: img
102
-
103
-
104
- 2015.02.27, v1.1.0
105
-
106
- feature:
107
- - (show-invisibles) show new lines
108
-
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015-2017 coderaiser
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,25 +0,0 @@
1
- # CodeMirror Show Invisibles
2
-
3
- Addon for [CodeMirror](http://codemirror.net "CodeMirror") that helps to show invisibles.
4
-
5
- ![show-invisibles](https://raw.githubusercontent.com/coderaiser/cm-show-invisibles/master/img/show-invisibles.png "CodeMirror Show Invisibles")
6
-
7
- ## Install
8
-
9
- ```
10
- bower i cm-show-invisibles --save # or
11
- npm i cm-show-invisibles --save
12
- ```
13
-
14
- ## How to use?
15
-
16
- ```js
17
- const cm = CodeMirror(document.body, {
18
- showInvisibles: true,
19
- maxInvisibles: 16 // optional
20
- });
21
- ```
22
-
23
- ## License
24
-
25
- MIT
@@ -1,25 +0,0 @@
1
- {
2
- "name": "cm-show-invisibles",
3
- "homepage": "https://github.com/coderaiser/cm-show-invisibles",
4
- "authors": [
5
- "coderaiser <mnemonic.enemy@gmail.com>"
6
- ],
7
- "description": "addon for CodeMirror that helps to show invisibles",
8
- "main": "lib/show-invisibles.js",
9
- "moduleType": [
10
- "amd",
11
- "globals",
12
- "node"
13
- ],
14
- "keywords": [
15
- "codemirror",
16
- "invisibles",
17
- "addon"
18
- ],
19
- "license": "MIT",
20
- "ignore": [
21
- "**/.*",
22
- "img",
23
- ".*"
24
- ]
25
- }
@@ -1,131 +0,0 @@
1
- 'use strict';
2
-
3
- /* global CodeMirror */
4
- /* global define */
5
-
6
- ((mod) => {
7
- if (typeof exports === 'object' && typeof module === 'object') // CommonJS
8
- return mod(require('codemirror/lib/codemirror'));
9
-
10
- if (typeof define === 'function' && define.amd) // AMD
11
- return define(['codemirror/lib/codemirror'], mod);
12
-
13
- mod(CodeMirror);
14
- })((CodeMirror) => {
15
- CodeMirror.defineOption('showInvisibles', false, (cm, val, prev) => {
16
- let Count = 0;
17
- const Maximum = cm.getOption('maxInvisibles') || 16;
18
-
19
- if (prev === CodeMirror.Init)
20
- prev = false;
21
-
22
- if (prev && !val) {
23
- cm.removeOverlay('invisibles');
24
- return rm();
25
- }
26
-
27
- if (!prev && val) {
28
- add(Maximum);
29
-
30
- cm.addOverlay({
31
- name: 'invisibles',
32
- token: function nextToken(stream) {
33
- let spaces = 0;
34
- let peek = stream.peek() === ' ';
35
-
36
- if (peek) {
37
- while (peek && spaces < Maximum) {
38
- ++spaces;
39
-
40
- stream.next();
41
- peek = stream.peek() === ' ';
42
- }
43
-
44
- let ret = 'whitespace whitespace-' + spaces;
45
-
46
- /*
47
- * styles should be different
48
- * could not be two same styles
49
- * beside because of this check in runmode
50
- * function in `codemirror.js`:
51
- *
52
- * 6624: if (!flattenSpans || curStyle != style) {}
53
- */
54
- if (spaces === Maximum)
55
- ret += ' whitespace-rand-' + Count++;
56
-
57
- return ret;
58
- }
59
-
60
- while (!stream.eol() && !peek) {
61
- stream.next();
62
-
63
- peek = stream.peek() === ' ';
64
- }
65
-
66
- return 'cm-eol';
67
- },
68
- });
69
- }
70
- });
71
-
72
- function add(max) {
73
- const classBase = '.CodeMirror .cm-whitespace-';
74
- const spaceChar = '·';
75
- const style = document.createElement('style');
76
-
77
- style.setAttribute('data-name', 'js-show-invisibles');
78
-
79
- let rules = '';
80
- let spaceChars = '';
81
-
82
- for (let i = 1; i <= max; ++i) {
83
- spaceChars += spaceChar;
84
- rules += classBase + i + `:not([class*="cm-trailing-space-"])::before { content: "${spaceChars}";}\n`;
85
- }
86
-
87
- const gfmRules = '[class*=cm-trailing-space]::before{content: "·";}';
88
-
89
- style.textContent = [
90
- getStyle(),
91
- getEOL(),
92
- rules,
93
- gfmRules,
94
- ].join('\n');
95
-
96
- document.head.appendChild(style);
97
- }
98
-
99
- function rm() {
100
- const style = document.querySelector('[data-name="js-show-invisibles"]');
101
- document.head.removeChild(style);
102
- }
103
-
104
- function getStyle() {
105
- const style = [
106
- '.cm-whitespace::before {',
107
- 'position: absolute;',
108
- 'pointer-events: none;',
109
- 'color: #404F7D;',
110
- '}',
111
- ].join('');
112
-
113
- return style;
114
- }
115
-
116
- function getEOL() {
117
- const style = [
118
- '.CodeMirror-code > div > pre > span::after, .CodeMirror-line > span::after {',
119
- ' pointer-events: none;',
120
- ' color: #404F7D;',
121
- ' content: "¬"',
122
- '}',
123
- '.CodeMirror-code > div:last-child > pre > span::after {',
124
- ' display: none;',
125
- '}',
126
- ].join('');
127
-
128
- return style;
129
- }
130
- });
131
-
@@ -1,34 +0,0 @@
1
- {
2
- "name": "cm-show-invisibles",
3
- "version": "3.1.0",
4
- "description": "Addon for CodeMirror that helps to show invisibles.",
5
- "main": "lib/show-invisibles.js",
6
- "scripts": {
7
- "lint": "madrun lint",
8
- "fix:lint": "madrun fix:lint"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git://github.com/coderaiser/cm-show-invisibles"
13
- },
14
- "keywords": [
15
- "CodeMirror",
16
- "show",
17
- "invisibles",
18
- "addon"
19
- ],
20
- "author": "coderaiser <mnemonic.enemy@gmail.com> (http://coderaiser.github.io/)",
21
- "license": "MIT",
22
- "bugs": {
23
- "url": "https://github.com/coderaiser/cm-show-invisibles/issues"
24
- },
25
- "homepage": "https://github.com/coderaiser/cm-show-invisibles",
26
- "devDependencies": {
27
- "eslint": "^7.7.0",
28
- "eslint-plugin-node": "^11.1.0",
29
- "eslint-plugin-putout": "^5.0.1",
30
- "madrun": "^7.0.2",
31
- "putout": "^9.11.4",
32
- "supertape": "^2.0.1"
33
- }
34
- }
@@ -1,56 +0,0 @@
1
- # Emmet plugin for CodeMirror 4
2
-
3
- To add Emmet support for CodeMirror editor, simply add `dist/emmet.js` as a `<script>` tag into your HTML page right after CodeMirror script. This script creates global `emmetPlugin` variable but also can be loaded as Require.JS module.
4
-
5
- Additionally, you can pass `profile` option into your into CodeMirror's init script to change Emmet’s HTML output style:
6
-
7
- ```js
8
- CodeMirror.fromTextArea(document.getElementById("code"), {
9
- mode : 'text/html',
10
-
11
- // define Emmet output profile
12
- profile: 'xhtml'
13
- });
14
- ```
15
-
16
- Available profiles are: _html_, _xhtml_, _xml_, but you can create your own output profile with
17
- `emmetPlugin.emmet.loadProfiles({name: options})`.
18
-
19
- See [profile.js](https://github.com/emmetio/emmet/blob/master/lib/assets/profile.js#L30)
20
- for a list of available options.
21
-
22
- ### Default keybindings
23
- * `Cmd-E` or `Tab`: Expand abbreviation
24
- * `Cmd-D`: Balance Tag (matches opening and closing tag pair)
25
- * `Shift-Cmd-D`: Balance Tag Inward
26
- * `Shift-Cmd-A`: Wrap With Abbreviation
27
- * `Ctrl-Alt-Right`: Next Edit Point
28
- * `Ctrl-Alt-Left`: Previous Edit Point
29
- * `Cmd-L`: Select line
30
- * `Cmd-Shift-M`: Merge Lines
31
- * `Cmd-/`: Toggle Comment
32
- * `Cmd-J`: Split/Join Tag
33
- * `Cmd-K`: Remove Tag
34
- * `Shift-Cmd-Y`: Evaluate Math Expression
35
- * `Ctrl-Up`: Increment Number by 1
36
- * `Ctrl-Down`: Decrement Number by 1
37
- * `Ctrl-Alt-Up`: Increment Number by 0.1
38
- * `Ctrl-Alt-Down`: Decrement Number by 0.1
39
- * `Shift-Ctrl-Up`: Increment Number by 10
40
- * `Shift-Ctrl-Down`: Decrement Number by 10
41
- * `Shift-Cmd-.`: Select Next Item
42
- * `Shift-Cmd-,`: Select Previous Item
43
- * `Cmd-B`: Reflect CSS Value
44
-
45
- ### Overriding keybindings
46
-
47
- To override default keybindings, you can call `emmetPlugin.setKeymap(keymap)` method and pass `keymap` object (see [plugin.js](./plugin.js) file for keymap object description). You can also remove default Emmet keybindings by calling `emmetPlugin.clearKeymap()` method.
48
-
49
- ## Building from source
50
-
51
- This plugin uses [gulp.js](http://gulpjs.com) as build tool:
52
-
53
- 1. Install [Node.JS and NPM](http://nodejs.org).
54
- 2. Install gulp.js: `npm install -g gulp`
55
- 3. Clone this repo and cd to cloned dir:
56
- 4. In cloned repo run `npm install` and `gulp` to build project. The build tool will create `dist/emmet.js` and `dist/emmet.min.js` files.