-
Notifications
You must be signed in to change notification settings - Fork 106
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
SUGGESTION, not an Issue: Regex and application of newlines to script and common #307
Comments
String measuring is not something the editor currently does. The text editor is kinda dumb, in that whatever you give it is whatever it uses. Regex isn't the solution; a font-specific and variable-aware measurer is what is needed. Someone would have to document heuristics, like:
A decent GUI implementation would have multiple modes of linebreak updating:
|
Thank you for the valuable info/investigation/analysis. One precious, yet simple info is the following: The text that appears on the top of the heads of NPCs, the short message they give before you talk to them, accepts newlines. In PLA it had to be in our row, SV is more flexible. |
Text Editting Suggestion
S and V are really flexible and work with the custom newlines.
I suggest adding a regex and some logic to reapply newlines, when none are found!
I can help with the generation of the regex.
I already own one, let me know if you want me to put it here.
It is not optimized but it works without cutting the [VAR ..............] variables of the text
Thank you for reading,
You can lock it anytime,
I wont be insulted at all!
Thank you for this awesome app,
George!
The text was updated successfully, but these errors were encountered: