Skip to content

Newline and autoindentation problem #839

@noncom

Description

@noncom

In some situations, when I hit RETURN and expect the cursor to go down a line, properly indented, I get an unexpected behavior of the editor ruining the tabbing of some lines below. As I have gained with some research, the reason for that is likely to be the Linux/Windows dualism in new line delimiters.

A few screenshots that help to determine the real cause:

  1. http://joxi.ru/L21L9EWIM058mX - starting condition
  2. http://joxi.ru/Q2Kn59eslvnjmj - incorrect
  3. http://joxi.ru/GrqM17YF5Gpbrz - correct

Some kind of uniformity better be acheived for handling the newline delimiters. Probably that will imply a silent preference for one of their type, or an option somewhere in the Preferences.. ? Anyway, having a mix of Windows and Linux newline delimiters in a file, that make the editor glitch, does not sound good.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions