Skip to content

Off-by-one issue in left-word for #region text #109

@Zastai

Description

@Zastai

Given a buffer with csharp-mode active, containing

#region Hello World

#endregion

// < cursor is at start of this line

Pressing C-left (i.e. left-word) will move point to the e of endregion, then the W of World, but then to the e of Hello, instead of the H. (Maybe it's trying to avoid going to the #?)

C-right has no issues and seems to always put point after each word like it should.

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