How to change PhpStorm's "multiple cursors" behavior? - phpstorm

How to change the behavior of the multiple cursor?
I want to press the down arrow - the bottommost cursor moves down and the rest of the cursors disappear.
The same with the up arrow, but so that only the top cursor moves, the rest disappear.
I press enter - the bottommost cursor behaved as usual, the rest of the cursors disappeared.
The way cursors behave now is impossible and unacceptable to me.
Maybe there is some setting, plugin or hack?
Thank you !

Related

Selecting style data from DevTools in chrome

When I want to copy style data from DevTools with Ctrl+C I have trouble selecting text.
Why?
Before releasing the mouse pointer, the text seems selected.
After releasing the mouse pointer, the selection is gone and I get a blinking cursor (at the arrow):
It looks like you are dragging your mouse over the text in order to select it. Rather than doing that, try clicking the selector.
The entire selector will be highlighted. Now press Ctrl+C.

How do I refresh the mouse cursor after I remove focus from a TextField?

I want to remove focus and selection on a textfield, if the user types ESC or ENTER, or focuses somewhere else. Thus I do this:
stage.focus = null;
textField.type = TextFieldType.DYNAMIC;
textField.selectable = false;
textField.mouseEnabled = false;
The problem is that, if the mouse is over the editable text field, the mouse is in IBEAM mode (caret cursor) and remains in IBEAM mode, even after the commands above, untill I slightly move the mouse, at which point it returns to the AUTO state.
I want to force the mouse to update itself and satisfy the AUTO state but no matter how much I try to make sure the textfield is disabled, it won't dissapear on its own, only after I move the mouse a bit.
Simplest answer from your comment:
So I was fidling with your suggestion and for the luls, used Mouse.hide() and then Mouse.show() and it worked. Removed the hide() and it works just with Mouse.show()! Guess it refreshes the mouse cursor. No blink, works perfectly <3
My original answer:
This is sort of a workaround but shouldn't be too difficult to implement. Hopefully someone comes along with a native API solution.
Run your code you posted
Then make cursor invisible
Then place your custom cursor at the mouse position (optional if you don't mind the cursor just disappearing)
On MouseEvent.MOUSE_MOVE remove your custom cursor, and make the cursor visible again.
I doubt you need me to write this code for you, but if you think this method would work for you, and you have a problem implementing this technique, let me know.
If you're worried about different systems having different mouse icons and then suddenly getting your custom one for a split second, the easy solution there is to just always use your custom cursor. You can design it to look exactly as you like; either mimic Windows OS or make it unique.

Internet explorer cursor "point" bottom left of the image

I want to have an individual cursor on my homepage. For Internet Explorer i need the special file format .cur - after 2 days searching i found this. Now it also works in ie.
But: When you go over a link, (right the menue), you will notice that the point of the cursor which is actual the "pointing point" (the point of the image which is deciding a selection) is not like usual in the top left corner, but in the bottom left corner.
Im testing it with ie10. With the standart cursors all is ok, but not with the .cur file.
So, whats wrong there? Or is my .cur file corrupt??
Thanks you all!
No, the cursor file is perfectly fine, that how normal cursor works. even in default cursor (like in stack overflow) you can try press add button or link with the bottom of the cursor and it wont work, only the corner activate the cursor sensitivity.
However, using default cursor is recommended, it making the website more mature or in other words less childish.

Asp.net Textbox has a very small area to activate cursor

I have a text box that is enabled, but almost acts like it is disabled.
It will only put the cursor in the textbox if I click on the left border of the box. If I click in any of the other normal white space in the box, it doesn't do anything. I have to hunt for the 'sweet spot' to get the cursor to appear and start typing.
This seemed to randomly crop up and I do not know of any settings that would relate to this behavior.
Any Ideas?
It is being covered partially by another element. Use a tool that allows you to right click and inspect an element, such as Firefox's built in inspector or firebug and that should show you the element that is in front of the textbox.

Is there a way to prevent a button to move "down" when I click it?

When using a HTML <button> whenever you press the button it moves a little. A small animation to show it's actually a button.
I'm looking for a way to have it stay exactly the way it is, and force my animation using mouse Events.
I started off just placing an <img> and use mouse events to swap the picture. This worked fine, except that it has some side effects I can't seem to get rid of. For starters, pictures can be dragged, which just looks odd if just press the button - hold - and decide you want to leave the button. I can turn off "draggable" but then it will show a blue square selection box, which is very unwanted.
My solution was to place it on a <button> element instead (with hidden background and border). This solves all the problems, except that it's slightly wiggling to the side.
I tried disabling it, but that also disables the javascript events.
How can I force a button to stay in place even if it's clicked?
So you have to use another tag than button (for instance span) and manipulate it's behaviour with javascript.