Skip to content

Marker margin width based on line number margin width #85

Description

@jxzwp

The width of margin 2, the marker margin is based upon the width of margin 1, the line number margin. Which doesn't make much sense and results in it being wider than needed.

target.margin_width_n[2] = not CURSES and target.margin_width_n[1] + 4 or 1

I think the line above should be

target.margin_width_n[2] = not CURSES and 4 or 1 

That's the default in TA 11 and TA 12 see

https://github.com/orbitalquark/textadept/blob/2dc0609b81018fa52f75084ec6c22b59c5771e6b/init.lua#L171

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions