Git Product home page Git Product logo

rulerz's People

Contributors

chmac avatar cmtonkinson avatar garrettstott avatar johnmurga avatar n3dst4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rulerz's Issues

toggle the ruler by hotkey

Hi, thanks for sharing this awesome package.

I'd like to request a feature if possible. I don't want to see rulerz all the time. Only when I want to check if my code is lining up.

I'd really appreciate if rulerz added a function that can be activated by hotkey.

Here's an example

'atom-text-editor':
  'ctrl-q': 'toggle-quotes:toggle'
  'ctrl-r': 'rulerz:2000'
  'ctrl-shift-r': 'rulerz:0'

Where the number provided to rulerz is a timeout in milliseconds. So if I provide a 2 second timeout, then the ruler will disappear after 2 seconds, if I provide zero then it toggles on or off, permanently.

If it's difficult accept an unknown number of milliseconds as a parameter, then options for 1-9 seconds would be a great plan B, like this: 'ctrl-r': 'rulerz:2' meaning 2 seconds, 'ctrl-r': 'rulerz:3' meaning 3 seconds, etc.

Open to taking over maintenance

I've been hammered by #25 for a while. Put some time into it today and have found a hacky workaround. Will post a PR shortly. I'm also open to taking over (very limited) maintenance of this package if you like.

Deprecated selector in `rulerz/styles/cursor-ruler.less`

In rulerz/styles/cursor-ruler.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor.is-focused::shadow ruler-view.rulerz => atom-text-editor.is-focused.editor ruler-view.rulerz

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Leading Tabs Throw Off Ruler

Nice package but it seems to not play nicely with leading tabs.

Multi Cursors (orange block is my cursor)
image

Single cursor example
image

Enhancement: Disable rulerz for first character in line

When the cursor sits on the first character of the line, the ruler clashes with the right border of the gutter, which looks awkward. I don't know how to style this with css and think this should be easier to implement functionally.

This :-(
image

as oposed to this:
image

atom-text-editor.Object.defineProperty.get is deprecated.

The contents of atom-text-editor elements are no longer encapsulated
within a shadow DOM boundary. Please, stop using shadowRoot and access
the editor contents directly instead.

atom-text-editor.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-element.js:68:18)
ruler-view.getEditor (/Users/noovo/.atom/packages/rulerz/lib/ruler-view.coffee:38:33)
ruler-view.insert (/Users/noovo/.atom/packages/rulerz/lib/ruler-view.coffee:45:14)
ruler-view.initialize (/Users/noovo/.atom/packages/rulerz/lib/ruler-view.coffee:30:12)
createView (/Users/noovo/.atom/packages/rulerz/lib/ruler-manager.coffee:25:32)
ViewRegistry.createView (/Applications/Atom.app/Contents/Resources/app.asar/src/view-registry.js:117:78)

The ruler line falls behind the cursor

This has only started happening in the last couple of days, so perhaps it's an issue with the latest Atom update. I've noticed it on both OS X El Capitan and Ubuntu 16.04.

When I type the first character on a new line, the ruler moves with the cursor no problem. When I type the second character on a line, the ruler doesn't move, so that it is then one column to the left of the cursor. If I continue typing, the ruler remains one column to the left of the cursor. I get the same problem when I start typing on a line that already has some characters on it.

I don't know CoffeeScript, but it feels like a simple off-by-one error. Let me know if you need any more information, or if there's anything I can do to help.

some advise about rulerz

ruler provide easer way find cursor when you tired
so ruler style must be simple clear no ugly
I think ruler color should like cursor color than text color, and add opacity: 0.5
ruler line should use dashed not solid just like editpus
solid line is more annoying, maybe that is not best but better than now
should have shortcut easy hide or show ruler, is the best

Line wrap support

Looks like rulers display in the wrong position when using line wrapping - discovered while editing a Markdown file.

Uncaught TypeError: Cannot read property 'appendChild' of null

[Enter steps to reproduce below:]

  1. Open a split pane
  2. Drag and drop a file from one pane to the other

Atom Version: 0.210.0
System: linux 4.0.5-1-ARCH
Thrown From: rulerz package, v0.3.3

Stack Trace

Uncaught TypeError: Cannot read property 'appendChild' of null

At /home/chris/repo/rulerz/lib/ruler-view.coffee:30

