extesy / atom-text-manipulation Goto Github PK
View Code? Open in Web Editor NEWAtom package for text manipulation commands
License: MIT License
Atom package for text manipulation commands
License: MIT License
[Enter steps to reproduce below:]
Atom Version: 1.4.0
System: Mac OS X 10.11.2
Thrown From: text-manipulation package, v0.6.0
Uncaught URIError: URI malformed
At /Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:77
URIError: URI malformed
at decodeURIComponent (native)
at module.exports.decodeUrl (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:77:5)
at Object.module.exports.convert (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:44:26)
at atom-workspace.<anonymous> (/Users/duppy/.atom/packages/text-manipulation/lib/text-manipulation.coffee:19:77)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-0:57.6.0 find-and-replace:show (atom-text-editor.editor.is-focused)
-0:56.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:51.5.0 editor:newline (atom-text-editor.editor.is-focused)
-0:47.9.0 core:paste (atom-text-editor.editor.is-focused)
24x -0:46.6.0 core:select-left (atom-text-editor.editor.is-focused)
-0:42.8.0 command-palette:toggle (atom-text-editor.editor.is-focused)
6x -0:38.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:31.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:31.6.0 text-manipulation:url-decode (atom-text-editor.editor)
{
"core": {
"openEmptyEditorOnStart": false,
"disabledPackages": [
"language-gfm",
"language-gfm",
"markdown-preview",
"language-gfm",
"language-gfm",
"language-gfm",
"language-gfm",
"symbols-tree-view",
"symbol-gen",
"language-gfm",
"language-gfm",
"atom-ternjs",
"language-gfm",
"language-gfm",
"language-gfm",
"language-gfm",
"language-gfm"
],
"themes": [
"atom-dark-ui",
"Base16-Chalk-Dark"
]
}
}
# User
Base16-Chalk-Dark, v0.1.0
achievements, v0.9.0
bug-report, v0.7.1
epoch-converter, v0.1.0
git-diff-details, v0.21.0
language-clips, v0.2.2
language-markdown, v0.8.1
markdown-preview-plus, v2.2.2
markdown-preview-plus-opener, v0.2.0
minimap, v4.19.0
minimap-git-diff, v4.1.8
minimap-split-diff, v0.3.0
pretty-json, v0.4.1
text-manipulation, v0.6.0
wakatime, v5.0.2
# Dev
No dev packages
~/.atom
)%LOCALAPPDATA%
Atom Version: 0.188.0
System: Microsoft Windows 7 Enterprise 64bit Service Pack 1
Thrown From: text-manipulation package, v0.4.0
Failed to load the text-manipulation package
At Cannot find module 'string'
Error: Cannot find module 'string'
at Module._resolveFilename (module.js:351:15)
at Function.Module._resolveFilename (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\module-cache.js:383:52)
at Function.Module._load (module.js:293:25)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Object.<anonymous> (C:\Users\denny.trebbin\.atom\packages\text-manipulation\lib\text-manipulation.coffee:14:12)
at Object.<anonymous> (C:\Users\denny.trebbin\.atom\packages\text-manipulation\lib\text-manipulation.coffee:320:4)
at Module._compile (module.js:475:26)
at Object.requireCoffeeScript (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\node_modules\coffee-cash\lib\coffee-cash.js:85:19)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at require (module.js:399:17)
at Package.module.exports.Package.requireMainModule (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:678:34)
at C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:189:28
at Package.module.exports.Package.measure (C:\Users\denny.trebbin\AppData\Local\atom\app-0.188.0\resources\app\src\package.js:167:15)
{
"core": {
"disabledPackages": [
"symbols-view",
"linter-flow"
],
"themes": [
"one-light-ui",
"oceanic-next"
]
}
}
# User
atom-color-highlight, v3.0.8
atom-ctags, v2.6.1
atom-ternjs, v0.5.6
autocomplete-bibtex, v0.5.6
autocomplete-paths, v1.0.2
autocomplete-plus, v2.6.0
git-tab-status, v1.6.0
highlight-column, v0.4.0
highlight-line, v0.10.1
highlight-selected, v0.9.1
linter, v0.12.0
linter-coffeelint, v0.2.0
linter-csslint, v0.0.11
linter-eslint, v0.5.0
oceanic-next, v0.1.1
preview-plus, v1.1.19
project-manager, v1.15.5
project-palette-finder, v2.4.16
save-session, vundefined
text-manipulation, v0.4.0
# Dev
No dev packages
Remove blank lines on
windows 7 os 64bit
version 1.0.11
not functioning. The earlier version works very well.
Run hash on open file without selecting text
Expected: hash of entire text / file content
Actual: hash of empty string (e.g. MD5 d41d8cd98f00b204e9800998ecf8427e
)
[Enter steps to reproduce:]
Atom: 1.17.0-beta4 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: text-manipulation package 0.6.0
Uncaught TypeError: Cannot read property 'getSelections' of undefined
At /Users/stellar/.atom/packages/text-manipulation/lib/text-manipulation.coffee:39
TypeError: Cannot read property 'getSelections' of undefined
at Object.convert (/packages/text-manipulation/lib/text-manipulation.coffee:39:24)
at /packages/text-manipulation/lib/text-manipulation.coffee:24:82)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:265:1)
at /Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:3:1
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:1)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:1)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:100:1)
at HTMLDocument.<anonymous> (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:3:1)
-1:14.3.0 core:close (input.hidden-input)
2x -1:11.7.0 core:backspace (input.hidden-input)
-1:11 core:save (input.hidden-input)
-1:04.0 core:backspace (input.hidden-input)
-1:02.8.0 core:save (input.hidden-input)
-1:01.4.0 core:close (input.hidden-input)
-0:26.5.0 tree-view:move (linter-decoration.linter-warning)
2x -0:24.8.0 text-manipulation:format-camelize (input.hidden-input)
-0:18.1.0 core:backspace (input.hidden-input)
-0:17.4.0 core:confirm (input.hidden-input)
-0:14.2.0 intentions:highlight (input.hidden-input)
-0:14.1.0 text-manipulation:format-camelize (input.hidden-input)
-0:13.3.0 core:save (input.hidden-input)
-0:11.8.0 core:undo (input.hidden-input)
-0:09.2.0 core:backspace (input.hidden-input)
-0:08.4.0 core:save (input.hidden-input)
busy-signal 1.4.1
intentions 1.1.2
linter 2.1.4
linter-eslint 8.1.7
linter-ui-default 1.3.0
text-manipulation 0.6.0
text-pastry 0.6.1
Maybe text-manipulation:format-sentence
should be editor:sentence-case
along with the other :format-
options, and also then placed under Edit
> Text
> Sentence Case
in the menu?
I have a need to convert many strings from "this format" to "THIS_FORMAT" for creating internalization keys. I would like to see this added to the package. Let me know if you would accept a pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.