replace tabs with spaces
added 'pca' to viewMode