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

auto line numbering (for Atari Basic) #27

Open
4ndrej opened this issue Apr 3, 2021 · 2 comments
Open

auto line numbering (for Atari Basic) #27

4ndrej opened this issue Apr 3, 2021 · 2 comments

Comments

@4ndrej
Copy link

4ndrej commented Apr 3, 2021

Atari Basic needs line numbers. Programmer have to enter them manually.
In Turbo Basic there was the command AUTO [start, [step]] that enters new line number from 10 with step 10 (or from start with step step).

It would be nice if there is an hotkey that adds the new line number based on number on previous line increased by 10 at the beginning of the last empty line,

@FichteFoll
Copy link
Member

So you want to automatically locate a number on the current line and insert that number incremented by 10 on the next line when, say, pressing enter at the end of the line?

That sounds like a rather specific use case I'm not sure it worth implementing in this plugin. It would be fairly simple as a stand-alone, however.

@4ndrej
Copy link
Author

4ndrej commented Apr 8, 2021

Yes, something like that.
Maybe configurable stepping.
onEnter it would be annoying, but on some configurable shortcut it could be nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants