encode/decode selection area on Atom editor.