TypeError: Cannot read property 'appendChild' of null
    at ruler-view.RulerView.insert (/home/chris/repo/rulerz/lib/ruler-view.coffee:48:24)
    at ruler-view.RulerView.initialize (/home/chris/repo/rulerz/lib/ruler-view.coffee:31:12)
    at Object.createView (/home/chris/repo/rulerz/lib/ruler-manager.coffee:25:32)
    at ViewRegistry.module.exports.ViewRegistry.createView (/usr/share/atom/resources/app.asar/src/view-registry.js:74:72)
    at ViewRegistry.module.exports.ViewRegistry.getView (/usr/share/atom/resources/app.asar/src/view-registry.js:61:21)
    at CursorModel.module.exports.CursorModel.initialize (/home/chris/repo/rulerz/lib/cursor-model.coffee:25:25)
    at new CursorModel (/home/chris/repo/rulerz/lib/cursor-model.coffee:20:12)
    at /home/chris/repo/rulerz/lib/ruler-manager.coffee:33:20
    at TextEditor.module.exports.TextEditor.observeCursors (/usr/share/atom/resources/app.asar/src/text-editor.js:351:9)
    at /home/chris/repo/rulerz/lib/ruler-manager.coffee:32:49

Commands

Config

{
  "core": {
    "disabledPackages": [
      "autocomplete",
      "autocomplete-plus",
      "autoflow",
      "encoding-selector",
      "metrics",
      "open-on-github",
      "snippets",
      "space-tab",
      "tabs-to-spaces",
      "timecop",
      "welcome",
      "ruby-block",
      "alignment",
      "file-types",
      "ruler",
      "hex",
      "atomic-number",
      "symbols-tree-view",
      "git-blame",
      "git-blame-plus",
      "wrap-guide",
      "multi-wrap-guide",
      "quotes"
    ],
    "themes": [
      "atom-dark-ui",
      "grandson-of-obsidian"
    ],
    "destroyEmptyPanes": false,
    "autoHideMenuBar": true
  }
}

Installed Packages

# User
Stylus, v1.0.0
atom-alignment, v0.12.1
custom-title, v1.0.1
file-type-icons, v0.7.0
grandson-of-obsidian, v0.1.0
highlight-selected, v0.10.1
language-haml, v0.21.0
language-puppet, v0.12.0
language-rust, v0.4.3
language-salt, v0.4.0
minimap, v4.10.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
rulerz, v0.3.3

# Dev
No dev packages

Kudos !

I'm the creator of CursorRuler and I'm not submitting an issue but a thank you instead! I've recently been looking into Atom a little more seriously and stumbled upon rulerz a few moments ago. I installed it and enjoy using it.

I have plans for the future of CursorRuler which included the possibility of porting it to Atom but I don't know if and when I'll be able to do it.

That being said I'm very glad rulerz exists and thank you for being inspired by my plugin. :)

TextEditor.pixelPositionForScreenPosition is deprecated.

This method is deprecated on the model layer. Use TextEditorElement::pixelPositionForScreenPosition instead

TextEditor.pixelPositionForScreenPosition (/Applications/Atom.app/Contents/Resources/app/src/text-editor.js:2636:9)
ruler-view.update (/Users/gokmen/.atom/packages/rulerz/lib/ruler-view.coffee:35:41)

Failed to activate the rulerz package

Atom: 1.19.0-beta4 x64
Electron: 1.6.9
OS: Mac OS X 10.12.5
Thrown From: rulerz package 0.4.3

Stack Trace

Failed to activate the rulerz package

At Cannot read property 'NaN' of undefined

