PreviousNextTracker indexSee it online !

(28/161) 1911597 - Calculator plugin: actions for base conversions on selection

A plugin can be developed to convert the selected numbered text in the text area of the editor into various formats such as Octal, Binary, Hex. The number could also be converted into other scientific notations.

Submitted sridhar85 - 2008-03-11 - 03:31:19z Assigned psridhar
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2008-03-11 - 03:55:28z
ezust
Logged In: YES
user_id=935841
Originator: NO

Alternately, someone could add the actions to the Calculator plugin which already knows how to do all the conversions,
then it's just a matter of binding the actions to shortcuts.
2008-03-11 - 19:20:37z
daleanson
Logged In: YES
user_id=187628
Originator: NO

That should be straight-forward. I haven't looked at the Calculator code in a while, but I recall it being fairly clean. I haven't looked at JCalculator yet, does it provide this sort of functionality? Could JCalculator and Calculator merge in some useful way?
2008-04-15 - 02:59:59z
psridhar
Logged In: YES
user_id=1992855
Originator: NO

I have actually created a macro for this and i think it can go into the Text Menu under macros. I tested it and it worked fine too.
Shall i go ahead and submit it ?
2008-04-21 - 21:20:17z
psridhar
Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Binary.bsh
2008-04-21 - 21:20:51z
psridhar
Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Octal.bsh
2008-04-21 - 21:21:28z
psridhar
Logged In: YES
user_id=1992855
Originator: NO

File Added: Decimal_to_Hex.bsh

Attachments

2008-04-21 - 21:20:16z
psridhar
Decimal_to_Binary.bsh

Decimal to Binary

2008-04-21 - 21:20:51z
psridhar
Decimal_to_Octal.bsh

Decimal to Hex

2008-04-21 - 21:21:27z
psridhar
Decimal_to_Hex.bsh

Decimal to Hex