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

Unify getText and getTextFormatted behaviour #134

Open
TadeasKucera opened this issue Sep 7, 2020 · 0 comments
Open

Unify getText and getTextFormatted behaviour #134

TadeasKucera opened this issue Sep 7, 2020 · 0 comments
Assignees

Comments

@TadeasKucera
Copy link
Contributor

As of now, the methods getText and getTextFormatted have different behaviour. The getTextFormatted method returns a text which is nicely formatted while getText returns the same content but formatted differently - not very easy to read.

Some users tend to use getText instead of the getTextFormatted method but expect to get the nicely formatted output. For this reason, we would like to make getText alias of getTextFormatted, so both methods would return the very same thing.

At the same time, we would like to introduce a new method getTextUnformatted, which would replace the current getText method. This method would not be mentioned in the documentation and would only help us with debugging.

After a few months, we would remove the getTextFormatted method and force all our users to use getText method only.

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