Skip to content

Adding a Caret Position Indicator #1125

Open
@jaredacord

Description

@jaredacord

Relevant sub-area for this feature?

Core/Environment/Rendering

Feature description

I think it would be beneficial to have a caret position indicator, similar to as seen in common text editors, for displaying the caret line and column. This may appear in the bottom right, next to the version number, as so:

Image

A user would have control over the visibility of the indicator in preferences. The default would be non-visible, as to not crowd the display. Preference may show as:

Image

Benefits

There are several benefits from having a caret indicator:

  1. In larger sketches, knowing the location of the caret may help users navigate more efficiently
  2. When debugging or collaborating, knowing the precise location in code removes ambiguity
  3. Reduces the need for 'counting characters' when selecting/copying/pasting/deleting code

Possible challenges

Possible challenges may revolve around adding support for different languages in the preferences window.

Additional context

No response

Would you like to work on the issue?

Yes. I already have some working code for this feature, which can be ironed out.

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