Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Insert cutting preceding characters #41

Closed
LeonardoGentile opened this issue Jun 27, 2016 · 6 comments
Closed

Insert cutting preceding characters #41

LeonardoGentile opened this issue Jun 27, 2016 · 6 comments

Comments

@LeonardoGentile
Copy link

Hello,
I've tested that when using any key combination for the ins_min, ins_max or ins_all actions something wrong happens.
That is when hitting the corresponding shortcuts the values are added but this delete the preceding chars in the current line. I cannot be sure but it seems that the chars deleted are 4, or maybe it's just a tabulation.

@rmaksim
Copy link
Owner

rmaksim commented Jun 27, 2016

Hello,
Can you write an example

@LeonardoGentile
Copy link
Author

In this example I've set my shortcuts as this

{ "keys": ["alt+enter"], "command": "inc_dec_value", "args": { "action": "ins_min" }},

Then I've created an example using a simple javascript literal, as you can see in the gif attached.
Everytime I hit the shortcut the number one is added but also some characters (in this case 1 char) disappear from the left. Sometimes it seems to be more than one chars, I cannot tell on when this actually happens.
nk1ealuhb2

@rmaksim
Copy link
Owner

rmaksim commented Jun 28, 2016

try default hotkey
{ "keys": ["alt+insert"], "command": "inc_dec_value", "args": { "action": "ins_min" } },
maybe on ["alt+enter"] something else

@LeonardoGentile
Copy link
Author

@rmaksim inc_min, dec_min and all other actions not related to ins are working correctly.
I have changed the shortcut of ins_min to

{ "keys": ["alt+pageup"], "command": "inc_dec_value", "args": { "action": "ins_min" }}

but nothing changes, still some characters are deleted from the left

@rmaksim
Copy link
Owner

rmaksim commented Jun 28, 2016

yeh, I've already forgotten...
#37

@rmarskell wrote:

I added the ability to insert incrementing numbers at the selections

insert -> at the selections

Now you can do just that.

p.s.
I have never used this combination :)

@rmaksim rmaksim assigned rmaksim and unassigned rmaksim Jun 28, 2016
@rmaksim
Copy link
Owner

rmaksim commented Jun 28, 2016

fixed
update and try to use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants