pyqode.core.api.constants has been removed

Use the new modules (settings/style) instead