TextEditor getJustification()?

#1

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

#2

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.

#3

There is if you practice test-driven development.

1 Like