Home Download Buy Blog Forum Support

Plugin Idea: Number Adder/substracter

Plugin Idea: Number Adder/substracter

Postby kuroir on Tue Nov 22, 2011 6:05 am

So here I have an idea for a plugin I would like to do myself, but I'm not sure how to do it yet.

The basic idea is to have a command to add or subtract 1 or 10 to any given number:

Example:

I have "10", and I place my cursor anywhere direct to the number ( "|1|0|", pipe being where the cursor can be.).
I press CTRL+UP and the number turns into "11".
I press CTRL+ALT+UP and the number turns into "21".
I press CTRL+ALT+DOWN and the number turns into "11"

I've done this with Ruby on TextMate, and it's a good time saver when working on moving sizes of things.

Hope someone can do it.
kuroir
 
Posts: 71
Joined: Thu Sep 01, 2011 11:28 pm
Location: Mexico

Re: Plugin Idea: Number Adder/substracter

Postby adzenith on Tue Nov 22, 2011 6:07 am

Something like this?
viewtopic.php?f=5&t=2395
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Plugin Idea: Number Adder/substracter

Postby kuroir on Tue Nov 22, 2011 11:19 am

Totally! Thanks!
kuroir
 
Posts: 71
Joined: Thu Sep 01, 2011 11:28 pm
Location: Mexico


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests

cron