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

Enable tab key to input four spaces and implement an overwrite mode #1

Open
doersino opened this issue Oct 17, 2019 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@doersino
Copy link
Owner

doersino commented Oct 17, 2019

It would be neat if pressing the tab key inserted four spaces. Related Stack Overflow thread: https://stackoverflow.com/questions/6637341/use-tab-to-indent-in-textarea

Additionally, an overwrite mode (where typing overwrites the character right of the caret instead of inserting a character at the caret position) would be handy.

So would be a way of automatically inserting spaces between the last non-space character of each line and the right edge of the textarea. But this is probably fraught with problems (when the user resizes the window, or when long lines that must wrap [which is a visual issue as things are, anyway] are present, etc.).

Addressing these three points would leave the diagram drafting board feature-complete, as far as I'm concerned. (Perhaps a tiny pop-up "syntax" reference linked from the sidebar wouldn't hurt, either.)

If anyone would like to tackle these issues, please get in touch!

@doersino doersino added enhancement New feature or request help wanted Extra attention is needed labels Oct 17, 2019
@doersino
Copy link
Owner Author

Come to think of it (a year and a half later), it'd be best to rely on a widely-used text editor library instead of rolling my own. Something like ASCIIFlow perhaps, which is <canvas>-based – not ideal, but perhaps a prudent choice (I think the background grid is an excellent idea, by the way). Not sure if I'll work towards closing this issue anytime soon, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant