Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-by-tab
      . . .
      zoom-window
   Variable Reference
      . . .
      net-prompt-get-directory
      net-prompt-pattern
      new-buffer-translation-type
      new-c-comments
      new-file-ext
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
net-prompt-pattern  Variable Reference   new-c-comments


Epsilon User's Manual and Reference > Variable Reference >

new-buffer-translation-type: preference variable

Default value: 5

When you create a new buffer or file, Epsilon sets its translation-type variable to this variable's value. The translation type determines how Epsilon writes or reads a buffer.

A value of 0 (FILETYPE_BINARY) makes Epsilon do no line translation, 1 (FILETYPE_MSDOS) makes Epsilon strip <Return> characters when reading and insert them when writing, 2 (FILETYPE_UNIX) makes Epsilon do no line translation, but indicates that the file contains text, 3 (FILETYPE_MAC) makes Epsilon replace <Return> characters with <Newline> characters when reading, and replace <Newline> characters with <Return> characters when writing.

The default, 5 (FILETYPE_AUTO), makes Epsilon use the usual type for this operating system: Unix files under Unix, MS-DOS files elsewhere.

For remote files, those that use a URL syntax, Epsilon uses the fallback-remote-translation-type variable instead. Also see the default-translation-type variable.

More info:

Line Translation
Line Translation Primitives (Primitives)



Previous   Up    Next
net-prompt-pattern  Variable Reference   new-c-comments


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.