Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcedit - open file at specific line and column position #4402

Open
mc-butler opened this issue Aug 22, 2022 · 2 comments
Open

mcedit - open file at specific line and column position #4402

mc-butler opened this issue Aug 22, 2022 · 2 comments
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/4402
Reporter misarm (misarm@….cz)

It will be very useful if user can open file at specific line, and also column position. Column position can be simple added after end colon.

Example - open file reggs.c at line 640 at column 20:
mcedit regs.c:640:20

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Aug 22, 2022 at 13:16 UTC (comment 1)

Open at line is implemented for years.

@mc-butler
Copy link
Author

Changed by misarm (misarm@….cz) on Aug 22, 2022 at 13:31 UTC (comment 1.2)

Replying to andrew_b:

Open at line is implemented for years.

Yes, and I use it often. But cursor is at start of line, not at specific column position.
It will be also useful in automatic scripts (open file at exact position of error - including column, produced by gcc,...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant