Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      near-pause
      need-rebuild-menu
      new-buffer-translation-type
      new-c-comments
      new-file-ext
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
need-rebuild-menu  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
need-rebuild-menu  Variable Reference   new-c-comments


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.