SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2017 v22 Beta Discussion => Topic started by: joecar on September 07, 2017, 09:34:18 PM

Title: Calculator shift left/right
Post by: joecar on September 07, 2017, 09:34:18 PM
Is there any way to have shift left << and shift right >> buttons...?
Title: Re: Calculator shift left/right
Post by: joecar on September 08, 2017, 08:40:12 PM
And maybe a to_the_power_of ** button.
Title: Re: Calculator shift left/right
Post by: Clark on September 09, 2017, 12:39:50 AM
Added << and >> buttons for next build (under E and F). Don't have a great place for ** other than near the =.  If the = button was smaller, then there would be room for 3 more buttons (assuming the = was the same size as the other 3).
Title: Re: Calculator shift left/right
Post by: joecar on September 11, 2017, 04:12:45 PM
The = button would be ok if its size is 2x instead of 4x.
Title: Re: Calculator shift left/right
Post by: joecar on September 11, 2017, 04:23:17 PM
Also, the bitwise logic operator buttons (And&, Or|, Xor^, OnesC~) can have their captions abbreviated (&, |, ^, ~)...

( or have an option to show full or abbreviated captions )

( most of us know the C bitwise logic operators; anyone who doesn't know will learn quickly )

this allows these buttons to be smaller.

:)
Title: Re: Calculator shift left/right
Post by: Clark on September 12, 2017, 02:14:11 PM
Smaller bit wise operators allows for a better arrangement. Done for next build
Title: Re: Calculator shift left/right
Post by: joecar on September 13, 2017, 06:29:59 PM
in the calculator how do I specify the wordwidth (i.e. 8, 16, 32, 64 bit)...?

or does it not matter...!?
Title: Re: Calculator shift left/right
Post by: Clark on September 13, 2017, 07:22:44 PM
No way to force a width. It tries to be smart about it. Let us know if you see an issue. Negative numbers are the most difficult to be smart about in hex.