Don't hard-code magic numbers in allColors

Note: It's parameterized (lazily) on the initial editor state. This
approach should be changed later if Editor is to be made strict.