8000 Investigate comparison between pos and index in NSTextStorage+VimOperation.m · Issue #1005 · XVimProject/XVim · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Investigate comparison between pos and index in NSTextStorage+VimOperation.m #1005
Open
@yixiang

Description

@yixiang

In [NSTextStorage xvim_firstOfLine], there is a comparison between pos and index (pos == index).

pos is a position in terms of characters but index is line the line number. It definitely feels wrong to compare them, but I was not able to figure out what the expected behavior is with my time constraints. So I'm going to leave that to those who are more familiar with the code.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

      0