Wrong text file associations

The text files are associated to K3b and Ark instead to a text editor. Can I change all text files associations at once?
Thanks.

In Dolphin right click on one of the files you want to change behavior, select properties and then click the button for File Type Options, this is where you would assign preferences. You could alternatively go into System Settings, navigate to System and use File Associations from there.