Skip to content

changing file line endings is not correctly updated in statusbar #3557

@DexterHaslem

Description

@DexterHaslem

Description of the Issue

If a file is externally modified and only the line endings change, the line ending indicator is not updated

Steps to Reproduce the Issue

  1. open a file in eg, CRLF line ending in notepad++
  2. modify line endings of opened file with dos2unix tool
  3. when notepad++ prompts to reload externally changed file, click yes

Expected Behavior

The line ending type in status bar to update to the new 'Unix (LF)' value

Actual Behavior

Status bar still said Windows (CR LF) line endings which caused some confusion

Debug Information

if you close and reopen the file it will correctly report the line ending type.
Notepad++ v7.4.2 (32-bit)
Build time : Jun 18 2017 - 23:34:19
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 7 (64-bit)
Plugins : mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions