Code Monkey home page Code Monkey logo

atom-multi-cursor-plus's People

Contributors

kankaristo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ax487

atom-multi-cursor-plus's Issues

Deprecated selector in `multi-cursor-plus\styles\multi-cursor-plus.less`

I'm not sure what I'm doing that's hitting this deprecation warning, but I felt like it might be useful to report it:


In multi-cursor-plus\styles\multi-cursor-plus.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::shadow .cursors .cursor:not(:last-child) => atom-text-editor.editor .cursors .cursor:not(:last-child)

  • atom-text-editor::shadow .cursors:not(.blink-off) .cursor:not(:last-child) => atom-text-editor.editor .cursors:not(.blink-off) .cursor:not(:last-child)

  • atom-text-editor::shadow .cursors.blink-off .cursor:not(:last-child) => atom-text-editor.editor .cursors.blink-off .cursor:not(:last-child)

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.

Function.extractParams is deprecated.

Assigning custom properties to a marker when creating/copying it is
deprecated. Please, consider storing the custom properties you need in
some other object in your package, keyed by the marker's id property.

Function.extractParams (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:43:14)
MarkerLayer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker-layer.js:196:71)
DisplayMarkerLayer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/display-marker-layer.js:90:62)
TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1753:38)
Object.mark (/Users/wang/.atom/packages/multi-cursor-plus/lib/multi-cursor-plus.coffee:199:14)
atom-text-editor.subscriptions.add.atom.commands.add.multi-cursor-plus:mark (/Users/wang/.atom/packages/multi-cursor-plus/lib/multi-cursor-plus.coffee:13:26)

Can't move to left/right

I'm using the default keymaps and moving up/down (while holding Alt) works fine, but moving left/right will move all of the cursors instead of the "main" cursor.

Latest stable Atom on OS X

Can't mark

It seems like I'm not able to mark.

I tried to add a key binding, and also tried by using cmd+shift-p and select "multi-cursor-plus: mark" but it seems to me nothing happens. Am I doing something wrong?

If first action is delete, last cursor does double delete.

Hey, love the package,

Found an issue with the first action being a delete when the rows are canted.. the last cursor does a double delete on the first del keystroke. Give attached.

This can be prevented from happening if you first press SPACE then do your delete action. So for some reason its only on first action delete. Any other action prior nullifies the issue.

gliienabth

Regards,
Slater

Other workflow

I like the workflow from the sublime text package: PowerCursors much better, because then you do not have to override all of your alt-keybindings to add and especially move around with multiple cursors.

In contrast in the Sublime text package PowerCursors you only need two keybindings: First you use the "mark" command to add an (inactive) cursor. After that you can move around freely with your normal keybindigs and mark some other positions. Then you need an "activate" command to activate the inactive cursors all at once. Of course adding and removing cursors is also possible, as well as switching between inactive/active cursors.

What do you think is a better workflow and why? I really do not want to override my alt-keybindings!
Is there a (easy) way to change the behavior from the current situation to the one from PowerCursors?

Stopped Working

Since opening up Atom today this package hasn't worked. I'm not getting errors; the functionality just stopped working :(

Atom 1.0.3 - Mac
multi-cursor-plus 0.1.3

multimark

Breaks when marking a cursor to the beginning and the end of a buffer

Atom doesn't allow creating a cursor on top of another cursor, so multi-cursor-plus creates the new cursor at the beginning of the file and moves it to the same position as the current cursor.

If there is already a cursor at the beginning of the file, the new cursor is created at the end of the file instead.

If there is a cursor at the beginning and end of the file, creating a new cursor doesn't work correctly.

Every line and column in the buffer could be looped through to find a position without an existing cursor, but this could be horrible for performance (every position needs to be checked against every existing cursor). This might work well enough, but some other solution would probably be better.

add support for vim-mode

not sure what's involved, if this just need different suggested keybinding options or what, but it would be ideal to have this plugin working fully with all the vim stuff in vim-mode.

unwanted extra newline

In standard Atom (without amcp) for Mac, if i create cursors (cmd+click) before and after a portion of a text in a line, and then i hit Enter, that portion of text goes well indented on a new line.

If i do it with amcp (alt+x), under the portion of text an extra empty new line is created.

Is it possibile to fix this?

Thanks.

[Suggestion] Mark positions with cursor

Hey, would it be possible to mark new positions via mouse?

e.g. I would start at the first position with Alt+X and then hold Alt and mark the other positions by clicking with the cursor.

This would make things easier and not eat up so many key bindings.

Is this even possible?

move and mark command

#11

i review your questions and rethink my issue.
I think that me needed simple command mark-and-move

example:

'ctrl-alt-up': 'multi-cursor-plus:mark--move-up'
'ctrl-alt-down':  'multi-cursor-plus:mark--move-down'
# move left and right keys yet bind and i don't know do they need/
# 'ctrl-alt-left': 'multi-cursor-plus:mark--move-left'
# 'ctrl-alt-right': 'multi-cursor-plus:mark--move-right'

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.