TextEditor getJustification()?

Why does TextEditor have setJustification() but no getJustification()?

Because nobody asked for TextEditor::getJustification() for 6 years :smile:

Joke aside, I think it’s not a common use case. In most cases, the justification is set when creating the TextEditor and not changed anymore, which means there is no need for querying it.

There is if you practice test-driven development.

1 Like