Is it possible?

1. Do something like ascii2native on loading or opening document.
2. Edit text document.
3. Before saving (or during it) replace content of document to save it like native2ascii.
4. Keep editing with reverted content. (How to do this manual? How to replace document saving routine.)

TIA,
Dmitry

1 comment
Comment actions Permalink

Dmitry Kashin wrote:

1. Do something like ascii2native on loading or opening document.
2. Edit text document.
3. Before saving (or during it) replace content of document to save it like native2ascii.
4. Keep editing with reverted content. (How to do this manual? How to replace document saving routine.)

TIA,
Dmitry

Seems like it would be much more natural to handle the transformation on
the encoding (InputStream->Reader) level. There's no such an ability yet
unfortunately anyway.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.