TypeError: Cannot read property 'NaN' of undefined
    at TextEditorComponent.renderedScreenLineForRow (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:905:31)
    at TextEditorComponent.pixelLeftForRowAndColumn (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:2229:29)
    at TextEditorComponent.pixelPositionForScreenPosition (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-component.js:187:40)
    at HTMLElement.pixelPositionForScreenPosition (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor-element.js:243:32)
    at HTMLElement.RulerView.update (/packages/rulerz/lib/ruler-view.coffee:61:23)
    at HTMLElement.RulerView.initialize (/packages/rulerz/lib/ruler-view.coffee:32:19)
    at Object.createView (/packages/rulerz/lib/ruler-manager.coffee:25:32)
    at ViewRegistry.module.exports.ViewRegistry.createView (/Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:108:78)
    at ViewRegistry.module.exports.ViewRegistry.getView (/Applications/Atom Beta.app/Contents/Resources/app/src/view-registry.js:75:21)
    at CursorModel.module.exports.CursorModel.initialize (/packages/rulerz/lib/cursor-model.coffee:25:25)
    at /packages/rulerz/lib/cursor-model.coffee:20:12)
    at /packages/rulerz/lib/ruler-manager.coffee:33:20
    at TextEditor.module.exports.TextEditor.observeCursors (/Applications/Atom Beta.app/Contents/Resources/app/src/text-editor.js:742:9)
    at /packages/rulerz/lib/ruler-manager.coffee:32:49
    at Workspace.observeTextEditors (/Applications/Atom Beta.app/Contents/Resources/app/src/workspace.js:760:9)
    at RulerManager.module.exports.RulerManager.handleEvents (/packages/rulerz/lib/ruler-manager.coffee:30:52)
    at /packages/rulerz/lib/ruler-manager.coffee:20:12)
    at Object.activate (/packages/rulerz/lib/main.coffee:10:35)
    at Package.module.exports.Package.activateNow (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:251:19)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package.js:223:32
    at Package.module.exports.Package.measure (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:97:15)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package.js:216:26
    at Package.module.exports.Package.activate (/Applications/Atom Beta.app/Contents/Resources/app/src/package.js:213:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:643:34)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:624:29
    at Config.module.exports.Config.transactAsync (/Applications/Atom Beta.app/Contents/Resources/app/src/config.js:344:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:619:19)
    at PackageManager.module.exports.PackageManager.activate (/Applications/Atom Beta.app/Contents/Resources/app/src/package-manager.js:601:46)
    at /Applications/Atom Beta.app/Contents/Resources/app/src/atom-environment.js:837:30

