Skip to content

Add optional Editor line numbers#22

Merged
tig merged 11 commits into
developfrom
copilot/add-line-numbers-support
May 9, 2026
Merged

Add optional Editor line numbers#22
tig merged 11 commits into
developfrom
copilot/add-line-numbers-support

Conversation

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor
  • Inspect current branch status, recent commits, and merge parents
  • Verify there are no unresolved conflict markers or merge state
  • Run validation for the merged branch
  • Push needed fix and reply to the new PR comment

Copilot AI assigned Copilot and tig May 9, 2026
Copilot AI linked an issue May 9, 2026 that may be closed by this pull request
Copilot AI and others added 2 commits May 9, 2026 00:18
Agent-Logs-Url: https://github.com/gui-cs/Text/sessions/fb6d2542-2fdf-49df-8960-d758d76fdc89

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Agent-Logs-Url: https://github.com/gui-cs/Text/sessions/fb6d2542-2fdf-49df-8960-d758d76fdc89

Co-authored-by: tig <585482+tig@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for line numbers in Editor Add optional Editor line numbers May 9, 2026
Copilot finished work on behalf of tig May 9, 2026 00:26
Copilot AI requested a review from tig May 9, 2026 00:26
@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

@copilot Add a menubaritem to Ted between edit and help "_Options". Add a menu item for turning on or off line numbers. Make sure you use CommandView = checkbox correctly.

@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

@copilot try agaoin

@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

@copilot try again

Agent-Logs-Url: https://github.com/gui-cs/Text/sessions/1e8774c5-c995-4fa6-a107-2c2e449a3662

Co-authored-by: tig <585482+tig@users.noreply.github.com>

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot try agaoin

Implemented in 9fa3f5c.

Screenshot:

File  Edit  Options  Help
                  ☐ Line Numbers  Show line numbers

1 Hello world

Copilot AI and others added 2 commits May 9, 2026 04:30

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot try again

Implemented in 564edfb. The Ted line-number menu item now uses the checkbox as CommandView, sets it non-focusable, and reads the checkbox state after Terminal.Gui updates it.

Screenshot:

File  Edit  Options  Help
                  ☐ Line Numbers  Show line numbers

1 Hello world
                  ☒ Line Numbers  Show line numbers

Copilot finished work on behalf of tig May 9, 2026 04:34
@tig
tig marked this pull request as ready for review May 9, 2026 12:57
@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

&copilot fix merge issues

@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

@copilot fix merge issues

Copilot AI and others added 2 commits May 9, 2026 13:35
Co-authored-by: tig <585482+tig@users.noreply.github.com>
@tig

tig commented May 9, 2026

Copy link
Copy Markdown
Member

@copilot resolve the merge conflicts in this pull request

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot fix merge issues

Fixed in 2653c98 by merging origin/develop into the branch and preserving both the develop syntax/theme updates and the line-number/Ted Options changes.

Screenshot:

File  Edit  Options  Help
Esc  Quit │ Themes │ DarkPlus         ▼ │ Loc  x, y │ <untitled>
                  ☐ Line Numbers  Show line numbers
1 Hello world

Copilot AI and others added 2 commits May 9, 2026 13:43
Co-authored-by: tig <585482+tig@users.noreply.github.com>

Copilot AI commented May 9, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

Resolved in 37f7d36. The branch now has a true merge commit with current origin/develop as a parent, no conflict markers remain, and the line-number option still works with the latest Ted status bar changes.

Screenshot:

File  Edit  Options  Help
Esc  Quit │ Themes │ DarkPlus         ▼ │ Tab │ ▼4▲ │ Loc  x, y │   <untitled>
                  ☐ Line Numbers  Show line numbers
1 Hello world

Copilot finished work on behalf of tig May 9, 2026 13:45
@tig
tig merged commit 8246f2a into develop May 9, 2026
6 checks passed
@tig
tig deleted the copilot/add-line-numbers-support branch May 9, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Line numbers

2 participants