I use Notepad++ a lot. It is the best txt editor for me. I write all my scripts/gcodes in there.
As an experimentation I created plugin that implements TNG expression engine as Npp plugin.
It simply evaluates selected text as expression and stores result to clipboard. I no longer need calculator :-)
Plugin is in included zip file. Let me know, of you find this useful or if you have any new ideas.