Commands

     -0:14.4.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling)
     -0:06.1.0 env-from-shell:copy (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

advanced-open-file 0.16.5 (dev)
aligner 0.22.3 
aligner-css 1.2.0 
aligner-javascript 1.0.0 
aligner-scss 1.1.0 
aligner-stylus 1.0.0 
ansible-snippets 0.2.0 
api-docs 0.0.6 
apm-publish 0.3.0 
asciidoc-preview 2.7.1 
Atom-Bash-Snippets 0.0.3 
atom-beautify 0.28.15 (dev)
atom-calca 0.3.1 
atom-css-class-checker 0.4.3 
atom-css-unit-converter 1.1.1 
atom-github-notifications 0.1.7 
atom-html-preview 0.1.22 
atom-ignore 0.2.0 
atom-jasmine 0.8.1 
atom-jest-snippets 1.0.2 
atom-jq 0.7.0 
atom-live-server 2.1.2 
atom-lupa 0.7.32 
open-terminal-here 2.3.0 
atom-open-this 0.3.0 
atom-react-es2015-snippets 1.1.2 
atom-react-native-autocomplete 0.0.27 
atom-react-native-css 1.1.3 
atom-reverser 2.6.0 
atom-smart-tabs 0.1.0 
atom-sticky-cursor 0.0.8 
atom-terminal-panel 4.4.4 
atom-ternjs 0.18.3 
atom-touch-events 0.23.0 
atom-typescript undefined 
atom-webbrowser 2.1.4 (dev)
atom-xcode 0.1.3 
atom-yeoman 0.3.15 
atomic-spinner 0.0.0 (dev)
auto-detect-indentation 1.3.0 
auto-run 0.2.1 
auto-update-plus 0.2.0 
autoclose-html 0.23.0 
autocomplete-date 0.4.0 
autocomplete-html-entities 0.1.0 
autocomplete-json undefined 
autocomplete-modules 1.6.7 
autocomplete-paths 1.0.5 
autocomplete-ruby 0.2.5 
autocomplete-sass 0.1.0 
autocomplete-swift 1.0.3 
autohide-tree-view 0.25.1 
autoprefixer 3.6.1 
badges 2.2.5 
base-ui undefined (dev)
bezier-curve-editor 0.7.2 
block-and-line-comment 0.4.0 (dev)
browser-plus 0.0.87 (dev)
build 0.65.0 (dev)
build-coffee 0.8.1 
build-decaffeinate 0.1.9 
build-dockerfile 1.0.1 
build-lessc 0.7.1 
build-make 0.13.0 
build-markdown 1.1.0 
build-npm-apm 0.12.0 
build-osa 0.7.2 
build-rake 0.1.1 
build-sassc 0.8.1 
build-stylus 0.8.1 
build-sugarss 0.4.9 
build-xcodebuild 0.2.0 
busy 0.7.0 
busy-signal 1.4.3 
calc 0.4.0 
captain-hook 0.0.1 
change-case 0.6.5 
chmod 0.1.1 
circle-ci 0.10.1 
clean-context-menu 0.3.2 
clipboard-plus 0.5.1 
color-picker 2.1.1 (dev)
context-git 0.14.1 
context-menu-remove 0.1.0 
contextual-preview 0.0.0 (dev)
copy-path-plus 0.1.0 (dev)
css-snippets 1.1.0 
css-spy 0.6.0 
custom-app-icon 0.2.3 (dev)
custom-title 1.0.1 
dash 1.7.0 
default-language 0.3.0 
dict 0.2.3 
dictionary 0.5.0 
disable-grammars 0.1.1 
disable-keybindings 0.6.0 
disable-menus 0.0.0 (dev)
distribute-panes 0.1.0 
dockerletion 0.2.0 
double-tag 0.4.0 
dracula-theme 2.0.0 
duotone-dark-sea-syntax 2.1.0 
duotone-dark-syntax 2.1.0 
duplicate-line-or-selection 0.9.0 
eclectic-syntax 0.2.1 
editorconfig 2.2.0 
emmet 2.4.3 
env-from-shell 0.3.0 
es6-javascript 1.0.0 
esformatter 2.2.1 
expand-region 0.2.6 
expose 0.14.0 
external-open 0.6.3 
fall-syntax 0.0.0 (dev)
file-icons 2.0.15 
file-templates 0.2.0 
file-type-icons 1.3.3 
file-types 0.5.5 
finder-fixes undefined (dev)
firewatch-syntax 1.1.1 
flex-tool-bar 0.12.0 
flexbox-snippets 0.3.0 
flexible-ui 0.10.7 
flow-ide 1.4.2 
fonts 3.0.2 
gfm-pdf 0.3.4 
ghost 0.0.0 (dev)
gist 0.3.1 
git-diff-details 1.4.0 
git-history 3.2.0 
git-plus 7.4.0 (dev)
git-split-diff-hyperclick 0.3.11 
git-travel 0.1.4 
github-clone-desktop-button undefined (dev)
gitkraken 0.4.3 (dev)
goto-definition 1.3.3 
gruvbox 1.0.7 
hey-pane 0.2.0 
highlight-selected 0.12.0 
html-id-class-snippets 1.4.1 
html-to-css 0.2.2 
html2jade-plus 1.0.0 
html2slim 0.4.1 
hyperclick 0.1.2 
hyperclick-octolinker 0.1.0 
hyperlink-hyperclick 1.3.4 
icon-fonts 2.13.0 
imdone-atom 2.1.19 (dev)
imdone-atom-github 0.1.11 
indent-guide-improved 1.4.13 
intentions 1.1.2 
isotope-light-ui 2.2.6 
isotope-ui 2.7.1 
jQuery 1.2.5 
js-hyperclick 1.10.1 
js-patterns-atom-snippets 0.2.1 
language-ansible 0.2.1 
language-apache 1.7.0 
language-applescript 0.2.2 (dev)
language-babel 2.54.1 
language-cson undefined (dev)
language-csv 1.1.2 
language-docker 1.1.7 
language-dots 0.0.4 
language-env 0.2.0 
language-extendscript 0.0.0 (dev)
language-generic-config 1.3.0 
language-gitignore 0.3.0 
language-ignore 1.5.2 
language-ini 1.17.0 
language-javascript-jsx 0.3.7 
language-javascript-jxa 0.2.8 (dev)
language-markdown 0.19.1 
language-marko 2.9.0 
language-postcss 1.3.0 
language-posthtml 0.0.0 (dev)
language-pug 0.0.19 
language-slm 0.5.0 
language-svg 0.9.2 
language-swift 0.5.0 
language-vue 0.21.2 
lines 0.13.1 
linter 2.2.0 
linter-alex 4.0.0 
linter-ansible-linting 1.2.2 
linter-ansible-syntax 1.1.1 
linter-coffee-variables 0.7.0 
linter-coffeelint 1.2.1 
linter-csslint 1.3.4 
linter-docker 0.1.4 
linter-doiuse 0.2.3 
linter-eslint 8.1.0 
linter-flow 5.5.0 
linter-htmlcs 0.4.0 
linter-htmlhint 1.3.1 
linter-js-yaml 1.2.6 
linter-jsonlint 1.3.0 
linter-less 2.6.0 
linter-markdown 3.1.0 
linter-package-json-validator 2.0.0 
linter-perl 0.8.0 
linter-proselint 3.2.1 
linter-pug 1.3.0 
linter-remark 2.1.0 
linter-retext 0.0.3 
linter-rubocop 0.5.3 
linter-sass-lint 1.7.4 
linter-scss-lint 3.0.4 
linter-shellcheck 1.4.3 
linter-slim 1.0.0 
linter-stylelint 3.8.0 
linter-stylint 2.2.6 
linter-swiftc 2.0.0 
linter-swiftlint 1.2.1 
linter-tidy 2.3.0 
linter-ui-default 1.6.3 
linter-write-good 0.8.0 
linter-xmllint 1.4.0 
linter-xo 0.21.2 
livereload 0.4.4 
make-executable 0.1.1 
markdown-folder 0.5.0 
markdown-pdf 1.5.0 
markdown-preview-enhanced 0.9.7 
markdown-preview-plus 2.4.10 
markdown-table-editor 0.6.0 
markdown-table-formatter 2.8.4 
markdown-toc 0.4.2 
markdown-writer 2.6.5 
medium-upload 0.1.2 
merge-conflicts 1.4.4 
mnml-syntax 0.0.0 (dev)
modular-keymaps 0.2.0 (dev)
modular-snippets 0.1.3 (dev)
monocolor-amber-syntax 1.0.0 
monocolor-lime-syntax 1.0.0 
monocolor-orange-syntax 1.0.0 
move-status-items 0.0.11 
mute-syntax undefined (dev)
narrow 0.40.0 
native-ui 0.20.4 
navigate 0.1.17 
nebula-syntax 0.4.4 
nebula-ui 0.6.0 
new-item 0.0.0 (dev)
npm-helper 0.8.9 
nucleus-dark-ui 0.10.22 
open-project-in-tower 1.4.0 
open-recent 5.0.0 (dev)
open-terminal-here 2.3.0 
package-settings 1.1.0 
package-switch 0.5.0 
pain-split 1.4.0 
pandoc 0.2.2 
pane-split-moves-tab 0.1.0 
path-hyperclick 0.3.0 
pattern-preview undefined (dev)
pdf-view undefined 
perfectionist 1.4.0 
pigments 0.39.1 
pinned-tabs 0.4.2 
platformio-ide-terminal 2.4.0 
plist-converter 0.1.6 (dev)
postcss-sorting 2.4.0 (dev)
predawn-syntax 1.0.4 (dev)
predawn-ui 1.0.2 (dev)
prettier-atom 0.28.0 
preview 0.17.0 
project-config 0.0.0 (dev)
project-manager 3.3.3 
project-plus 0.9.0 
project-templates undefined (dev)
project-viewer 1.2.0 
react-native-snippets 0.3.0 
react-redux-atom-snippets 0.7.2 
react-snippets 0.6.2 
regex-railroad-diagram 0.16.0 
release-notes 0.53.0 
rest-client 1.3.1 
ruby-bundler 0.3.0 
rulerz 0.4.3 
run-in-atom 1.0.5 
sandbox undefined (dev)
script 3.14.1 (dev)
scroll-sync 0.1.5 
sequential-command 0.3.0 
seti-icons 1.3.4 
seti-syntax 1.1.2 
seti-ui 1.6.1 
smart-quotes-plus 2.1.0 
solid-completions 2.0.0 
sort-lines 0.14.0 
transpile-preview 0.1.0 
source-preview-coffeescript undefined (dev)
source-preview-decaf 0.1.0 (dev)
source-preview-less 0.1.6 (dev)
source-preview-markdown 0.1.1 (dev)
source-preview-marko 0.1.2 (dev)
source-preview-postcss 0.1.4 (dev)
source-preview-posthtml 0.0.0 (dev)
source-preview-pug 0.2.0 (dev)
source-preview-sass 0.1.6 (dev)
source-preview-slm 0.1.0 (dev)
source-preview-stylus 0.1.7 (dev)
split-diff 1.1.2 
stylefmt 4.0.0 
Stylus 3.1.0 
Sublime-Style-Column-Selection 1.7.3 
svg-preview 0.11.0 
svgo 2.6.0 
sync-settings 0.6.0 (dev)
tab-control 0.6.9 
table-editor 0.2.2 
tablr 1.8.1 
tabs-to-spaces 1.0.3 
template-generator 0.15.0 
template-package undefined (dev)
theme-syntax  
theme-ui 0.0.0 
terminal-panel 1.14.1 (dev)
terminal-plus 0.14.5 
test-status 1.0.0 
text-manipulation 0.6.0 (dev)
things 0.0.0 
todo-show 1.9.0 
toggle-packages 1.1.0 
toggle-quotes 1.0.0 
toggler 0.3.0 
tool-bar 1.0.1 
tool-bar-git 0.0.0 (dev)
tool-bar-markdown-writer 0.3.0 
transform 0.4.0 
transpile 0.1.4 (dev)
transpile-cson 0.1.0 (dev)
css-converter 0.0.0 
transpile-decaf 0.1.3 (dev)
transpile-html2pug undefined (dev)
transpile-js2coffee undefined (dev)
transpile-lebab 0.0.0 (dev)
travis-ci-status 1.3.0 
tree-view-autoresize 2.1.0 
tree-view-breadcrumb 0.8.1 
tree-view-git-projects 0.5.0 
tree-view-git-status 1.3.0 
tree-view-search-bar 0.1.8 
tree-view-sort 0.6.0 
tree-view-symlink undefined (dev)
twilight-syntax-theme 0.1.1 
unity-ui 2.1.8 
url-utils 0.2.1 (dev)
vue-snippets 0.6.0 
wakatime 6.0.13 
warn-before-quitting 0.1.2 
wordcount undefined 
Zen 0.16.4 
zip-folder 3.2.0 

Failed to activate the rulerz package

With Atom v0.206.0 deprecated APIs are disabled.
And now I get an exception when open Atom.

Atom Version: 0.206.0
System: Unknown Windows Version
Thrown From: rulerz package, v0.2.7

Stack Trace

Failed to activate the rulerz package

At Cannot read property 'appendChild' of undefined

TypeError: Cannot read property 'appendChild' of undefined
    at ruler-view.RulerView.insert (C:\Users\Alexander\.atom\packages\rulerz\lib\ruler-view.coffee:36:24)
    at ruler-view.RulerView.initialize (C:\Users\Alexander\.atom\packages\rulerz\lib\ruler-view.coffee:27:12)
    at Object.createView (C:\Users\Alexander\.atom\packages\rulerz\lib\ruler-manager.coffee:25:32)
    at ViewRegistry.module.exports.ViewRegistry.createView (C:\Users\Alexander\AppData\Local\atom\app-0.206.0\resources\app.asar\src\view-registry.js:74:72)
    at ViewRegistry.module.exports.ViewRegistry.getView (C:\Users\Alexander\AppData\Local\atom\app-0.206.0\resources\app.asar\src\view-registry.js:61:21)
    at CursorModel.module.exports.CursorModel.initialize (C:\Users\Alexander\.atom\packages\rulerz\lib\cursor-model.coffee:25:25)
    at new CursorModel (C:\Users\Alexander\.atom\packages\rulerz\lib\cursor-model.coffee:20:12)
    at C:\Users\Alexander\.atom\packages\rulerz\lib\ruler-manager.coffee:33:20
    at TextEditor.module.exports.TextEditor.observeCursors (C:\Users\Alexander\AppData\Local\atom\app-0.206.0\resources\app.asar\src\text-editor.js:350:9)
    at C:\Users\Alexander\.atom\packages\rulerz\lib\ruler-manager.coffee:32:49

Commands

Config

{
  "core": {
    "themes": [
      "one-light-ui",
      "tomorrow-syntax"
    ],
    "disabledPackages": [
      "status-tab-spacing",
      "autocomplete-paths",
      "autocomplete-emojis",
      "open-last-project",
      "tab-control",
      "tab-rename",
      "atom-fuzzy-grep"
    ]
  },
  "rulerz": {}
}

Installed Packages

# User
aligner-css, v1.2.0
aligner-php, v1.0.0
block-cursor, v0.12.5
color-picker, v2.0.4
compare-files, v0.4.1
custom-invisibles, v0.1.2
custom-title, v1.0.1
docblockr, v0.7.2
file-icons, v1.5.7
highlight-selected, v0.9.3
linter, v0.12.6
linter-coffeelint, v0.3.1
linter-htmlhint, v0.0.16
linter-jshint, v0.1.6
linter-xmllint, v0.0.6
live-archive, v0.1.15
local-history, v3.2.2
minimap, v4.9.4
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
package-manager-commands, v2.0.3
project-manager, v1.15.8
rulerz, v0.2.7
sync-settings, v0.2.2
tabs-to-spaces, v0.11.0
tag, v0.3.0
toggle-slash, v1.0.11
tomorrow-syntax, v0.2.0
trailing-spaces, v0.3.0
wakatime, v4.0.9

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.