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

Collapse spaces #19

Open
GoogleCodeExporter opened this issue May 10, 2015 · 1 comment
Open

Collapse spaces #19

GoogleCodeExporter opened this issue May 10, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

It is visually very hard to distinguish one space from 2 spaces, especially
when they come at the end of a line and it's unclear what's screen
whitespace used to justify and what's actual spaces in the text. Given that
Amphetype demands exact 100% fidelity, this can lead to errors. More than
one of my texts has a lower WPM than it ought to because an invisible
double-space screwed me up.

The easiest way would be to just disallow more than one space in a row; 2
or more would be filtered down into 1.

Original issue reported on code.google.com by gwe...@gmail.com on 17 Apr 2010 at 9:14

@GoogleCodeExporter
Copy link
Author

I had this problem as well.  What I have done is add a user configurable 
"strip" regex.  Anything it matches, is replaced with a single space, so to 
replace all double spaces on import I set the strip regex option in the UI to 
"\s\s".  Its also pretty useful for taking out other symbols and such from a 
source text.

Find it here:

https://github.com/agbell/amphetype

Original comment by AGB...@gmail.com on 5 Feb 2014 at 2:30

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

1 participant